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.
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
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
2006 Arrow Consulting & Design, Inc Terms Of Use Privacy Statement