Re: [jQuery] Need help using JQuery selectors

2009-11-03 Thread wesley.bunton
Sorry if I wasn't clear enough. Perhaps this will help, this is my full function that is not working. I don't think that I have any problems with syntax, because the basic version of this worked just fine, it would hide/reveal each div okay, but I want it to make it check and hide an visible div

Re: [jQuery] Need help using JQuery selectors

2009-11-03 Thread captaincarp
Hi Wesley, 1. you are only closing one of your IF statements (with a '}') 2. worth making sure you using display:none consistently and not visibility:hidden anywhere might help dunno?! wesley.bunton wrote: > > > if($(caller).css("display") == "none"){ > > > if($("

Re: [jQuery] Need help using JQuery selectors

2009-11-02 Thread Dhruva Sagar
Bracket's don't match in your javascript code. The *if($(caller).css("display") == "none") { *<-- bracket is not closed. Thanks & Regards, Dhruva Sagar. Samuel Goldwyn - "I'm willing to admit that I may not always be right, but I a

[jQuery] Need help using JQuery selectors

2009-11-02 Thread wesley.bunton
I am trying to use this jquery slide function that i found online. It's a very basic slide plugin i suppose, which selects a div using the div's id tag. I wanted to make my menu hide/reveal multiple divs and therefore I modified this function that I keep in my .js file to make things work theore