will_jones01 Posted April 12, 2006 Share Posted April 12, 2006 I have a linked ".js" file in my site with 2 simple functions, a browser check and a tabbed <div> swapper. Can anyone suggest the best way to handle the "Blocked Content" message in IE?Cheers. Link to comment Share on other sites More sharing options...
scott100 Posted April 12, 2006 Share Posted April 12, 2006 yeah i hate that message it's so frustrating Basically there's not much we can do about it, you can eithershow the user nothing until allow script is clicked orshow them what you can and if they don't click allow script they wont see your div Link to comment Share on other sites More sharing options...
Webworldx Posted April 12, 2006 Share Posted April 12, 2006 Does the Blocked Content message default to <noscript> ? If so, attempt it through CSS in there? Link to comment Share on other sites More sharing options...
scott100 Posted April 12, 2006 Share Posted April 12, 2006 Does the Blocked Content message default to <noscript> ? If so, attempt it through CSS in there?<{POST_SNAPBACK}> Yeah it does default to noscript, you could try something like this:<head><script></script><noscript><!--[if IE]><div>You are using Internet Explorer</div><![endif]--></noscript></head><body><!--[if !IE]><!--><div>You are NOT using Internet Explorer</div><!--<![endif]--></body> Link to comment Share on other sites More sharing options...
Webworldx Posted April 12, 2006 Share Posted April 12, 2006 I'm wondering if Blocked Content actually triggers on @import or CSS behaviour: scripts. See:http://dean.edwards.name/my/misbehaviors/heh. But yes, what Scott says would be a good solution! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now