Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Oct 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Macintosh Parallax effect does not work properly unless the window is refreshed.

    Hey ya'll! I am inexperienced when it comes to javascript and am hoping to find a solution to an issue I am having with a parallax script.

    Here is a link to my test page: http://lagreenski.com/para
    I also provided a link so that you can download all of the files if necessary.

    As you can see, the script does not want to work when the window is first loaded or when the cache is cleared. However, if you load the page again, the effect works (at least in Firefox and Safari).

    Any ideas as to why this is happening? I really appreciate your help. Thanks!

    -Nick

  • #2
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    3,762
    Thanks
    23
    Thanked 548 Times in 547 Posts
    If it is supposed to work by mouse movement then it works the first time in ff. But I did notice you have no doctype and the <div id="wrapper"> has no closing tag.

  • #3
    New to the CF scene
    Join Date
    Oct 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the help!

    For some reason Chrome and Safari need to be reloaded but FF doesn't have a problem with the script.

    Thank you for pointing out the div tag that was open as well.


  •  

    Tags for this Thread

    Posting Permissions

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