Loading ...
Sorry, an error occurred while loading the content.

Re: Dom.setStyle( el, 'z-index', ??????? )...

Expand Messages
  • mark.deibert
    Doh! That s all it is? I ll try when I get home. Thanks guys! :-) ... properties. ... it. ... very low ... doesn t
    Message 1 of 5 , May 31 6:56 AM
    • 0 Attachment
      Doh! That's all it is? I'll try when I get home. Thanks guys! :-)

      --- In ydn-javascript@yahoogroups.com, Matt Sweeney <msweeney@...>
      wrote:
      >
      > Hi Mark,
      >
      > The Dom style interface accepts only camelCase for style
      properties.
      > Changing the call to "Dom.setStyle(el, 'zIndex', 200) should fix
      it.
      >
      > Matt
      >
      > mark.deibert wrote:
      >
      > >Do you see anything wrong with this snippet?...
      > >
      > > var el = document.createElement('DIV')
      > > el.id = 'PnlViewer';
      > > this.div.appendChild(el);
      > > Dom.setStyle(el,'position','absolute');
      > > Dom.setStyle(el,'z-index',200);
      > > Dom.setStyle(el,'border','Solid 1px Yellow');
      > > Dom.setStyle(el,'width','10px');
      > > Dom.setStyle(el,'height','10px');
      > >
      > >
      > >I'm trying to make the 'PnlViewer' Div to appear -in front- of
      > >everything else. I've tried setting the z-index very high and
      very low
      > >and nothing changes. The Div never moves to the front. z-index
      doesn't
      > >appear to do anything at all.
      > >
      > >What am I doing wrong?
      > >
      > >Thanks guys :-)
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > >Yahoo! Groups Links
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.