Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How do I add a hyperlink to an object?

Kerry Primrose
Registered User
Join date: 12 Nov 2006
Posts: 3
01-20-2008 11:13
Hi. I would like to add a script to a cube that will link to a Webpage which will then load. Pardon me if this has been asked before, but I did a search for "hyperlink" and couldn't find anything.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
01-20-2008 12:25
llLoadUrl is the function you want, it pops a dialog asking if the user would like to load the page in their default browser
_____________________
|
| . "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...
| -
Kerry Primrose
Registered User
Join date: 12 Nov 2006
Posts: 3
01-20-2008 17:09
Thank you I will try this!
Alicia Sautereau
if (!social) hide;
Join date: 20 Feb 2007
Posts: 3,125
01-20-2008 20:48
llLoadURL(llDetectedKey(0), "Enter some text here", "http://www.url.com";);
_____________________