You could try something like this: this.href.split(".com")[1] That'll return everything after .com in the link href.
Charles Stuart-3 wrote: > >>From what I can tell, it wasn't working because of this bug: > http://dev.jquery.com/ticket/745 > > When getting href on IE it returns the entire URL, instead of the > attributes value. > > I've put in a hack to fix, an attribute of toggle in the markup, and > the grab that value instead. > > Is there a better workaround? > > > best, > Charles > > > > On 3/12/07, Charles Stuart <[EMAIL PROTECTED]> wrote: >> Oops. Thanks. I'll fix that... >> >> Charles >> >> >> On 3/12/07, Bruce <[EMAIL PROTECTED]> wrote: >> > Charles, >> > it works great in firefox, but in ie6 on a pc I get a blank page when >> > clicking on the other two links... >> > >> > Bruce P >> > bkdesign >> > >> > ----- Original Message ----- >> > From: "Charles Stuart" <[EMAIL PROTECTED]> >> > To: <discuss@jquery.com> >> > Sent: Monday, March 12, 2007 3:36 PM >> > Subject: [jQuery] Hide All Except One (tabs) >> > >> > >> > > Hello, >> > > >> > > An implementation of tabs using jquery. >> > > * http://enure.net/dev/hide-all-except-one/ (demo) >> > > * http://enure.net/dev/hide-all-except-one/hideAllExcept.js (js) >> > > >> > > I think it's pretty simple. Just 15 lines... Any feedback is >> appreciated. >> > > >> > > best, >> > > Charles >> > > >> > > _______________________________________________ >> > > jQuery mailing list >> > > discuss@jquery.com >> > > http://jquery.com/discuss/ >> > > >> > > >> > >> > >> > >> > _______________________________________________ >> > jQuery mailing list >> > discuss@jquery.com >> > http://jquery.com/discuss/ >> > >> > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/Hide-All-Except-One-%28tabs%29-tf3391773.html#a9446177 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/