[jQuery] Tabs not working... NEED HELP!!!

2010-01-29 Thread Erik
I have a bug I can't fix My tabs are working, but I can't get the content to show correctly.. I wanted to use div tags instead of the li. $(document).ready(function() { //When page loads... $(.tab_content).hide(); //Hide all content $(#tabs

Re: [jQuery] Tabs not working... NEED HELP!!!

2010-01-29 Thread Nathan Klatt
On Fri, Jan 29, 2010 at 4:19 PM, Erik eriks...@mac.com wrote:                var activeTab = $(this).find(a).attr(href); //Find the rel attribute value to identify the active tab + content                $(activeTab).fadeIn(); //Fade in the active content What do your hrefs look like? Any

Re: [jQuery] Tabs not working... NEED HELP!!!

2010-01-29 Thread Nathan Klatt
On Fri, Jan 29, 2010 at 4:19 PM, Erik eriks...@mac.com wrote:                var activeTab = $(this).find(a).attr(href); //Find the rel Delete the find(a) bit and you're good. http://jsbin.com/ufagi3/edit Nathan

RE: [jQuery] Tabs not working... NEED HELP!!!

2010-01-29 Thread Andreas Möller
As far as I can tell, you are querying for the href attribute of a link when it's clicked, and you are storing it in a variable named activeTab, and then you are trying to fade this in. Why do you think it should work to fade in a string? At most, you can fade in a DOM element. So, you need to