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 Change_window_resolution  

Change_window_resolution

The browser will add scroll bars if the rendered HTML doesn't fit within the specified PRIM_MEDIA_* size.

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

the Zip file

Download all files for Change_window_resolution
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Change_window_resolution_1.lsl
1 default
2 {
4 {
5 integer face = 4;
6 string message = "Hello World";
7 llSetPrimMediaParams(face,
8 [PRIM_MEDIA_CURRENT_URL, "data:text/html," + message,
9 PRIM_MEDIA_WIDTH_PIXELS, 128,
10 PRIM_MEDIA_HEIGHT_PIXELS, 32]);
11 }
12 }

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