The javascripts I was referring to, must be _inside_ the rebol code. So all I need to 
do to test misc. rebol code as plugins, is to provide the LauncURL parameter to the 
OBJECT-tag. Works quite well, actually.

HY

Dixit [EMAIL PROTECTED] (11.05 22.04.2004):
>right but if you want to set up something 
>that allows you just to test unknown rebol 
>scripts as pluggable.   
>> 
>> Dixit [EMAIL PROTECTED] (20.41 21.04.2004):
>> >I guess there should be an error try on 
>that 
>> >do-browser right?
>> 
>> Good idea, although I've never had any 
>problems.
>> 
>> HY
>> 
>> 
>> >> 
>> >> Hi,
>> >> 
>> >> The plugin module for MSIE is cool. And 
>> >with the javascript access to the 
>browser's 
>> >DOM
>> >tree, interesting things can be done.
>> >> 
>> >> I've added a feature to the rix search 
>> >engine: plug the scripts in directly. So 
>if 
>> >you get
>> >"plugable" results from a search (e.g. 
>> >http://www.oops-as.no/rix?
>q=plugin&st=sfh), 
>> >there
>> >will be a link with the words "plug it 
>in!". 
>> >Once you click it, you get to see the 
>script
>> >as a plugin right away.
>> >> 
>> >> But.
>> >> 
>> >> How can I know the width and height 
>> >parameters of all rebol scripts? I can't. 
>> >But these
>> >parameters can be set from inside a 
>plugin 
>> >script thanks to 'do-browser. Here's how 
>you 
>> >do
>> >it:
>> >> 
>> >> do-browser {document.getElementById
>> >('RPluginIE').width=100;
>> >document.getElementById
>> >('RPluginIE').height=100;}
>> >> 
>> >> This example sets both width and height 
>to 
>> >100 pixels. (Isn't it funny how rebol in 
>this
>> >case must use a javascript to set it's 
>own 
>> >parameters?) Width and height should of 
>> >course
>> >be whatever suits your script best. If 
>all 
>> >scripts contained these lines, my new rix
>> >feature would be even cooler...  For 
>those 
>> >who would like to have your scripts 
>indexed,
>> >but not plugged in, consider this:
>> >> 
>> >> do-browser 
>> >
>{top.location.href="http://www.rebol.net/plug
>> >in/demos/anamonitor.html";}
>> >> 
>> >> OK, time to go to bed.
>> >> HY
>> >> 
>> >> Prętera censeo Carthaginem esse delendam
>> >> 
>> >> 
>> >> -- 
>> >> To unsubscribe from this list, just 
>send 
>> >an email to
>> >> [EMAIL PROTECTED] with 
>unsubscribe 
>> >as the subject.
>> >> 
>> >> 
>> >
>> >
>> >
>> >
>> >
>> >-- 
>> >To unsubscribe from this list, just send 
>an email to
>> >[EMAIL PROTECTED] with unsubscribe 
>as the subject.
>> 
>> Prętera censeo Carthaginem esse delendam
>> 
>> 
>> -- 
>> To unsubscribe from this list, just send 
>an email to
>> [EMAIL PROTECTED] with unsubscribe 
>as the subject.
>> 
>> 
>
>
>
>
>
>-- 
>To unsubscribe from this list, just send an email to
>[EMAIL PROTECTED] with unsubscribe as the subject.

Prętera censeo Carthaginem esse delendam


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to