| free hosting image hosting hosting reseller online album e-shop famous people | ||
![]() ![]() |
||
And this section in the body:
For IE 5 and NS 6, a DIV container is used as a placeholder for the tool tip:document.layers for NS 4.x
getElementById for IE 5.x and NS6.x
<div id="tooltip"For NS 4, a slightly different method is required:
style="position:absolute;visibility:hidden;border:1px solid yellow;
font-size:12px;layer-background-color:white;background-color:white;
padding:1px;font-family:arial; font-weight:normal; color:black">
</div>
.ttip {border:1px solid black;font-size:12px;On mouseover of a link, 3 parameters are passed:
layer-background-color:lightyellow;background-color:lightyellow}
theString="<DIV CLASS='ttip'>"+tip[num]+"</DIV>"
document.tooltip.document.write(theString)
document.tooltip.document.close()
document.tooltip.left=e.pageX+14
document.tooltip.top=e.pageY+2
document.tooltip.visibility="show"
The remainder of the script simply writes the tool tip to the page.current - link element in question
e - the page position of the link (for setting xy offsets)
num - the index of the required tool tip
3 link parameters are passed to the function on mouseover
the required tool tip box layer is retrieved and made visible
the position of the box is determined by the xy offsets to the link's page position
on mouseout, the box layer is made invisible again
Email Button
Outline Eliminator
Triple Rollover