Hi all
i have an issue with a little CSS code i use to pop up information about a product from its thumbnail image.
it works fine in all of site, apart from when i code it into a DD script, this one here:
http://www.dynamicdrive.com/dynamici...tentslider.htm
easiest way to describe this is visually, so if you take a look at :
http://www.jmcsecurity.co.uk/test.asp
and click on the tab "top sellers"
then mouse over some of the images, you'll notice the one's around the edges hide most of the popup.
so i was wondering if anyone either knows away around this? by using CSS to auto position the popup?
heres my CSS for the pop up:
if you need any more info, please let me know.Code:<Style> .thumbnail{ position: relative; z-index: 0; } .thumbnail:hover{ background-color: transparent; z-index: 100; } .thumbnail span{ /*CSS for enlarged image*/ position: absolute; background-color: white; padding: 5px; left: -1000px; border: 1px dashed gray; visibility: hidden; color: black; text-decoration: none; word-wrap:break-word; width:400px; } .thumbnail span img{ /*CSS for enlarged image*/ border-width: 0; padding: 2px; } .thumbnail:hover span{ /*CSS for enlarged image on hover*/ visibility: visible; top: 10px; left: 0px; /*position where enlarged image should offset horizontally */ } </style>
Any advice welcome



Reply With Quote
Bookmarks