Peuplarchie
06-22-2008, 10:27 PM
Good day to you all,
I have a piece of code which I use a detail pop up.
My problem is that is display under my menu, is there a way that it would go over everything :
echo "<a onmouseover=\"this.style.cursor='pointer'\" onfocus=\"this.blur();\" onclick=\"document.getElementById('$namess').style.display = 'block' \" >\r";
echo "<span><img src=\"http://test.com/".$imgdir."".$img."\" width=\"50\" border=\"0\" title=\"".$img."\" alt=\"".$img."\" /></span></a>\r";
echo "<div id=\"$namess\" class=\"test\" align=\"center\" style='display: none; position: absolute; top:25%;left:20%; border: solid black 1px; padding: 10px; background-color: rgb(255,255,225); text-align: justify; color:#000000; font-size: 12px; '>\r";
echo " <center><b>$namess</b></center>\r";
echo "<br />\r";
echo "<center><img src=\"http://test.com/".$path2."".$img."\" border=\"0\" title=\"".$img."\" alt=\"".$img."\" /></center>";
echo "<br />\r";
echo "<div style='text-align: right;'><a onmouseover='this.style.cursor=\"pointer\" ' style='font-size: 12px;' onfocus='this.blur();' onclick=\"document.getElementById('$namess').style.display = 'none' \" ><span style=\"text-decoration: underline; color:#000000;\">Close</span></a></div>\r";
echo "</div>\r";
Thanks !
I have a piece of code which I use a detail pop up.
My problem is that is display under my menu, is there a way that it would go over everything :
echo "<a onmouseover=\"this.style.cursor='pointer'\" onfocus=\"this.blur();\" onclick=\"document.getElementById('$namess').style.display = 'block' \" >\r";
echo "<span><img src=\"http://test.com/".$imgdir."".$img."\" width=\"50\" border=\"0\" title=\"".$img."\" alt=\"".$img."\" /></span></a>\r";
echo "<div id=\"$namess\" class=\"test\" align=\"center\" style='display: none; position: absolute; top:25%;left:20%; border: solid black 1px; padding: 10px; background-color: rgb(255,255,225); text-align: justify; color:#000000; font-size: 12px; '>\r";
echo " <center><b>$namess</b></center>\r";
echo "<br />\r";
echo "<center><img src=\"http://test.com/".$path2."".$img."\" border=\"0\" title=\"".$img."\" alt=\"".$img."\" /></center>";
echo "<br />\r";
echo "<div style='text-align: right;'><a onmouseover='this.style.cursor=\"pointer\" ' style='font-size: 12px;' onfocus='this.blur();' onclick=\"document.getElementById('$namess').style.display = 'none' \" ><span style=\"text-decoration: underline; color:#000000;\">Close</span></a></div>\r";
echo "</div>\r";
Thanks !