Hi -
I have a question about the following code:
<script>
document.write( '<span id="outter" style="position :relative;">');
document.write( "<object
classid='clsid: D27CDB6E-AE6D-11cf-96B8-444553540000'
codebase='http://active.macromed ia.com/flash2/cabs/swflash.cab#ver sion=5,0,0,0'
id=fscommand width=200 height=60><para m name=movie
value='x.swf'>< param name=quality value='high'></object>");
document.write( '<div id="inner"
style="position :absolute;left:-1px;top:60px;ov erflow:hidden;w idth=200px;heig ht=240">');
function SHOW() {
document.all.in ner.style.visib ility = "visible";
document.all.in ner.innerHTML = '<object
classid="clsid: D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromed ia.com/flash2/cabs/swflash.cab#ver sion=4,0,0,0"
id=fscommand width="200" height="240"><p aram name=movie
value="y.swf?"> <param name=wmode value="traspare nt"><PARAM
NAME=bgcolor VALUE="#FFFFFF" ><param name=quality
value="high"></object>'
}
function HIDE() {
document.all.in ner.style.visib ility = "hidden";
}
document.write( '</div>');
document.write( '</span>');
</script>
In the above code x.swf would load. When you click on x.swf, y.swf
would appear below it (i.e. like a dropdown). I want to make a
change, so that the dropdown swf does not appear all at once. Rather
it starts to appear from the top until, after a few seconds, the
entire dropdown is visible. I think this can be down by dynamically
changing and increasing the div styles height value. For example, you
click on x.swf and the style height goes from 1 to 240. When you
close the div, the height would go from 240 to 0. Hopefully, this
makes sense to someone out there.
Thanks for your help in advance.
-E
I have a question about the following code:
<script>
document.write( '<span id="outter" style="position :relative;">');
document.write( "<object
classid='clsid: D27CDB6E-AE6D-11cf-96B8-444553540000'
codebase='http://active.macromed ia.com/flash2/cabs/swflash.cab#ver sion=5,0,0,0'
id=fscommand width=200 height=60><para m name=movie
value='x.swf'>< param name=quality value='high'></object>");
document.write( '<div id="inner"
style="position :absolute;left:-1px;top:60px;ov erflow:hidden;w idth=200px;heig ht=240">');
function SHOW() {
document.all.in ner.style.visib ility = "visible";
document.all.in ner.innerHTML = '<object
classid="clsid: D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromed ia.com/flash2/cabs/swflash.cab#ver sion=4,0,0,0"
id=fscommand width="200" height="240"><p aram name=movie
value="y.swf?"> <param name=wmode value="traspare nt"><PARAM
NAME=bgcolor VALUE="#FFFFFF" ><param name=quality
value="high"></object>'
}
function HIDE() {
document.all.in ner.style.visib ility = "hidden";
}
document.write( '</div>');
document.write( '</span>');
</script>
In the above code x.swf would load. When you click on x.swf, y.swf
would appear below it (i.e. like a dropdown). I want to make a
change, so that the dropdown swf does not appear all at once. Rather
it starts to appear from the top until, after a few seconds, the
entire dropdown is visible. I think this can be down by dynamically
changing and increasing the div styles height value. For example, you
click on x.swf and the style height goes from 1 to 240. When you
close the div, the height would go from 240 to 0. Hopefully, this
makes sense to someone out there.
Thanks for your help in advance.
-E
Comment