I have a full flash site which uses swfobject to embed it 100% height and width. I’m using swffit to force a browser scroll bar for pages with a large amount of content. This is all fine and works perfectly. I also have the content in HTML format, as alternative content and this also works apart from in order to get the flash swfobject to work I need to add the overflow = hidden in the CSS, like:
html{
height: 100%;
overflow:hidden;
}
#content{
height: 100%;
}
This then stops the scroll bar showing when the alternative content is shown.
Does anyone know how to fix this?
I don’t know SWFFit but why do you need the
overflow: hiddenin the first place? Won’t it work without?The only workaround that comes to mind is to define two classes, one with, one without
overflow: hidden, and change the class of thehtmlelement programmatically from within Flash by triggering some Javascript.