Results 1 to 2 of 2

Thread: open new window from within lightbox

  1. #1
    Join Date
    Jun 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default open new window from within lightbox

    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:

    Code:
    <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!
    Last edited by jscheuer1; 06-02-2011 at 04:46 PM. Reason: format code

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Code:
    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •