Thanks for the reply. I looked through all the code and still didn't find it, but I'm pretty close with my own site--I have almost everything working right. The only problem I'm having is shown in the attachment.
The content changes appropriately when mousing over the different list items (the 5 pictures across) but when the mouse reaches the red rectangle area that i drew in is when the onmouseout event is triggered even though I have the onmouseout event on the entire div (highlighted in blue). Eventually I will have the portion that says "this is where the rollover content goes" neatened up and it will contain links etc. So you can see why I would not want the content to disappear from an onmouseout event before the mouse reaches that section.
I should mention that the top line of the red rectangle also marks the bottom of the LIs that the mouseover events are on in case that might help. For reference, here are the RemoveAllStyles() and addStyle() functions:
Code:
function addStyle(x)
{
removeAllStyle();
document.getElementById(x).style.display="block";
}
function removeAllStyle()
{
removeStyle('feat_hurricane');
removeStyle('feat_fabrication');
removeStyle('feat_capsnap');
removeStyle('feat_medical');
removeStyle('feat_media');
}
function removeStyle(x)
{
document.getElementById(x).style.display="";
}
__________________
Luke Robinson
Please login or register to view this content. Registration is FREE
Last edited by lrobinson; 08-14-2009 at 10:47 AM..
Reason: image did not attach
|