Navigate to another page from revLet?

Klaus on-rev klaus at major.on-rev.com
Fri Aug 28 13:28:28 EDT 2009


Hi Andre & Trevor,

> Trevor,
> it is complicated but it can be done. First you need to have sessions
> implemented, you can pass your session variable to the revlet using  
> the
> revParams, this way, your revlet could write to RDBMS or to a CGI  
> saying:
> "hey, this session wants to go to another page" and in the page that  
> loads
> the revlet itself, there should be a javascript that pings the  
> server every
> couple seconds sending the session variable and receiving orders,  
> this way,
> you set a three way communication where a javascript in the page  
> talks to
> the server and the revlet talks to the same server.

OH MY GOD!

I hope the mothership will make this a TAD easier in the final  
version :-D :-D :-D

> Cheers
> andre
>
> On Fri, Aug 28, 2009 at 6:14 PM, Trevor DeVore <lists at mangomultimedia.com 
> >wrote:
>
>> I am experimenting with revLets and I need to navigate to another  
>> page when
>> the user clicks on a button in the revLet. I tried launch url opens  
>> a page
>> in a new window but I'm hoping to navigate within the same window.  
>> revLets
>> can't call javascript functions available to the page yet can they?  
>> Any
>> other ideas?
>>
>> --
>> Trevor DeVore

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com




More information about the use-livecode mailing list