Join us in Outworldz at www.outworldz.com:9000 or follow us:

Search dozens of selected web sites for OpenSim and LSL script

New! Script Meta-Search will search thousands of scripts here and at other sites for LSL or Opensim scripts.
Loading

Want to add a script or a project? Upload it and a half million people will see it and your name here this year.

Home   Show All
Category: Contributor: Creator
Viewer 2 Link_to_external_CSS_file_forms_exa  

Link_to_external_CSS_file_forms_exa

Link_to_external_CSS_file_forms_example

Category: Viewer 2
By : Becky Pippen
Created: 2010-09-02 Edited: 2010-09-02
Worlds: Second Life

the Zip file

Download all files for Link_to_external_CSS_file_forms_exa
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Link_to_external_CSS_file_forms_exa_1.lsl
1 default
2 {
4 {
5 integer face = 4;
6 string externalCSS =
7 "http://www.google.com/css/modules/buttons/g-button-chocobo.css";
8
9 string dataURI = "data:text/html,<head><link href='" +
10 externalCSS + "' rel='stylesheet' type='text/css' /></head>" +
11 "<form><input type='button' value='Click Me' class='g-button' /></form>";
12
13 llSetPrimMediaParams(face,
14 [PRIM_MEDIA_CURRENT_URL, dataURI]);
15 }
16 }

Back to the Best Free Tools in Second Life and OpenSim.