Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How do I launch a web page from a prim?

Teysa Rosewood
Registered User
Join date: 16 Feb 2006
Posts: 25
01-23-2007 09:37
I want to have a Prim in world that you click to launch a web page in your browser
and was wondering how to do that

Thank you for any help, I'm new to this
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
01-23-2007 09:41
You use the llLoadURL function. :)
Metawraith Mistral
Ghost in the Machine
Join date: 26 Sep 2005
Posts: 166
01-23-2007 11:30
Try something simple like the following as an example

CODE
 
default
{
state_entry()
{
llSetText("Your Text Here\Another Line of Text", <1.0,1.0,1.0>, 1);
}

touch_start(integer total_number)
{
llLoadURL(llDetectedKey(0), "Prompt for Popup Dialog.", "http://your-url-goes-here.htm");
}
}

Teysa Rosewood
Registered User
Join date: 16 Feb 2006
Posts: 25
01-23-2007 13:55
thank you, you've been wonderful, and a big help :)