PDA

View Full Version : Can't find hover popup on this site



Ready
12-04-2008, 12:31 AM
1) Script Title:

2) Script URL (http://www.dynamicdrive.com/forums/ DD): Trying to find this

3) Describe problem: I want to see if this can be done multiple time on one page. I want to put a number of these on one page. One for each month and one for the whole year. (calendar) I just don't know how this would be done. I haven't looked at this stuff in a very long time and I only do some things to a friends site for fun so I am ignorant. Hopefully someone will recognize it......

I don't know the script title so I'll put the script for the header here.

<script type="text/javascript">
function ShowPopup(hoveritem)
{
hp = document.getElementById("hoverpopup");

// Set popup to visible
hp.style.top = hoveritem.offsetTop - 10;
hp.style.left = hoveritem.offsetLeft - 518;

hp.style.visibility = "Visible";
}

function HidePopup()
{
hp = document.getElementById("hoverpopup");
hp.style.visibility = "Hidden";
}
</script>