Quote:
Originally Posted by kristinachilds
i'm very new to javascript so please be gentle 
|
This is jquery, it's a shorthand library for javascript.
If statement must be in parentheses.
Code:
if $("#target").css('background-position') == {x:-754} {
Code:
if ($("#target").css('background-position') == {x:-754}) {
Don't know if this will fix your problem, but it is on the list. You have a second if statement .