ArrowNuke DotNetNuke Custom Modules Skins and training Home | Site Map | Google Site Map | Login | Register
Arrow Nuke Dot net Nuke Custom DNN Modules DotNetNuke Skinning and training
ArrowNuke DoNtetNuke Custom DNN Modules DotNetNuke Skinning and training
Please Note: Only registered users can post to this forum. To register, use the link a the top of this page.
 
  ArrowNuke DotNetNuke Forum  DotNetNuke Supp...  General Support   Click to Activate and Use This Control - Active Content EASY Fix
Previous Previous
 
Next Next
New Post 11/30/2006 2:15 PM
  Jeff Giesbrecht
1 posts
No Ranking


Click to Activate and Use This Control - Active Content EASY Fix  

  Ryan,

In your blog you have the following text:

The problem with their solutions is that if the user has JavaScript disabled, nothing is going to print to the page. Plus it takes to long. They have you create a javascript function that prints the object tag to the page. If we can fool IE into thinking we printed it to the page with JavaScript, though, we can avoid the prompt. Create an external .js file and name it ObjectFool.js and include the following text:

theObjects = document.getElementsByTagName('object');
for (var i = 0; i < theObjects.length; i++) {
 theObjects[i].outerHTML = theObjects[i].outerHTML
 }

The other good thing here is that if the user does not have JS enabled, IE will ask them to activate the control and that will be that - you don't have to worry about content not being delivered!

Next, for each page that has Flash on it, put the following tag just after the last Flash declaration on the page: .*

* If you are implementing this solution in a DotNetNuke site, please make sure to include the SkinPath tag to tell the framework where to find it.

However it appears that you don't add the code that is to be placed on the page. (I highlighted the section that appears to have the missing code.) 

Would you mind adding that code please?

Thanks,
Jeff

 
New Post 12/12/2006 1:36 PM
  Ryan Morgan
1 posts
No Ranking


Re: Click to Activate and Use This Control - Active Content EASY Fix  

Sorry about that Jeff - I updated the blog entry to show the rest of that:

http://www.arrownuke.com/Blog/tabid/295/EntryID/17/Default.aspx

 
Previous Previous
 
Next Next
  ArrowNuke DotNetNuke Forum  DotNetNuke Supp...  General Support   Click to Activate and Use This Control - Active Content EASY Fix

2006 Arrow Consulting & Design, Inc   Terms Of Use  Privacy Statement