removed useless _ folders
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<Solution name="HTML_Rendering_from_Notecard">
|
||||
<Project name="HTML_Rendering_from_Notecard" path="HTML_Rendering_from_Notecard\HTML_Rendering_from_Notecard.prj" active="true"/>
|
||||
</Solution>
|
||||
@@ -0,0 +1,8 @@
|
||||
<Project name="HTML_Rendering_from_Notecard" guid="D861B68A-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D861B76A-6C00-1014-B904-200204C60A89">
|
||||
<Script name="HTML_Rendering_from_Notecard_1.lsl" guid="D861E0BE-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
<Script name="HTML_Rendering_from_Notecard_2.lsl" guid="D861FA43-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
@@ -0,0 +1,84 @@
|
||||
// :CATEGORY:Viewer 2
|
||||
// :NAME:HTML_Rendering_from_Notecard
|
||||
// :AUTHOR:Pavcules Superior
|
||||
// :CREATED:2010-09-02 11:32:44.597
|
||||
// :EDITED:2013-09-18 15:38:55
|
||||
// :ID:391
|
||||
// :NUM:542
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// This script puts the data in the URL, and can render the HTML tags from the notecard. Note, the URL limit is 1024 characters. This script below does not need HTTP-IN to work, and is much simpler.
|
||||
// :CODE:
|
||||
// Notecard Text on a Prim
|
||||
|
||||
// Developed by: Pavcules Superior
|
||||
|
||||
// Developed on: March 2010
|
||||
|
||||
|
||||
|
||||
string g_strNotecardName;
|
||||
|
||||
string g_strNotecardText;
|
||||
|
||||
integer g_intNotecardLine = 0;
|
||||
|
||||
key g_keyNotecardQueryID;
|
||||
|
||||
key g_keyURLRequestID;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Start reading the notecard text.
|
||||
|
||||
ReadNotecardText()
|
||||
|
||||
{
|
||||
|
||||
llOwnerSay("Reading Notecard...please wait.");
|
||||
|
||||
|
||||
|
||||
g_intNotecardLine = 0;
|
||||
|
||||
g_strNotecardText = "";
|
||||
|
||||
g_strNotecardName = llGetInventoryName(INVENTORY_NOTECARD, 0);
|
||||
|
||||
g_keyNotecardQueryID = llGetNotecardLine(g_strNotecardName, g_intNotecardLine);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
default
|
||||
|
||||
{
|
||||
|
||||
state_entry()
|
||||
|
||||
{
|
||||
|
||||
|
||||
|
||||
ReadNotecardText();
|
||||
|
||||
|
||||
|
||||
g_keyURLRequestID = llRequestURL();
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
changed(integer change)
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
// :CATEGORY:Viewer 2
|
||||
// :NAME:HTML_Rendering_from_Notecard
|
||||
// :AUTHOR:Pavcules Superior
|
||||
// :CREATED:2010-09-02 11:32:44.597
|
||||
// :EDITED:2013-09-18 15:38:55
|
||||
// :ID:391
|
||||
// :NUM:543
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// Notecard text I used to render the text in the image:
|
||||
// :CODE:
|
||||
<html>
|
||||
|
||||
<head>
|
||||
|
||||
</head>
|
||||
|
||||
<body
|
||||
|
||||
style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 204);">
|
||||
|
||||
<title></title>
|
||||
|
||||
<table style="text-align: center; height: 1008px; width: 100%;"
|
||||
|
||||
background="http://www.spiralgraphics.biz/packs/metal_robust/previews/Basketweave%20Plates.jpg">
|
||||
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
|
||||
<td><span style="font-weight: bold; font-size: 40pt;">
|
||||
|
||||
This is a demo webpage using the 'data:text/html'.<br>
|
||||
|
||||
<br>
|
||||
|
||||
<span style="color: rgb(0, 0, 153);">
|
||||
|
||||
Hi Slack....well at least 1024 characters
|
||||
Reference in New Issue
Block a user