Hyperlink to anchor in another Tab

Hi,

For example I am using dhtmlxTabbar with 2 tabs, and attach a html page to each tab:

myTabbar.tabs("a").attachURL("a.html"); myTabbar.tabs("b").attachURL("b.html");

Now, how can I code/make a hyperlink in b.html so that :
i) the tabbar will move to tab “a” (from “b”)
ii) It will scroll to certain position (anchor) in page “a”
?

Many thanks,
Rael

Hi

here is an article docs.dhtmlx.com/cell__attach_url … hedcontent
you can try by change document.location.href, for example:
ifr.contentWindow.document.location.href = …href.replace(/(#.*)?$/,"#newlink");