View Full Version : Flying Planes script

04-13-2007, 07:36 AM

Two questions please.

I've changed the flying planes script to fly my own image at a varied speed with just the one plane however the plane flys behind a slideshow that I have on the page.

Is there anyway that I can change it so the plane flys in the front?

The other question is that I've noticed that its compatiable with FireFox 1+ but it doesn't work on Version 2, is this likely to change in the future.



04-13-2007, 11:01 AM
The answer to your first question depends upon what type of slideshow you've got. If it is a DHTML (meaning, in this case, it uses HTML, javascript and style) slide show and is actually on the same page, then probably giving the planes a higher z-index will take care of that (from the script, addition red):

document.write('<img id="si'+i+'" src="'+rndPic+'" style="z-index:100000;position:absolute;top:0px;left:0px">');

If it is a Flash slide show, its wmode param and attribute need to be transparent. For other types of slide shows, there may be no solution.

I have no idea about problems with FF 2, if there really are any, or when they might be addressed if they do exist.