D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] HTML and tabs

 

On Thursday 03 May 2007 15:24, Tom Potts wrote:
> On Thursday 03 May 2007 12:04, Neil Winchurst wrote:
> > I have started writing a little HTML code, so I am still new to it. I
> > can include a link to a URL, that's easy. Most browser have tabs
> > nowadays. I am wondering if it is possible to make the link open up in
> > a new tab, if the browser supports them.
> >
> > I have been searching around but so far no luck. Can anyone point me in
> > the right direction please?
>
> its something like ( to set the new page focused)
> getBrowser().selectedTab = getBrowser().addTab(curl);
> but theres all sorts of security implications and settings...
Oops I think that might be a zul thing!
I think the standard window.open(url); will work if firefox is set to open new 
windows in tabs.
Tom te tom te tom


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html