Hi,
I need a button in html 5 to go to an url like this"www.anurl.nl target ="_top"
(or target ="_parent")
I have tried the following code:
YoYo_OpenURL('http://anurll.nl target="_top"' );
but this generates an error in the browser. (it also puts the target="_top" litteraly in the url)
Any suggestions?
Thanks,
Wouter
target="_top" , how?
Started by wtrbrs, Jun 14 2012 08:30 AM
3 replies to this topic
#1
Posted 14 June 2012 - 08:30 AM
#2
Posted 14 June 2012 - 09:21 AM
You need to use the extended function, not the standard one. In Studio it is url_open_ext and in GM:Html5 it is YoYo_OpenURL_ext.
#3
Posted 14 June 2012 - 05:10 PM
You need to use the extended function, not the standard one. In Studio it is url_open_ext and in GM:Html5 it is YoYo_OpenURL_ext.
thanks. Where can i find the documentation for these functions? e.g. what is the correct syntax?
#4
Posted 15 June 2012 - 07:48 AM
If you are using GM:Html5, there is no documentation I'm afraid as these functions were only included as a test. In GM:Studio, however, they are in the manual. For your particular question the correct syntax is :
YoYo_OpenURL_ext( "http://anurll.nl", "_parent" );
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











