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
On Fri, Jan 29, 2010 at 4:19 PM, Erik 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
On Fri, Jan 29, 2010 at 4:19 PM, Erik 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 chance you cou
3 matches
Mail list logo