Page 1 of 1

Browser object links

Posted: Sat Aug 25, 2007 8:53 am
by Andycal
I've got a browser object showing a page from my site that has links in it. I assumed that if I put a target of blank in the URL then when users clicked from within my stack it would open a browser, but it doesn't.

Anyone know how to acheive this?

Posted: Sat Aug 25, 2007 12:06 pm
by Klaus
Hi Andy,

the Rev browser has a life on its own :-)

So if you want to open the "real" browser after the user clicked a link in your Rev browser, then you will have to script this behaviour!

Check e.g. the "BrowserBeforeNavigate" command in the docs that will get you started.


Regards

Klaus

Posted: Sat Aug 25, 2007 3:20 pm
by Andycal
OK, thanks for that pointer - nearly made a breakthrough, although not quite!

I added:

Code: Select all

on browserBeforeNavigate sBrowserId, pUrl
  revGoURL pUrl
    end browserBeforeNavigate
to the card script but now it opens a two browser windows when it starts, one is a navigation cancelled page, the other is the page that opens within the card itself.

Clicking on the links within the card script still doesn't work. Very odd...