[jQuery] Basic problem - using .click and .hover together on elements

2008-10-11 Thread jez_p
I'm sure this has a very simple solution, but I am just starting out and can't work it out, so I would appreciate it if anyone could give me some help. I have a basic text menu, which when the menu items are clicked the page content changes. What I want is for the menu item text to change color

[jQuery] Re: Basic problem - using .click and .hover together on elements

2008-10-11 Thread jez_p
Thank you very much for your help Eric - and for replying so quickly. All I had left to do was to give the default menu item the class of clicked and it works just how I want it. Thanks again. On Oct 11, 8:24 pm, Eric [EMAIL PROTECTED] wrote: Great question, jez_p! You've described a common

[jQuery] Targeting an element with multiple classes

2008-07-02 Thread jez_p
How do I target a specific class when elements may belong to multiple classes? For example: p class=big redblah blah blah/p p class=big greenblah blah blah/p p class=small greenblah blah blah/p How would I select the elements with the class of green? I know that 'p[class=big green]'

[jQuery] Re: Targeting elements with more than one class

2008-07-02 Thread jez_p
Thanks Mike - that was the first thing I tried. I have since found a stupid typo, and it now works of course. *slaps forehead repeatedly*. On Jul 2, 1:51 am, Mike Alsup [EMAIL PROTECTED] wrote: Please excuse my noobiness, I just started playing with jQuery today and I cannot seem to find

[jQuery] [validate] jquery.delegate.js is missing?

2008-07-02 Thread jez_p
I should just explain that I'm very new to jQuery. That out of the way, I have downloaded the validation plug-in which states that jquery.delegate.js is required. It is not included within the package, so where can I obtain it from, and once I have it how should I include it within my project?

[jQuery] Re: [validate] jquery.delegate.js is missing?

2008-07-02 Thread jez_p
jquery.js, or do i have to do anything else with it? Thanks, Jez On Jul 2, 3:57 pm, John Resig [EMAIL PROTECTED] wrote: Popping jquery.delegate.js into Google provides this:http://dev.jquery.com/export/5759/trunk/plugins/delegate/jquery.deleg... --John On Wed, Jul 2, 2008 at 9:17 AM, jez_p [EMAIL

[jQuery] Re: [validate] jquery.delegate.js is missing?

2008-07-02 Thread jez_p
that? The current plugin page doesn't mention the dependency anywhere (http://plugins.jquery.com/project/validate) Jörn On Wed, Jul 2, 2008 at 5:22 PM, jez_p [EMAIL PROTECTED] wrote: Thank you for your reply John. I thought the author might appreciate the heads up that is not included

[jQuery] Targeting elements with more than one class

2008-07-01 Thread jez_p
Please excuse my noobiness, I just started playing with jQuery today and I cannot seem to find the answer to this: If you have elements with multiple classes, how do target just one class? For example: p class=big blueblah blah blah/p p class=big greenblah blah blah/p p class=small greenblah

[jQuery] Targeting elements with more than one class

2008-07-01 Thread jez_p
Please excuse my noobiness, I just started playing with jQuery today and I cannot seem to find the answer to this: If you have elements with multiple classes, how do target just one class? For example: p class=big blueblah blah blah/p p class=big greenblah blah blah/p p class=small greenblah