[Xerte] Re: Opening Vimeo videos in a new pop-up window

Janis Ozols stepiko14 at inbox.lv
Wed Aug 17 10:54:24 BST 2011


Thank you, Julian! It works but with a small but... However I am not sure if I am doing it right... Sorry for being so dull, but its complicated for video editor )) What I have done is:
I added a swf button to xerte + script to it -   
callJS('load', http://google.com);

in index.htm where my rlo is I added:
<Script Language="JavaScript">
function load() {
var load = window.open('http://google.com','','scrollbars=no', 'some more parameters');
}
</Script>

it works perfectly.... but then I want to add another link... and problems start!
in xerte I put callJS('load2', http://yahoo.com);

I tried several options in index.htm but they don't work...
I added a new script, or a new function to previous one... but it doesn't work... like
<Script Language="JavaScript">
function load2() {
var load = window.open('http://yahoo.com','','scrollbars=no', 'some more parameters');
}
</Script>

Is it possible to make 2 different links working? should I use different functions? or there should be one function for all links? 
Once again sorry for troubling )
Janis




More information about the Xerte mailing list