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
From:
churock <c.holmes.desig... @gmail.com>
Date: Fri, 9 May 2008 22:28:46 -0700 (PDT)
Local: Sat, May 10 2008 1:28 am
Subject: [jQuery] slideup() issue with IE. HELP NEEDED
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.
You must
Sign in before you can post messages.
You do not have the permission required to post.
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.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Richard D. Worth" <rdwo... @gmail.com>
Date: Sat, 10 May 2008 09:04:59 -0400
Local: Sat, May 10 2008 9:04 am
Subject: Re: [jQuery] Re: slideup() issue with IE. HELP NEEDED
On Sat, May 10, 2008 at 8:46 AM, Jong <nes
... @gmail.com> wrote:
> 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" });
The name of the attribute is 'className', not 'class'. So this works
$(".active").attr({ className: "tab" });
Or, as you mentioned, toggleClass/addClass/removeClass can be used.
- Richard
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Jong <nes... @gmail.com>
Date: Sat, 10 May 2008 07:08:59 -0700 (PDT)
Local: Sat, May 10 2008 10:08 am
Subject: Re: slideup() issue with IE. HELP NEEDED
Ahh, thanks for pointing that out :o)
On 10 Maj, 15:04, "Richard D. Worth" <rdwo... @gmail.com> wrote:
> On Sat, May 10, 2008 at 8:46 AM, Jong <nes
... @gmail.com> wrote:
> > 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" });
> The name of the attribute is 'className', not 'class'. So this works
> $(".active").attr({ className: "tab" });
> Or, as you mentioned, toggleClass/addClass/removeClass can be used.
> - Richard
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
churock <C.Holmes.desig... @gmail.com>
Date: Sun, 11 May 2008 16:46:52 -0700 (PDT)
Local: Sun, May 11 2008 7:46 pm
Subject: Re: slideup() issue with IE. HELP NEEDED
Hey, the site is working now.
My sincerest thanks to you all for the help!
-Chad
On May 10, 10:08 am, Jong <nes... @gmail.com> wrote:
> Ahh, thanks for pointing that out :o)
> On 10 Maj, 15:04, "Richard D. Worth" <rdwo... @gmail.com> wrote:
> > On Sat, May 10, 2008 at 8:46 AM, Jong <nes... @gmail.com> wrote:
> > > 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" });
> > The name of the attribute is 'className', not 'class'. So this works
> > $(".active").attr({ className: "tab" });
> > Or, as you mentioned, toggleClass/addClass/removeClass can be used.
> > - Richard
You must
Sign in before you can post messages.
You do not have the permission required to post.