[jQuery] Re: My first tutorial: jQuery Rollovers

2007-09-28 Thread george.gsgd
Surely this should be done with CSS. Javascript is great, but making your navigation rely on it is not. Also, it would be better semantics to mark up your menu as a list.

[jQuery] Re: My first tutorial: jQuery Rollovers

2007-09-28 Thread AJ
On Sep 28, 8:27 am, george.gsgd [EMAIL PROTECTED] wrote: Surely this should be done with CSS. Javascript is great, but making your navigation rely on it is not. Also, it would be better semantics to mark up your menu as a list. I posted this in response to a similar concern posted to the

[jQuery] Re: My first tutorial: jQuery Rollovers

2007-09-28 Thread AJ
There's never too many beginner tutorials...everyone may not become an expert, but everyone has to be a beginner! Exactly. It sounds kinda hokey, but I've gotten so much good out of other tutorials, I feel like anywhere I can contribute, I need to put it out there. Thanks for the

[jQuery] Re: My first tutorial: jQuery Rollovers

2007-09-28 Thread AJ
On Sep 28, 1:33 am, Glen Lipka [EMAIL PROTECTED] wrote: Started some demos, but got sleepy. :( I am halfway through a imageSprite menu. But for now, this is what I gots.http://commadot.com/jquery/hover.php That's an awesome technique. I'll definitely tuck it away for reference :) I think my

[jQuery] Re: My first tutorial: jQuery Rollovers

2007-09-28 Thread Glen Lipka
As always, the golden rule is know thy audience. Using a tool like Google Analytics allows you to see browser capabilities, screen resolutions, javascript enabled/disabled. All of these things help you decide what is best for your site. With that said, search engines (SEO) do favor html links

[jQuery] Re: My first tutorial: jQuery Rollovers

2007-09-28 Thread Rick Faircloth
Nicely done, AJ... There are never too many beginner tutorials...not everyone becomes an expert, but everyone has to be a beginner! :o) Rick -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of AJ Sent: Thursday, September 27, 2007 11:13 PM To:

[jQuery] Re: My first tutorial: jQuery Rollovers

2007-09-28 Thread Guy Fraser
AJ wrote: I've decided to try my hand at some basic tutorials. The first is for basic reusable image rollovers for navbars, etc. You can find it here: http://www.atlantajones.com/2007/09/27/easy-reusable-image-rollovers-with-jquery/ Any comments, suggestions or tips for making it better

[jQuery] Re: My first tutorial: jQuery Rollovers

2007-09-28 Thread Rick Faircloth
Nicely done, AJ. There's never too many beginner tutorials...everyone may not become an expert, but everyone has to be a beginner! :o) Rick -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of AJ Sent: Thursday, September 27, 2007 11:13 PM To:

[jQuery] Re: My first tutorial: jQuery Rollovers

2007-09-28 Thread AJ
I think the tutorial itself, however, was clear and easy to follow. Well written! :) Thanks! I definitely gained an appreciation (even more so) for other tutorial writers. Just this little tip took forever to put together. But still fun, and I hope to get better at it as I do more. AJ

[jQuery] Re: My first tutorial: jQuery Rollovers

2007-09-27 Thread Glen Lipka
Consider possibly using hover: $(p).hover(function(){ $(this).addClass(hover); },function(){ $(this).removeClass(hover); }); This could be implemented in a number of ways. I find the foreground image-sprite to be the easiest to maintain and not prone to flicker. It also allows you to use

[jQuery] Re: My first tutorial: jQuery Rollovers

2007-09-27 Thread Glen Lipka
Started some demos, but got sleepy. :( I am halfway through a imageSprite menu. But for now, this is what I gots. http://commadot.com/jquery/hover.php Glen On 9/27/07, Glen Lipka [EMAIL PROTECTED] wrote: Consider possibly using hover: $(p).hover(function(){ $(this).addClass(hover);

[jQuery] Re: My first tutorial: jQuery Rollovers

2007-09-27 Thread Marshall Salinger
Looking good Glen. I like the shadow text technique that you use. I first noticed it on your Intuit work that you did a while back. It's a neat trick. -Marshall Glen Lipka wrote: Started some demos, but got sleepy. :( I am halfway through a imageSprite menu. But for now, this is what I