[jQuery] IE Problem with (function($)

2009-01-13 Thread Aryan
I have a problem with Internet Explorer ( all versions ) . The following is my JQuery Code , which executes perfectly in mozilla and chrome.. But it doesn't work in Internet Explorer. It says : Syntax error ( line 1 )... Can anyone help me out here.. Thanks for your time in reading this. (functi

[jQuery] Navigation with active state

2008-12-18 Thread aryan
I have a navigation like this nav1 nav2 nav3 nav4 nav5 nav6 I want the image get replaced with its on state version (img2-off.gif or img2-off.gif) if you are on it's page or it's child page. How to do this using jquery. Thanks!