Results 1 to 2 of 2

Thread: Flying Planes script

  1. #1
    Join Date
    Apr 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Flying Planes script

    http://www.dynamicdrive.com/dynamicindex4/plane.htm

    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.

    Thanks

    Jac

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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):

    Code:
    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •