PDA

View Full Version : Help with carousel picture links.



antonio2
03-14-2006, 09:55 PM
Hello everyone,
I dont' know much about Javascript and I am trying to setup the carousel slide show.
everything works ok but I need that the links to open in a new window.
I have tryed a few things but nothing worked so far.
below is my code, but I dont know how to do it.

please anyone help me.

antonio1@semedo.com

thanks

function C_LdLnk(){if(this.lnk)window.location.href=this.lnk}
function C_Stp(){this.style.cursor=this.lnk?"pointer":"default";C_Stppd=true;}
function C_Rstrt(){C_Stppd=false}

jscheuer1
03-15-2006, 02:48 AM
Well, if this is from the script:


function C_LdLnk(){if(this.lnk)window.location.href=this.lnk}
function C_Stp(){this.style.cursor=this.lnk?"pointer":"default";C_Stppd=true;}
function C_Rstrt(){C_Stppd=false}

This should do it:


function C_LdLnk(){if(this.lnk)window.open(this.lnk)}
function C_Stp(){this.style.cursor=this.lnk?"pointer":"default";C_Stppd=true;}
function C_Rstrt(){C_Stppd=false}