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.comand I'm 
> onhttp://gpbmike.com/steps&param=value
> the variables will be as follows:
>
> hrefBase =http://gpbmike.com/
> location.toString().split('#')[0] =http://gpbmike.com/steps&param=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
-~----------~----~----~----~------~----~------~--~---

Reply via email to