Javascript menu into IE6

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

    Javascript menu into IE6

    Hello,

    I'm a newbee into the javascript world and I'm trying to use the
    opencube solution to display a complex menu. As I can see, the
    opencube solution is javascript 1.2. My menu is working just fine
    into opera or netscape but into IE6 if the menu have to appears on a
    zone that cover a dropdown list (a simple html <select> tag ) the menu
    appears behind the dropdown and not in front of it.

    Is there a solution?

    Thanks a lot
  • Thomas 'PointedEars' Lahn

    #2
    Re: Javascript menu into IE6

    Philippe schrieb:[color=blue]
    > I'm a newbee[/color]
    ^^^
    You think of yourself as a kind of insect? ;-)
    [color=blue]
    > into the javascript world and I'm trying to use the opencube solution
    > to display a complex menu. As I can see, the opencube solution is
    > javascript 1.2.[/color]

    How do you know?
    [color=blue]
    > My menu is working just fine into opera or netscape[/color]

    Which versions on which platforms? Enter javascript:navi gator.userAgent
    in the Location Bar.
    [color=blue]
    > but into IE6[/color]

    Which version exactly (see above)? The result of
    javascript:Scri ptEngine()+"%20 "+ScriptEngineM ajorVersion()+" ."+ScriptEngine MinorVersion()+ "."+ScriptEngin eBuildVersion()
    would be useful as well.
    [color=blue]
    > if the menu have to appears on a zone that cover a
    > dropdown list (a simple html <select> tag ) the menu appears behind
    > the dropdown and not in front of it.[/color]

    Reads like you have stumbled upon IE windowed controls.
    [color=blue]
    > Is there a solution?[/color]

    Depends. What is the "opencube solution"?


    PointedEars

    Comment

    • Richard Cornford

      #3
      Re: Javascript menu into IE6

      Thomas 'PointedEars' Lahn wrote:[color=blue]
      > Philippe schrieb:[/color]
      <snip>[color=blue][color=green]
      >> into the javascript world and I'm trying to use the opencube solution
      >> to display a complex menu. As I can see, the opencube solution is
      >> javascript 1.2.[/color]
      >
      > How do you know?[/color]

      OpenCube use - language="Javas cirpt1.2" - in their script tags.

      <snip>[color=blue]
      > Depends. What is the "opencube solution"?[/color]

      It is a commercial pop-up menu script. And unless they have seriously
      revised it in the last 12 months it is a very bad one, which is to say
      that it is average for a commercial pop-up menu script. Lots of - eval -
      abuse, convoluted javascript data structures for the menu links/text,
      browser detection using - navigator.userA gent - and it deals with
      supporting the browsers it recognises by downloading one of a range of
      JS for each.

      Richard.


      Comment

      • Thomas 'PointedEars' Lahn

        #4
        Re: Javascript menu into IE6

        Richard Cornford schrieb:[color=blue]
        > Thomas 'PointedEars' Lahn wrote:[color=green]
        >> Philippe schrieb:[/color]
        > <snip>[color=green][color=darkred]
        >>> into the javascript world and I'm trying to use the opencube
        >>> solution to display a complex menu. As I can see, the opencube
        >>> solution is javascript 1.2.[/color]
        >> How do you know?[/color]
        >
        > OpenCube use - language="Javas cirpt1.2" - in their script tags.[/color]

        But this does not mean anything about the version the script code requires.
        [color=blue]
        > <snip>[color=green]
        >> Depends. What is the "opencube solution"?[/color]
        >
        > It is a commercial pop-up menu script. And unless they have seriously
        > revised it in the last 12 months it is a very bad one, [...][/color]

        As I feared.


        PointedEars

        Comment

        • Richard Cornford

          #5
          Re: Javascript menu into IE6

          Thomas 'PointedEars' Lahn wrote:[color=blue]
          > Richard Cornford schrieb:[/color]
          <snip>[color=blue][color=green]
          >> OpenCube use - language="Javas cirpt1.2" - in their script tags.[/color]
          >
          > But this does not mean anything about the version the script code
          > requires.[/color]

          Sticking - language="JavaS cirpt1.2" - into script tags without
          understanding why or the implications of doing so is just another of the
          amateurish mistakes that characterise the rest of the script. The code
          itself clearly has been tested on Netscape 4 and so wastes a lot of
          effort jumping through hoops trying to compensate for the unusual
          JavaScript 1.2 type-converting rules in addition to normal ECMA 262
          behaviour. So probably the code is JavaScript 1.2 but probably not
          deliberately so.

          Richard.


          Comment

          Working...