Okay, well here's an option using only CSS; the popup should only show when
the mouse is over the link/image (or over the popup itself when it's
displayed), but you can still click the link like normal without CSS:

<a href="/faqs#target" class="pop"><img src="q.gif" /><span
class="popup">popup content</span></a>

a.pop {
     position:relative;
}
a.pop:hover {
     background-position:0 0;     /*fix for IE; forces a redraw*/
}
.popup {
     display:none;
}
a.pop:hover .popup {
     display:block;
     position:absolute;
     top:15px;
     left:15px;
     background-color:white;
     border:1px solid black;
}

Hope that helps
Andy
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to