473,394 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

external.menuArguments failiure ie6

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
3 3876
"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
"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ida | last post by:
Hi, I am trying to build an dll with Microsoft Visual C++ but during the linking phase I get linking errors. Script.obj : error LNK2019: unresolved external symbol __imp__PyString_AsString...
47
by: Richard Hayden | last post by:
Hi, I have the following code: /******************************** file1.c #include <iostream> extern void dummy(); inline int testfunc() {
1
by: Aravind | last post by:
we have two files: 1. rc4.c (defines one function "create_pin()") 2. MyImpl.c(calling the function "create_pin()"),This implements JNI method. 1.When I am trying to create .dll file with one...
5
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As...
3
by: al.cpwn | last post by:
do static and inline functions or members have internal linkage? I have been reading this newsgroup on google and found conflicting ideas. Can someone please help me understand why in some places...
2
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: ...
6
by: sadegh | last post by:
Hi I have a problem with my program in VC++6 When I compile it, the following errors are listed. I spend a lot of time on the groups.google.com to find its reason, but none of comments could...
0
by: Ryan Gaffuri | last post by:
hlink72@hotmail.com (Eric) wrote in message news:<ab8d8b14.0308220550.54fb5f22@posting.google.com>... LNK1120 is a standard C++ error. you using Visual C++? Means your references a class that...
2
by: =?Utf-8?B?YmFzaA==?= | last post by:
Hello, I am compiling a CPP code using Visual studion .net 2003. I get the following error, despite having windldap.h and wldap32.dll in my include and lib paths. Here is the error. uuid.lib...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.