Hmmm... Didn't know that tabs could do this. I'll check into it Glen, and thanks for the compliment. andy
_____ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Glen Lipka Sent: Friday, September 07, 2007 9:43 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: My freelance site, a question about redundant code... Its an interesting effect. I like it. A little weird at first, like "Where is the page?" but I got it pretty quickly. Have you tried to use a custom implementation of Tabs to do this? The benefit is that the "back button" would continue to work. Plus it already has the animation to do what you want. Some modification would be needed, I think. It might be nice to use some easing on the animation, actually. Klaus, what do you think? Glen On 9/7/07, Andy Matthews <[EMAIL PROTECTED]> wrote: I just relaunched my freelance website: http://www.commadelimited.com/ There's a code block in there that I'm not happy with. It works, but it's redundant and ugly. I'm wondering if you guys can look at it and let me know where I could improve it. The code can be found in http://www.commadelimited.com/includes/site.js . It's the block labeled // navigation trigger $('#navbar a').each(function() { Thanks in advance. I'm hoping I can learn more about higher level jQuery stuff by your feedback. ____________________________________ Andy Matthews Senior ColdFusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com <http://www.dealerskins.com/>
<<att18c.bmp>>