Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Link in the object for a site

Moacir Heying
Registered User
Join date: 8 Dec 2006
Posts: 17
12-24-2006 10:08
I do not say English, I wait that this translation is understood.

I want to know as to have access a page in web through the “Touch” in the object, when clicar would have to appear the blue window in it I sing superior with a button to have access the site. In the site the Resident would be identified.
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
12-25-2006 05:49
From: Moacir Heying
I do not say English, I wait that this translation is understood.

I want to know as to have access a page in web through the “Touch” in the object, when clicar would have to appear the blue window in it I sing superior with a button to have access the site. In the site the Resident would be identified.


Moacir I'm afarid I did not understand your requirement 100%.
What is it that you require to appear in the dialog box?

You can open a browser window with a specified URL using llloadURL
Sterling Whitcroft
Registered User
Join date: 2 Jul 2006
Posts: 678
12-25-2006 06:13
Moacir,
Are you trying to pass an Avatar name to an external web page?
and getting a blue dialog box from SL instead?

If this is what you want:

1. A User 'touches' object
2. You then want to send to an outside web page:
"http://moacir.com/" and pass the Avatar name to the Web Page.

Then try "llHTTPRequest" at:
http://www.lslwiki.com/lslwiki/wakka.php?wakka=llHTTPRequest

The Avatar name is passed to the web page on the HTTP:// line.
This is discussed at length here:
/54/fd/110832/1.html
Moacir Heying
Registered User
Join date: 8 Dec 2006
Posts: 17
Ok
12-25-2006 07:25
I obtained, below is the code of what I wanted, debtor Sterling Whitcroft and Newgate Ludd.

default
{
touch_start(integer total_number)
{
string username = llEscapeURL(llDetectedName(0));
llLoadURL(llDetectedKey(0), "Site", "http://www.venderagora.com.br/teste.php?uid="+username);
}
}