> I'm having a problem with my _javascript_ popup menu
> rollovers when they have to pop up and over a flash
> object.

> If I put an image in the .swf file's place, the rollover
> works fine.

> Anyone else experience this?

Flash movies (I believe object/embed tags in general) are what are
called "windowed" objects like <select> boxes and iframes, which means
any html element which displays over the same section of screen
realestate, no matter what the z-index, will appear _behind_ the
"windowed" element. Personally, I think it's a load of crap that some
large corporation (who shall remain nameless) spewed because they
didn't want to fix something that's broken. But that's the answer --
if you want your menu to always appear, you'd have to suppress display
of any windowed elements while the menu is open. I used to have a
function that would do this globally for the whole page, something
like:

function toggleWindowedElements(vis) {
  vis = (display==true)? "visible" : "hidden";
  var elements = getWindowedElements();
  for (x = 0; x < elements.length; x++) {
    elements[x].visibility = vis;
  }
}

Unfortunately I don't remember how to get all the windowed elements on
the page.

hth

s. isaac dealey     954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to