PDA

View Full Version : Flash Javascript Conflict Issues


chadweston
07-23-2004, 01:16 AM
I have altered a page to insert non-flash content in case the viewer does not have flash 7.0, however this has affected some rollover javascript functionality already coded within the page.
Please take a look at the following examples....

http://www.theowlhouseuk.com/demo/index2.htm (b4 non-flash content display added, mouseover of quicklinks shows mouseover tooltips correctly)

http://www.theowlhouseuk.com/demo/index.htm (after redirect added tooltips become hidden behind flash content)

I believe that this must be a javascript issue as the 'display non-flash' is javascript. Javascript is not my strong point however I believe that a conflict is occuring due to the flash know also being displayed using javascript....

( document.write(' <EMBED src="flash/slideshow_preload.swf" menu=false quality=high bgcolor=#FFFFFF ');)

Is my thinking correct, and is it possible to resolve this issue and keep the non-flash javascript.

Thank You. As always any help is greatly appreciated :)

chadweston
07-26-2004, 04:08 AM
please help me somebody !!!

Cota
07-26-2004, 04:48 AM
the document.write is placing the flash in a "layer" above your tool tips. I haven't messed with layers in JavaScript, so I dont have a solution as of yet. But focus on the layering.

Cota
07-26-2004, 04:55 AM
Just another thought, have you tried controlling those "layers" with the z-index?

Ruben
07-26-2004, 04:13 PM
Would making the swf transparent help??

- Ruben