z-index

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Scott

    z-index

    Hi group

    have a javascript drop down menu ....all works fine..

    then I put a flash movie in the center of the page and now the menu opens
    behind the falsh movie ... how can I change it so it vil appear over the
    flash movie...

    I believe it has something to do with the z-index ...but the only thing I
    can find are the following:
    .......

    var body=menu.bodys[st_cumbi];
    if(st_cumbi) getpar(body).su b=[st_cumei,st_cum bi];
    body.z_index= !st_cumbi ? 1000 : getpar(getpar(b ody)).z_index+1 0;
    if(body.offset= ="auto")
    {
    if(st_cumbi)
    body.offset=get par(getpar(body )).arrange=="ve rtically" ? "right" :
    "down";
    else
    body.offset= "down";
    .......

    Do anyone have a solution ?


  • Thomas 'PointedEars' Lahn

    #2
    Re: z-index

    Scott wrote:
    [color=blue]
    > have a javascript drop down menu ....all works fine..
    >
    > then I put a flash movie in the center of the page and now the menu opens
    > behind the falsh movie ... how can I change it so it vil appear over the
    > flash movie...
    >
    > I believe it has something to do with the z-index ...but the only thing I
    > can find are the following:
    > ......
    >
    > var body=menu.bodys[st_cumbi];
    > if(st_cumbi) getpar(body).su b=[st_cumei,st_cum bi];
    > body.z_index= !st_cumbi ? 1000 : getpar(getpar(b ody)).z_index+1 0;
    > if(body.offset= ="auto")
    > {
    > if(st_cumbi)
    > body.offset=get par(getpar(body )).arrange=="ve rtically" ? "right" :
    > "down";
    > else
    > body.offset= "down";
    > ......
    >
    > Do anyone have a solution ?[/color]

    I (and most certainly everyone else, too) have not the slightest idea what
    you are up to, particularly because all the objects and properties you are
    using are not built-ins in any known HTML UA's DOM. Post the URL instead.


    PointedEars
    --
    Man, this program is quite buggy... But one day it will be the perfect
    browser!

    Comment

    • Michael Winter

      #3
      Re: z-index

      On Sat, 21 Aug 2004 18:42:38 +0200, Scott <snipermode@hot mail.com> wrote:
      [color=blue]
      > then I put a flash movie in the center of the page and now the menu opens
      > behind the falsh movie ... how can I change it so it vil appear over the
      > flash movie...[/color]

      [snip]
      [color=blue]
      > Do anyone have a solution ?[/color]

      If I recall correctly, I'm afraid there isn't one. It's simply down to how
      the Flash plug-in renders the animation.

      It's similar to the behaviour shown by some form elements. The SELECT
      element, for example, has a tendency to disallow anything to appear above
      it (in a z-index sense) because the browser leaves rendering to the
      operating system.

      If it can be solved using manipulation of the z-index, it's easier to do
      it through CSS than JavaScript. The CSS property is "z-index". The higher
      the number, the higher the element.

      Good luck,
      Mike

      --
      Michael Winter
      Replace ".invalid" with ".uk" to reply by e-mail.

      Comment

      • Frances Del Rio

        #4
        Re: z-index

        Scott wrote:
        [color=blue]
        > Hi group
        >
        > have a javascript drop down menu ....all works fine..
        >
        > then I put a flash movie in the center of the page and now the menu opens
        > behind the falsh movie ... how can I change it so it vil appear over the
        > flash movie...[/color]

        I believe you can't put anything on top of a flash movie.. I remember
        when I first started using Flash I was very excited about the prospect
        of using Flash in combination with DHTML.. until I found out the hard
        way (and by asking right here..) that you can never put anything on top
        of a flash movie, that no matter what you do browsers always put Flash
        movies on top of everything else.. I would love to be wrong about this,
        if I am someone pls tell me!!.. :) ... Frances



        Comment

        • Dennis M. Marks

          #5
          Re: z-index

          In article <opsc3dizdrx13k vk@atlantis>, Michael Winter
          <M.Winter@bluey onder.co.invali d> wrote:
          [color=blue]
          > On Sat, 21 Aug 2004 18:42:38 +0200, Scott <snipermode@hot mail.com> wrote:
          >[color=green]
          > > then I put a flash movie in the center of the page and now the menu opens
          > > behind the falsh movie ... how can I change it so it vil appear over the
          > > flash movie...[/color]
          >
          > [snip]
          >[color=green]
          > > Do anyone have a solution ?[/color]
          >
          > If I recall correctly, I'm afraid there isn't one. It's simply down to how
          > the Flash plug-in renders the animation.
          >[/color]
          <snip>

          An iFrame will also appear in front ignoring the z-index. Just
          rearrange the page so the division does not appear in the same spot as
          the flash movie.

          --
          Dennis Marks

          Mail to the return email address is bounced.
          Go to web site for active email address.


          -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
          http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
          -----== Over 100,000 Newsgroups - 19 Different Servers! =-----

          Comment

          Working...