PDA

View Full Version : On Click Open 2 urls


jordi
11-30-2009, 10:42 AM
Hi everyones,

Does somebody knows how to create an action that allows me to open 2 urls on click to some spot ?

I've tried something like this, but it was not working :

<spot id="doble_link" alt ="acces web" staticX="216" staticY="7" static="1" visible="0" depth="205" url="img/trans.png"
onClick="
openUrl(http://www.google.com, _blank);
openUrl(http://www.yahoo.com, _blank);
"/>

And what is doing this action is opening only the second link but not the first

thanks

allSaints
11-30-2009, 11:25 AM
Jordi,

try substituting "_blank" with for example "page1" and "page2" and see what happens.

jordi
11-30-2009, 11:58 AM
Yes !!

thanks, Tommy it works perfect now !!!

allSaints
11-30-2009, 12:06 PM
And I guess you are all happy today in Barcelona after yesterdays 1-0 against RM (thanks to Zlatan :) ) ...

jordi
11-30-2009, 02:38 PM
jejejejej, YES !!

it was an amazing goal !!!

the match was a bit boring, but the karate knowledge of Zlatan seems to be very important, jejejejejej
;)