View Full Version : style.overflow= "visible" causing refresh

05-31-2008, 09:53 PM
I am using style.overflow= "visible" to make an expanding flash movie on a web page. I have a div that contains the movie. I use style.overflow= "hidden" as default and then change it to style.overflow= "visible" when it is clicked. The challenge is that when the state changes the flash movie inside the div is refreshed and starts over - but only in Firefox. It works fine in IE. When you click on it a second time it works properly.

Any ideas on why the div and flash animation is refreshing when that value is changed and how can I avoid this?

05-31-2008, 11:56 PM
no offense this is for actionscript. You are asking about CSS bra... maybe you could start a CSS forum like actionscript.org is to actionscript :D

06-01-2008, 02:19 AM
You propbaly use a javascript function to do that, just add return false; at the bottom of the function and you should be fine.

06-02-2008, 11:08 PM
I tried that. When I have return false; at the end it opens a new empty browser tab - not good.

Any other ideas?