CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   JavaScript frameworks (http://www.codingforums.com/forumdisplay.php?f=62)
-   -   MooTools Parallax effect does not work properly unless the window is refreshed. (http://www.codingforums.com/showthread.php?t=278662)

thelagreenski 10-22-2012 11:36 AM

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

sunfighter 10-22-2012 03:59 PM

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.

thelagreenski 10-22-2012 10:45 PM

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.


All times are GMT +1. The time now is 01:42 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.