removed useless _ folders
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<Solution name="Display_a_background_image_tiled">
|
||||
<Project name="Display_a_background_image_tiled" path="Display_a_background_image_tiled\Display_a_background_image_tiled.prj" active="true"/>
|
||||
</Solution>
|
||||
@@ -0,0 +1,10 @@
|
||||
<Project name="Display_a_background_image_tiled" guid="D85DB985-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D85DBA73-6C00-1014-B904-200204C60A89">
|
||||
<Script name="Display_a_background_image_tiled_1.lsl" guid="D85DD7AD-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
<Script name="Display_a_background_image_tiled_2.lsl" guid="D85DF090-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
<Script name="Display_a_background_image_tiled_3.lsl" guid="D85E0AAB-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
@@ -0,0 +1,39 @@
|
||||
// :CATEGORY:Viewer 2
|
||||
// :NAME:Display_a_background_image_tiled
|
||||
// :AUTHOR:Becky Pippen
|
||||
// :CREATED:2010-09-02 11:11:28.410
|
||||
// :EDITED:2013-09-18 15:38:51
|
||||
// :ID:239
|
||||
// :NUM:327
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// Method #1 — using CSS in a style element in <head>
|
||||
// :CODE:
|
||||
default
|
||||
|
||||
{
|
||||
|
||||
state_entry()
|
||||
|
||||
{
|
||||
|
||||
integer face = 4;
|
||||
|
||||
string imageURL =
|
||||
|
||||
"http://www.google.com/intl/en_ALL/images/logo.gif";
|
||||
|
||||
string dataURI = "data:text/html,<head>"
|
||||
|
||||
+ "<style type='text/css'>body{background-image:url(\""
|
||||
|
||||
+ imageURL + "\");}</style></head><body>Hello World</body>";
|
||||
|
||||
llSetPrimMediaParams(face,
|
||||
|
||||
[PRIM_MEDIA_CURRENT_URL, dataURI]);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
// :CATEGORY:Viewer 2
|
||||
// :NAME:Display_a_background_image_tiled
|
||||
// :AUTHOR:Becky Pippen
|
||||
// :CREATED:2010-09-02 11:11:28.410
|
||||
// :EDITED:2013-09-18 15:38:51
|
||||
// :ID:239
|
||||
// :NUM:328
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// Method #2 — using background attribute in <body>
|
||||
// :CODE:
|
||||
default
|
||||
|
||||
{
|
||||
|
||||
state_entry()
|
||||
|
||||
{
|
||||
|
||||
integer face = 4;
|
||||
|
||||
string imageURL = "http://www.google.com/intl/en_ALL/images/logo.gif";
|
||||
|
||||
string dataURI = "data:text/html,<body background='" + imageURL + "'>"
|
||||
|
||||
+ "Hello World"
|
||||
|
||||
+ "</body>";
|
||||
|
||||
llSetPrimMediaParams(face,
|
||||
|
||||
[PRIM_MEDIA_CURRENT_URL, dataURI]);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
// :CATEGORY:Viewer 2
|
||||
// :NAME:Display_a_background_image_tiled
|
||||
// :AUTHOR:Becky Pippen
|
||||
// :CREATED:2010-09-02 11:11:28.410
|
||||
// :EDITED:2013-09-18 15:38:51
|
||||
// :ID:239
|
||||
// :NUM:329
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// Method #3 — using style attribute in <body>
|
||||
// :CODE:
|
||||
default
|
||||
|
||||
{
|
||||
|
||||
state_entry()
|
||||
|
||||
{
|
||||
|
||||
integer face = 4;
|
||||
|
||||
string imageURL = "http://www.google.com/intl/en_ALL/images/logo.gif";
|
||||
|
||||
string dataURI = "data:text/html,<body style='background-image:url(\"" + imageURL + "\")'>"
|
||||
|
||||
+ "Hello World"
|
||||
|
||||
+ "</body>";
|
||||
|
||||
llSetPrimMediaParams(face,
|
||||
|
||||
[PRIM_MEDIA_CURRENT_URL, dataURI]);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user