PDA

View Full Version : z-indexing in Firefox issues


Deggz
02-18-2008, 04:03 PM
Hello.

I have an HTML page built via CSS/div tags.

This HTML calls 4-5 swfs to make the entire page.

The TopbarNav.swf contains buttons that, when rolled over, send a graphic scrolling down (about an 800px height graphic). This graphic disappears when the mouse leaves the graphic.

The difference is I.E. lets me click/rollover the buttons/elements that appear in the swfs at a default z-index (so, below the TopbarNav swf). Firefox does not translate the TopbarNav transparency, and so 'masks' anything that appears underneath the dimensions of TopbarNav.

Searching these forums gave me some insight, but it did not work. Perhaps my application is not complete.

I have set the TopbarNav at z-index: -25 in the CSS.

I now have my Actionscript using getURL("javascript;()");

In my html I have the <DIV > tag calling a function via onmouseover. This function uses getElementById to alter the z-index of the TopbarNav to be above the others.

<code>
function changeDiv(){
document.getElementById('forumHeader').style.zInde x = "25";
}
</code>

Please help. I am getting desperate. Been on this for 3 days now. I feel I am close, but missing some small detail.

Thank you for any help.

-dE