PDA

View Full Version : pop-up image script popping up underneath flash



maxmumford
01-29-2007, 08:22 AM
1) Script Title: image thumbnail viewer

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm

3) Describe problem: when the image pops up, it pops up below my flash embed. Here is an example:

http://www.Grafax.co.uk/newtest/gallery

When on it, click on the chrome forna thumbnail - looks like the image below when scrolled up to the top of the page:

http://www.grafax.co.uk/newtest/gallery/images/thumbnails/chrome%20forna%20thumb.jpg

i tried a simple div style with a z-index of -1 for the flash embed, but it didnt work. Can anybody help?

Thanks!

Max :D

jscheuer1
01-29-2007, 11:08 AM
Try:


<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','250','height','111','src','http://www.grafax.co.uk/newtest/flash/moto-scroll','quality','high','wmode','transparent','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','http://www.grafax.co.uk/newtest/flash/moto-scroll' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase= "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="250" height="111">
<param name="movie" value="http://www.grafax.co.uk/newtest/flash/moto-scroll.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="http://www.grafax.co.uk/newtest/flash/moto-scroll.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="250" height="111"></embed>
</object></noscript>

Note: I've added wmode transparent (highlighted red) in three places, make sure to use all three additions, scroll the above code block to see them all.

maxmumford
01-29-2007, 07:49 PM
Thanks, worked perfectly