PDA

View Full Version : open new window from within lightbox



sarahtodde
06-02-2011, 03:02 PM
Hello, I am trying to open a new window from a link that is inside my lightbox and nothing seems to be working. Here is the code that I have so far:



<td width="145" height="132"><a href="images/music.png" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('web','','images/sq_site_c.png',1)" rel="lightbox[web]"

title="<a href='http://studentpages.scad.edu/~semery20/semery_projecta/index.html' >Click here to view web site</a>" >

<img src="images/sq_site_bw.png" alt="Web Sites" name="web" width="132" height="132" border="0" id="web" /></a></td>


Any insight would be great. Thanks!

jscheuer1
06-02-2011, 04:49 PM
title="<a target='_blank' href='http://studentpages.scad.edu/~semery20/semery_projecta/index.html' >Click here to view web site</a>"

There are however other lightbox type scripts where this can be done without resorting to the title attribute, which I'm sure you've noticed produces an unsightly tool tip on hover of the thumbnail link when doing it this way.