Geraint Edwards wrote:
> Having done some investigation I cannot find a way to create a new tab
> from javascript within a web page - i.e. the tab equivalent of window.open.
>
> Looking at the js code in the chrome I belive I require access to the
> chrome "content" element in order to add the tab. Have I missed something?
>
> If not then:
> 1. making this feature available via the window object might be neat
> functionality.
> 2. adding a <A> element target analagous to _blank to open in a new tab
> would also be cool.
>
> Geraint
I think this is a WONTFIX.
There are preferences to make a window.open open a new tab instead of a
window. Other than that, it should be up to the user if they open new
windows for everything, or stick with tabs. If you want to create a new
tab, then use some dhtml to create your own tab system. Its quite easy,
you can simply use
document.getElementById('id').style.display = 'hidden';
Ian