e script:
>>
>> > $(document).ready(function() {
>> > $('li.a').hover(function() {
>> > $(this).addClass('move');
>> > });
>> > $('li.a').mouseLeave(function() {
>> > $(this).removeClass('move');
>>
>> > )};
>> > )};
>>
>> > Thanks for your time,
>>
>> > Calvin Stephens
Hi Richard,
Thanks for taking time out of your schedule to help me learn how to
write simplified code!
Cheers,
Calvin
On Thu, Apr 16, 2009 at 9:47 PM, Richard D. Worth wrote:
> You only need one document.ready, and there's a shorthand:
>
> $(function() {
>
> $("li.one").click(function() {
I think compatability is important Karl. Also, thanks for the heads up
on the reference guide.
Cheers,
Calvin
On Wed, Apr 15, 2009 at 2:32 PM, Karl Swedberg wrote:
> As one of the authors of jQuery Reference Guide, I'd have to recommend that
> you not buy it, especially if you already have L
_
> Karl Swedberg
> www.englishrules.com
> www.learningjquery.com
>
>
>
> On Apr 11, 2009, at 7:49 PM, Calvin Stephens wrote:
>
> Hi Karl,
>
> I was actually trying to build on a tutorial from your book- "Learning
> jQuery 1.3". The example was f
Hi Karl,
I was actually trying to build on a tutorial from your book- "Learning
jQuery 1.3". The example was from Chapter 6 (the appending HTML/ AHAH
technique). Your solution will more than likeley work... I was just
trying to figure out how to make some reuseable code for all of the
links.
You
5 matches
Mail list logo