Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Open Webpage via SL - Tabs

Marillion Celt
Registered User
Join date: 16 Nov 2006
Posts: 5
02-07-2008 12:45
Hi Folks,

Have tried to find an answer to this but no luck, so hopefully someone can help.

Am using a tabbed browser.

Have found and used the script that lets you click on an SL object and have it open an external website. When I click on another object though, it opens another tab in the same browser.

Am wondering if there is some way to do it so that the webpage opens in the same tab ?

Thanks in advance.
Haruki Watanabe
llSLCrash(void);
Join date: 28 Mar 2007
Posts: 434
02-07-2008 16:46
Not really sure on this, but with llLoadUrl() you're not able to add a target to the url - so it will always open in a new window...
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
02-07-2008 21:30
Not from SL, but most browsers probably have a preference for this. For example, in my version of Firefox, I have the choices: Edit -> Preferences -> Tabs -> Open links from other applications in 1.) a new window, 2.) a new tab in the most recent window, 3.) the most recent tab/window.
Marillion Celt
Registered User
Join date: 16 Nov 2006
Posts: 5
02-08-2008 06:39
Thanks for the help.

What I am basically trying to do is have several items in a shop that I've
built on SL that are available via an online shop off SL.

Have set up a script on each object with the URL that adds the real object
to the shopping basket in the online shop. However, when you click on
each object and add it to the basket, it obviously opens a seperate tab :)

Will need to rethink this, am hoping that it's still possible to do it somehow.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
02-08-2008 08:22
you can at least use a cookie to track changes, then let the user worry about the multiple tabs.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -