Advanced Tooltips Support Product Page
This topic is locked
Tool tip appears behind other content - resolved
Asked 07 Dec 2010 03:08:23
1
has this question
07 Dec 2010 03:08:23 Phil Boyle posted:
HiI have an image gallery that is a floated list and I want to attach a tooltip to show a larger version of the image. However the larger image in the tooltop shows behind the floated list. As I have been fiddling with it it also displays behind the text on the page which isn't floated.
Link to the page trickstar.co.nz/HD/gallery.html and the tool tip is only on first image.
CSS for floated list is this:
/*art gallery*/
#art_gallery
{
line-height:1.1;
margin:0 0 0 120px ;
}
#art_gallery li
{
width:110px;
float:left;
margin:0 40px 10px 0;
list-style:none;
font-size:0.8em;
min-height:175px;
}
#art_gallery img
{
border:2px solid #ccc;
padding:5px;
background:#fff;
display:block;
}
The code for the page:
<!DOCTYPE html >
<head>
<title>Helen Dynes Artist & Tutor</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<link rel="stylesheet" type="text/css" href="s/hd.css" media="screen" />
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="s/hd_ie.css" />
<![endif]-->
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="s/hd_ie6.css" />
<![endif]-->
<script language="javascript" type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
<script language="javascript" type="text/javascript" src="ScriptLibrary/dmxTooltips.js"></script>
<script type="text/javascript">
<!--
function applyDMXTooltip(trigger) {//v1.5
if (arguments.length < 3 || !arguments[2]) return true; // ignore empty tooltips
window.stylesFolderName = 'Styles';
var arg = {};
var options = ['contentType', 'dataProvider','showEffect','easing','showAt',
'showDirection', 'showDuration','showDelay','closeEvent','styleTheme',
'showCloseBtn','onshow','onhide','mouseOffsetX','mouseOffsetY','x','y','w','h'];
for (var i = 0; i < options.length && i < arguments.length-1; i++) {
arg[options[i]] = arguments[i + 1];
}
showTooltip(trigger, arg);
}
//-->
</script>
</head>
<body>
<a class="hide" href="#content" title="skip navigation." > skip navigation</a>
<div id="pagewrapper">
<div id="masthead"><a class="logo" href="index.html" title="return to home page"><span class="hide">Return to homepage</span></a></div>
<div id="pnav">
- <li id="panel1b" title="Home"><a href="index.html"><span class="hide">Home</span></a>[/*]
<li id="panel2b" title="Art workshops"><a href="workshops.html"><span class="hide">Art workshops</span></a>[/*]
<li id="panel3b" title="Art for sale"><a href="gallery.html"><span class="hide">Art for sale</span></a>[/*]
<li id="panel4b" title="Profile of artist"><a href="profile.html"><span class="hide">Profile of artist</span></a>[/*]
<li id="panel5b" title="Get in touch"><a href="get-in-touch.php"><span class="hide">Get in touch</span></a>[/*]
</div>
<div id="border_photos"></div>
<div id="sec_content">
<div id="sec_top_block">
Art for sale
<p class="gallery">These artworks are available to purchase. Thet can be bought online and shipped to your location or alternatively they can be viewed at Helen's studio or the following galleries. If you have any questions in regards to the sale of artwork please get in touch .</p> </div><ul id="art_gallery" >
Mixed media on canvas<br/>$695
<br class="clear" />
</div>
<div id="footer">
- <li title="Home" class="first"><a href="index.html">Home</a>[/*]
<li title="Art workshops"><a href="workshops.html">Art workshops</a>[/*]
<li title="Art for sale"><a href="gallery.html">Art for sale</a>[/*]
<li title="Profile of artist"><a href="profile.html">Profile of artist</a>[/*]
<li title="Get in touch"><a href="get-in-touch.php">Get in touch</a>[/*]
</div>
</div>
</body>
</html>
As always I appreciate your help
Phil
Replies
Replied 07 Dec 2010 03:12:53
07 Dec 2010 03:12:53 Phil Boyle replied:
Cancel the request for help. Just after I clicked submit I went back to have another look and a div containing the content was set at a higher z-index than the tool tip - problem solved.