Results 1 to 3 of 3

Thread: Scripts

  1. #1
    Join Date
    Feb 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Scripts

    I've placed this script on my web page:

    http://amydawnelle.com/temp/index2.htm

    and it works fabulous except for the fact that when I view it in Mozilla Firefox the scroll bar dissapears and reappears making the screen jump from right to left.

    When I view the same code here in Dynamic Drive:

    http://www.dynamicdrive.com/dynamicindex3/leaves.htm

    again using Firefox, it doesn't happen. Just on my page. Any help would be awesome as I think my client is going to really like the script, it'll be a shame if we can't use it.

    Thanks!
    Amelia

    PS does this work on MAC? I didnt see that info anywhere...

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Happens for me on the demo page too. Just stop the leaves going off the bottom of the screen:
    Code:
    if (Ypos[i] > WinHeight - 60) {
    Ypos[i]=-60;
    ... where 60 is the height of the image, in pixels.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Feb 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks! That worked perfectly...

    A

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
  •