[jQuery] Re: couple of Cycle questions

2009-09-01 Thread cherry.aus...@gmail.com
Mike, thank you for taking the trouble to reply :) I should have thought of the extra divs ... and am doing it now. Firefox is giving me the "eq" error under the CSS tab (your demo doesn't get it) but, as it doesn't seem to do anything, I won't worry about it! Cheers, Cherry. On Sep 1, 7:46 pm,

[jQuery] Re: Select Span with Span Parent

2009-08-31 Thread cherry.aus...@gmail.com
$( 'span span' ) :) On Sep 1, 3:14 am, a1anm wrote: > Hi, > > How would I select all spans which have a span as a parent? > > Thanks!

[jQuery] couple of Cycle questions

2009-08-31 Thread cherry.aus...@gmail.com
I'm using Mike Alsup's Cycle plugin (as usual!) and have a couple of annoying glitches you might be able to advise on? Firstly, the images are different sizes and I'd really like to be able to centre them in the container div. Can't do it with CSS, so I'm guessing Cycle calculates positions from

[jQuery] Re: Problem getting selected value from drop-down

2009-05-17 Thread cherry.aus...@gmail.com
Can I just thank you guys!! I've wasted hours trying to fiddle around with selectedIndex and stuff; the best I achieved was to get the html object returned :( It wasn't clear from the docs. Confusingly, I did get the option text with $( 'select#myselect option:selected' ).text(). But I couldn't g

[jQuery] Re: how to hide content while page loads

2009-01-24 Thread cherry.aus...@gmail.com
It didn't when I went there just now. On Jan 24, 6:34 pm, Michael wrote: > Hi, > > Jquery newbie. I have a nifty accordion working. Only problem is while > the page is loading, or refreshing, the first of the accordion > sections flashes open. Not a big deal, but looks tacky, Any fix? > > thanks

[jQuery] Re: how to get one class from a multi-class element?

2009-01-24 Thread cherry.aus...@gmail.com
Thanks for your perception, donb ;) And thank you, Ram, that's exactly what I needed! Cherry On Jan 24, 11:15 pm, donb wrote: > $("p").hasClass("tiny").each( >   function(i) { >   ...do something .. >   } > ); > > On Jan 24, 4:13 pm, "cherr

[jQuery] Re: jquery fadeto

2009-01-24 Thread cherry.aus...@gmail.com
Hi, Tom. I'm not great at this myself, but you need to chain your two functions. For mouseovers, you can use the built-in hover function. Try something like, $("#parent1").find("a:first + ul").hover(function() { $("#firstImage").fadeTo("slow",.99); }, function() { $("#firstImage

[jQuery] how to get one class from a multi-class element?

2009-01-24 Thread cherry.aus...@gmail.com
I'm getting all knotted up on this! I'm looking to use one class, from an element with several, as a selector. Example: target = $( 'div' ).attr( 'class' ); // get 'tiny' from returned value $( "'p." + target + "'" ).doSomething(); How to I get jQuery to pick out just the class I need?

[jQuery] Re: Show/Hide Toggle Table

2009-01-10 Thread cherry.aus...@gmail.com
cool :) On Jan 10, 10:55 pm, mark wrote: > You were spot on. Thanks for your help! > > On Jan 11, 8:17 am, "cherry.aus...@gmail.com" > > wrote: > > Hi. I confess I didn't read your code very thoroughly, but it looks > > like it might be as sim

[jQuery] Re: Show/Hide Toggle Table

2009-01-10 Thread cherry.aus...@gmail.com
Hi. I confess I didn't read your code very thoroughly, but it looks like it might be as simple as repeated IDs. You can only have one instance of each ID per page. Try changing it to a class (or adding an iterator to each ID). Sorry if this isn't the right answer? Cherry. On Jan 10, 1:06 pm, mar

[jQuery] ajax load() error works intermittently [Interakt form]

2009-01-10 Thread cherry.aus...@gmail.com
Hi. I'm embarrassed about this, but determined to soldier on for a while! I'm using Interakt's old package, MX Kollection, for my contact form. I've pared it down, but don't fully understand the code it uses. I have experienced conflicts between the packaged javascript and jQuery on other sites,