Google Groups Home
Help | Sign in
Message from discussion slideup() issue with IE. HELP NEEDED
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Jong  
View profile
 More options May 10, 8:46 am
From: Jong <nes...@gmail.com>
Date: Sat, 10 May 2008 05:46:49 -0700 (PDT)
Local: Sat, May 10 2008 8:46 am
Subject: Re: slideup() issue with IE. HELP NEEDED
For some reason, Internet Explorer doesn't seem to like the attr()
function.

// switch all tabs with the class 'active' off
$(".active").attr({ class: "tab" });

// switch *this* tab to have the 'active' class
$(this).attr({class:"tab active"});

Changing it to

// switch all tabs with the class 'active' off
$(".active").toggleClass("highlight");

// switch *this* tab to have the 'active' class
$(this).addClass("active");

seems to be the trick :o)

At least it works in my Internet Explorer 7 now.

On 10 Maj, 07:28, churock <c.holmes.desig...@gmail.com> wrote:

> Hey every,

> My Java skills are virtually non-existent, but i have been able to make use
> of some code to create a slideup and down effect on my content (doing this
> as to not have multiple html pages, but also because it looks pretty slick).

> In both Safari and Firefox the website functions perfectly, however,
> Internet explorer does not even begin to create the effect rendering the
> site useless.

> I am really unsure of what to do at this point, so i thought i would ask the
> community for some help.

> The website is:

> http://www.gogreenecycles.com

> Any help you could provide, or direct me to, would be greatly appreciated.

> Thanks again,

> Chad.
> --
> View this message in context:http://www.nabble.com/slideup%28%29-issue-with-IE.-HELP-NEEDED-tp1711...
> Sent from the jQuery General Discussion mailing list archive at Nabble.com.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google