[jQuery] Re: Need Help with changing css on an object

2009-03-08 Thread junk.mail...@gmail.com
Hi Chris My suggestion to your problem will involve a few changes to your structure, but I don't think they should be too bad for you to pull off. Since the texts in your nav don't change on rollover, I would make them a separate image all together. Then you could make just 2 different

[jQuery] Re: Need Help with changing css on an object

2009-03-08 Thread junk.mail...@gmail.com
Chris Charlie is absolutely right. You can simplify it by using the css :hover to do your rollover states. You still however need to do something on top of that to handle the current problem you're having with it keeping the state change when a user clicks on one of the nav elements. That's

[jQuery] get reference to element for cookie storage

2009-02-20 Thread junk.mail...@gmail.com
I'm sure there's a simple answer to this buried somewhere in the jquery library, or in the jquery object returned by the selector... but I''m just not seeing it.:( I need to store a reference in a cookie to an element that was clicked. I know how to detect which element was clicked, and how to

[jQuery] save pointer to element in a cookie

2009-02-17 Thread junk.mail...@gmail.com
I need to save state for a nav in a cookie. I've managed to learn enough jquery so far to be able to detect which link was clicked and traverse to the dom element that I want save a pointer to, I'm just not sure what value to store in the cookie so I can identify that element on the next page

[jQuery] Re: save pointer to element in a cookie

2009-02-17 Thread junk.mail...@gmail.com
(); } --Karl Karl Swedbergwww.englishrules.comwww.learningjquery.com On Feb 16, 2009, at 10:14 PM, junk.mail...@gmail.com wrote: I need to save state for a nav in a cookie. I've managed to learn enough jquery so far to be able to detect which link was clicked and traverse