|
Chipley Chippewa
Googlemonger
Join date: 25 Aug 2007
Posts: 56
|
06-17-2008 08:53
Hi,
I'm n000b to the idea of using html on a prim (i.e. - this is my first day thinking about it) and I'm searching around for what can and can't be done when it comes to html on a prim. So far, I have not come across any documentation that explicitly states that javascript cannot be run along with html on a prim.
I have a .js script that refreshes a browser every X seconds, and I was wondering if this script will refresh my html on a prim in SL; I know this script works properly in Firefox. If something runs in Mozilla which is just html and .js (no activeX content), is it safe to assume that this will run in SL as well?
I would test it out right now, but I'm at work and I'm thinking about this between breaks, so I am curious as to whether my page refresher will work, or if I'll have to rethink my this piece of my project.
TY for any answers, I know the answer is documented somewhere, I just haven't found it yet.
Cheers, ~Chipley
_____________________
: : ["blank" is the new "blank"] is the new lame
|
|
Daten Thielt
Registered User
Join date: 1 Dec 2006
Posts: 104
|
06-17-2008 09:52
at this current time html on a prim does not support anything apart from html. no java/shockwave/flash will work nor vids or music from the webpage
|
|
Xhawkx Holden
Registered User
Join date: 1 Nov 2006
Posts: 86
|
06-17-2008 10:03
maybe try using a meta-tag refresh instead..
|
|
Chipley Chippewa
Googlemonger
Join date: 25 Aug 2007
Posts: 56
|
06-17-2008 13:44
Ty for the replies. The meta-tag refresh is a good suggestion, but the stupid javascript is doing more than just refreshing; else, it'd be a perfect solution.
Anyways, the answer is that it can't be done yet, ohs wells...
/me puts his idea on teh shelfz
_____________________
: : ["blank" is the new "blank"] is the new lame
|
|
Pedro McMillan
SLOODLE Developer
Join date: 28 Jul 2007
Posts: 231
|
06-18-2008 06:27
HOAP certainly supports *some* JavaScript.... I was able to make a radio button bounce around a webpage back when HOAP was first released in Beta.  A bit slow, but it worked. How about letting JS do whatever else it was going to do, and maybe even coding a refresh in LSL? (Use the parcel media command list function to stop/start the media player).
|
|
Lennard Lopez
Registered User
Join date: 9 Oct 2007
Posts: 52
|
06-18-2008 08:22
Look at http://130.37.9.12/ on a prim. This works!!!
|