external.menuArguments failiure ie6

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

    external.menuArguments failiure ie6

    os:xp pro sp1
    ie 6.2800.1106

    For some reason any java scripts that refers
    to 'external' fails:
    example:

    external.menuAr guments.documen t.body.style.zo om="100%";

    error message:
    'external.menuA rguments' is null or not an object
    code=0

    This behaviour started recently after some fix from
    microsoft was installed.

    Anyone have any ideas?



  • Richard Cornford

    #2
    Re: external.menuAr guments failiure ie6

    "bba" <no_spam@mail.n o.thx> wrote in message
    news:Xds0b.1299 $IJ6.14@newssvr 29.news.prodigy .com...[color=blue]
    >For some reason any java scripts that refers
    >to 'external' fails:
    >example:
    >
    >external.menuA rguments.docume nt.body.style.z oom="100%";
    >
    >error message:
    >'external.menu Arguments' is null or not an object
    >code=0
    >
    >This behaviour started recently after some fix from
    >microsoft was installed.
    >
    >Anyone have any ideas?[/color]

    The IE proprietary global external object has methods such as;
    addDesktopCompo nent, addFavorite, importExportFav orites and
    queryInterface. It does not contain frame objects, documents etc.

    My guess is that you have given a frame the name or ID 'external' and
    that has been working by overwriting the built in IE external object but
    Microsoft have recently done something like making the global 'external'
    property read only. Your only option is to re-name/ID the frame, but it
    is generally better to never use the same character sequence for an ID
    or name as is already in use as a browser DOM property name.

    Richard.


    Comment

    • Lasse Reichstein Nielsen

      #3
      Re: external.menuAr guments failiure ie6

      "Richard Cornford" <Richard@litote s.demon.co.uk> writes:
      [color=blue]
      > The IE proprietary global external object has methods such as;
      > addDesktopCompo nent, addFavorite, importExportFav orites and
      > queryInterface. It does not contain frame objects, documents etc.[/color]

      The menuArguments property refers to the window object of a
      contextmenu event.

      Another detail about the external object, is that it is IE only. Not only
      doesn't it exist in other browsers, but it doesn't even exist in other
      skins for the Microsoft HTML renderer (e.g., MyIE2, that I use when I
      need to test for IE).

      /L
      --
      Lasse Reichstein Nielsen - lrn@hotpop.com
      Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit. html>
      'Faith without judgement merely degrades the spirit divine.'

      Comment

      • bba

        #4
        Re: external.menuAr guments failiure ie6


        "Richard Cornford" <Richard@litote s.demon.co.uk> wrote in message
        news:bhtme9$k3v $1$8302bc10@new s.demon.co.uk.. .[color=blue]
        > "bba" <no_spam@mail.n o.thx> wrote in message
        > news:Xds0b.1299 $IJ6.14@newssvr 29.news.prodigy .com...[color=green]
        > >For some reason any java scripts that refers
        > >to 'external' fails:
        > >example:
        > >
        > >external.menuA rguments.docume nt.body.style.z oom="100%";
        > >
        > >error message:
        > >'external.menu Arguments' is null or not an object
        > >code=0
        > >
        > >This behaviour started recently after some fix from
        > >microsoft was installed.
        > >
        > >Anyone have any ideas?[/color]
        >
        > The IE proprietary global external object has methods such as;
        > addDesktopCompo nent, addFavorite, importExportFav orites and
        > queryInterface. It does not contain frame objects, documents etc.
        >
        > My guess is that you have given a frame the name or ID 'external' and
        > that has been working by overwriting the built in IE external object but
        > Microsoft have recently done something like making the global 'external'
        > property read only. Your only option is to re-name/ID the frame, but it
        > is generally better to never use the same character sequence for an ID
        > or name as is already in use as a browser DOM property name.
        >
        > Richard.
        >
        >[/color]


        "Richard Cornford" <Richard@litote s.demon.co.uk> wrote in message
        news:bhtme9$k3v $1$8302bc10@new s.demon.co.uk.. .[color=blue]
        > "bba" <no_spam@mail.n o.thx> wrote in message
        > news:Xds0b.1299 $IJ6.14@newssvr 29.news.prodigy .com...[color=green]
        > >For some reason any java scripts that refers
        > >to 'external' fails:
        > >example:
        > >
        > >external.menuA rguments.docume nt.body.style.z oom="100%";
        > >
        > >error message:
        > >'external.menu Arguments' is null or not an object
        > >code=0
        > >
        > >This behaviour started recently after some fix from
        > >microsoft was installed.
        > >
        > >Anyone have any ideas?[/color]
        >
        > The IE proprietary global external object has methods such as;
        > addDesktopCompo nent, addFavorite, importExportFav orites and
        > queryInterface. It does not contain frame objects, documents etc.
        >
        > My guess is that you have given a frame the name or ID 'external' and
        > that has been working by overwriting the built in IE external object but
        > Microsoft have recently done something like making the global 'external'
        > property read only. Your only option is to re-name/ID the frame, but it
        > is generally better to never use the same character sequence for an ID
        > or name as is already in use as a browser DOM property name.
        >
        > Richard.
        >
        >[/color]

        Actually what I was trying to do was to add some extra item to the context
        menu by adding some strings to the registry.

        [HKEY_CURRENT_US ER\Software\Mic rosoft\Internet Explorer\MenuEx t\25%]
        @="javascript:v oid(external.me nuArguments.doc ument.body.styl e.zoom=\"25%\") "

        It appears that this used to work, however I've tried on two xp pro's and
        one 98se and I get the same error.


        Comment

        Working...