By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,573 Members | 903 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,573 IT Pros & Developers. It's quick & easy.

external.menuArguments failiure ie6

P: n/a
bba
os:xp pro sp1
ie 6.2800.1106

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

external.menuArguments.document.body.style.zoom="1 00%";

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

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

Anyone have any ideas?

Jul 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
"bba" <no*****@mail.no.thx> wrote in message
news:Xd***************@newssvr29.news.prodigy.com. ..
For some reason any java scripts that refers
to 'external' fails:
example:

external.menuArguments.document.body.style.zoom=" 100%";

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

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

Anyone have any ideas?


The IE proprietary global external object has methods such as;
addDesktopComponent, addFavorite, importExportFavorites 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.
Jul 20 '05 #2

P: n/a
"Richard Cornford" <Ri*****@litotes.demon.co.uk> writes:
The IE proprietary global external object has methods such as;
addDesktopComponent, addFavorite, importExportFavorites and
queryInterface. It does not contain frame objects, documents etc.


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 - lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #3

P: n/a
bba

"Richard Cornford" <Ri*****@litotes.demon.co.uk> wrote in message
news:bh*******************@news.demon.co.uk...
"bba" <no*****@mail.no.thx> wrote in message
news:Xd***************@newssvr29.news.prodigy.com. ..
For some reason any java scripts that refers
to 'external' fails:
example:

external.menuArguments.document.body.style.zoom=" 100%";

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

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

Anyone have any ideas?
The IE proprietary global external object has methods such as;
addDesktopComponent, addFavorite, importExportFavorites 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.

"Richard Cornford" <Ri*****@litotes.demon.co.uk> wrote in message
news:bh*******************@news.demon.co.uk... "bba" <no*****@mail.no.thx> wrote in message
news:Xd***************@newssvr29.news.prodigy.com. ..
For some reason any java scripts that refers
to 'external' fails:
example:

external.menuArguments.document.body.style.zoom=" 100%";

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

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

Anyone have any ideas?


The IE proprietary global external object has methods such as;
addDesktopComponent, addFavorite, importExportFavorites 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.


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_USER\Software\Microsoft\Internet Explorer\MenuExt\25%]
@="javascript:void(external.menuArguments.document .body.style.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.
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.