Javascript not working
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #4
RE: Javascript not working
You still didn't post an error message.
Never mind, the issue is this:

Javascript Code
				var position = 'img[i]'
				if(imageresizer_gd_warningposition == 1)
				{
					position = 'img[i].nextSibling';
				}

position is meant to be an object, not a string, so remove the quotes around them.

Oh, and the code is absolute shit, from a performance perspective.  You're probably better off not using it at all.


My Blog
07-11-2012 10:16 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: