Javascript not working
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: Javascript not working
You may wish to post up whatever error messages you get.  Install Firebug or whatever to display Javascript errors if necessary.

I cbf looking through all the code.  This part looks totally pointless to me:

PHP Code:
		while(!img[i].complete )
		{
			break;
		}

You may need to bind to the image's onload function, though I'm unsure whether the window.load event is triggered before or after all images are loaded.

Though this seriously doesn't look like a job Javascript should be doing.


My Blog
07-10-2012 07:30 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Javascript not working - Sama34 - 07-09-2012, 09:26 AM
RE: Javascript not working - ZiNgA BuRgA - 07-10-2012 07:30 PM
RE: Javascript not working - Sama34 - 07-11-2012, 08:46 AM
RE: Javascript not working - ZiNgA BuRgA - 07-11-2012, 10:16 PM
RE: Javascript not working - Sama34 - 07-15-2012, 01:42 AM
RE: Javascript not working - ZiNgA BuRgA - 07-15-2012, 09:36 AM
RE: Javascript not working - Sama34 - 07-15-2012, 11:16 AM
RE: Javascript not working - ZiNgA BuRgA - 07-15-2012, 04:36 PM

 Standard Tools
Forum Jump: