You're right. It looks like there's something in my code that's messing with my links.
On any given page: http://url/directory/page.php With an anchor: <a href="#link">link</a> If I hover over the link I see that it's pointing to http://url/#link instead of the expected http://url/directory/page.php#link. It's been like that for as long as I can remember. I thought it was a jQuery thing, but I'll start digging and see if I can find out what's cause is. Thanks. On Apr 29, 11:32 pm, Klaus Hartl <[email protected]> wrote: > How can hrefBase be "http://gpbmike.com/" if it gets constructed from > > href.split('#')[0] > > Could you please post a test case? > > --Klaus > > On 30 Apr., 02:04, gpbmike <[email protected]> wrote: > > > jQuery UI 1.7.1 / IE7 > > > 1) ASYNC in a chunk of HTML with a list of anchors with #'s. (ex: > > <li><a href="#step_1">Step 1</a></li>) > > 2) apply tabs > > 3) :( > > > It looks like there's a chunk of code in ui.tabs.js that is > > specifically for this problem (lines 85-95) but it doesn't quite work. > > If my domain ishttp://gpbmike.comandI'm > > onhttp://gpbmike.com/steps¶m=value > > the variables will be as follows: > > > hrefBase =http://gpbmike.com/ > > location.toString().split('#')[0] =http://gpbmike.com/steps¶m=value > > baseEl.href =http://gpbmike.com > > > So the if statement fails and the tabs aren't made. > > > For my stuff I added a / to the baseEl.href and it worked, but I'm not > > sure if that's what should be done. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
