473,804 Members | 4,795 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

strange popup behaviour | IE 6.xx vs. everything else

Greetings -

I have a number of websites that make use of popups spawned by a user
clicking a link. Nothing fancy - here is typical code:

<a href="popup.htm l" target="pop_win "
onClick="msgWin dow=window.open ('','pop_win',
'resizable=no,w idth=600,height =300')"> click here</a>
Now, this works perfectly with Mozilla, Firefox, Opera - everything
except good old IE 6.xx (6.0.29, on my main machine). When I try this
link with IE, I get the following errors (in a little popup window).

Line: 146
Char: 1
Error: class not registered
Code: 0
URL: URL of the page with the preceding code

Any ideas what the problem is? Why is IE being so cranky? Too easy
just to blame Micro$oft, but when 80-90% of your users are still using
IE, its hard to ignore.
Jul 23 '05 #1
11 2042
A clue - for grins I tried loading the same page using a slightly
earlier version of IE on another machine - 6.0.28, to be precise.
Works fine. The 'upgrade' to 6.0.29 is related to the SP2 upgrade with
Windows XP.

So, I'm *guessing* that some of the security *upgrades" associated
with SP2 prevents some Javascripts from working that used to work.

OK - regardless of whether or not this is a good thing, the more
practical question is - what is a valid workaround? Any suggestions?

Thansk in advance...
Jul 23 '05 #2
VK
The new releases of IE have (finally!) a built-in popup blocker, and this
blocker (finally!) is turned on by default.

The workaround would be to stop using popups. You have the entire browser
screen in your disposition. It is plenty enough to say and show to your
visitors whatever you have to say and show.
Jul 23 '05 #3
On Wed, 8 Dec 2004 14:02:52 +0100, "VK" <sc**********@y ahoo.com>
wrote:
The new releases of IE have (finally!) a built-in popup blocker, and this
blocker (finally!) is turned on by default.
Whoop-ti-do - Mozilla has had it for years. Can tabbed browser be far
behind? :-)

The workaround would be to stop using popups. You have the entire browser
screen in your disposition. It is plenty enough to say and show to your
visitors whatever you have to say and show.


That is your opinion - for some purposes, the popup paradigm works
perfectly well, and is in fact more convenient than having the user
have to toggle back and forth between pages. I don't dispute that
popups can be overused, but not always.

Moreoever, there are a lot of authentication schemes out there that
use popups. I've just tried accessing a number of secure sites, and
they've all crashed and burned with IE, because of the popup problem.

What I resent is that IE has the default set to block ALL popups.
Mozilla takes a better approach (to popups, and about everything else
too). No blocking UNLESS you request it.

I'm toying with using IE redirects to a generic page asking people to
dump IE in favor of a less draconian browser.
Jul 23 '05 #4
On Tue, 07 Dec 2004 17:04:04 -0500, co*****@NOSPAMv erizon.net wrote:
Greetings -

I have a number of websites that make use of popups spawned by a user
clicking a link. Nothing fancy - here is typical code:

<a href="popup.htm l" target="pop_win "
onClick="msgWi ndow=window.ope n('','pop_win',
'resizable=no, width=600,heigh t=300')"> click here</a>

More curious - with IE, you can "allow" popups from certain sites.
But, for some reason, even when I try explicitly allowing popups from
my server, the preceding code still yields the same error message.

Line: 146
Char: 1
Error: class not registered
Code: 0
URL: URL of the page with the preceding code
This makes no sense at all - what does it mean when it says 'class not
registered'? Moreoever, I've looked at line 146, and in fact it isn't
even part of the code that pops up the window.

Weird...suggest ions?
Jul 23 '05 #5
On Wed, 08 Dec 2004 09:26:24 -0500, <co*****@NOSPAM verizon.net> wrote:
On Wed, 8 Dec 2004 14:02:52 +0100, "VK" <sc**********@y ahoo.com> wrote:
The new releases of IE have (finally!) a built-in popup blocker, and
this blocker (finally!) is turned on by default.
Whoop-ti-do - Mozilla has had it for years.


That's his point! IE lags behind every other modern browser in the market.
It's a shame its users don't realise that.
Can tabbed browser be far behind? :-)
Yes. I wouldn't expect it to appear on IE 6. You'll have to wait for the
new version that will be released with Longhorn (and only Longhorn, as I
understand it). That's around two years away and most Windows users will
still be using prior IE versions.
The workaround would be to stop using popups. You have the entire
browser screen in your disposition. It is plenty enough to say and show
to your visitors whatever you have to say and show.


That is your opinion - for some purposes, the popup paradigm works
perfectly well, and is in fact more convenient than having the user have
to toggle back and forth between pages.


Surely a properly designed page wouldn't require users to toggle backwards
and forwards?
I don't dispute that popups can be overused, but not always.
I agree that pop-ups have some limited uses, but the ones I can think of
at the moment can still be replaced by other means. I read again and again
that people in usability studies dislike pop-ups of all kinds. Couple that
with pop-up blockers (smart and total blockers), accessibility laws, and
the number of people (which may be increasing) which disable Javascript
entirely, and you have a technique that is no longer viable on the Web.
Moreoever, there are a lot of authentication schemes out there that use
popups.
So? That doesn't make pop-ups a good idea.
I've just tried accessing a number of secure sites, and they've all
crashed and burned with IE, because of the popup problem.
Precisely why a system shouldn't rely on them.

[snip]
I'm toying with using IE redirects to a generic page asking people to
dump IE in favor of a less draconian browser.


The "draconian" state is the least concern for IE users.

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #6
VK
> I don't dispute that
popups can be overused, but not always.
Exactly, and if someone is trying to reach your local file system, it is not
necessary to format your disk, the intentions could be the most harmless.
Unfortunately, one cannot teach the browser to determine your real
intentions. Gosh, people themselves cannot do it!

If popup is a such important part of your authentication schemes, you could
use a Java applet. Java frames are not impacted (yet :) by popup blockers.

I'm toying with using IE redirects to a generic page asking people to
dump IE in favor of a less draconian browser.


"Stop the Earth, I want to exit here!" :-)
Emotional, but non-productive. We have to deal with the world, however
imperfect it is :-)
Jul 23 '05 #7
On Wed, 8 Dec 2004 15:58:10 +0100, "VK" <sc**********@y ahoo.com>
wrote:
I don't dispute that
popups can be overused, but not always.
Exactly, and if someone is trying to reach your local file system, it is not
necessary to format your disk, the intentions could be the most harmless.
Unfortunatel y, one cannot teach the browser to determine your real
intentions. Gosh, people themselves cannot do it!

If popup is a such important part of your authentication schemes, you could
use a Java applet. Java frames are not impacted (yet :) by popup blockers.


No "my" authetication schemes, but those used by a number of
commercial sites.

I'm toying with using IE redirects to a generic page asking people to
dump IE in favor of a less draconian browser.


"Stop the Earth, I want to exit here!" :-)
Emotional, but non-productive. We have to deal with the world, however
imperfect it is :-)

No, I'm Canadian, which (as several of my American colleagues tell
me), is getting close - why would I need to exit? :-)
Jul 23 '05 #8
Surely a properly designed page wouldn't require users to toggle backwards
and forwards?
Not true - think of all the applications out there that have multiple
windows. Same thing applies to highly dynamic web sites. Often it is
more efficeint to have mutiple windows, which you can tile, or
cascade, as needed. You can't always cram everything on a single page,
and scrolling down is no more/less efficient than toggling back and
forth.

Popups have their place. Just, not with IE, it would seem.
I don't dispute that popups can be overused, but not always.
I agree that pop-ups have some limited uses, but the ones I can think of
at the moment can still be replaced by other means. I read again and again
that people in usability studies dislike pop-ups of all kinds. Couple that
with pop-up blockers (smart and total blockers), accessibility laws, and
the number of people (which may be increasing) which disable Javascript
entirely, and you have a technique that is no longer viable on the Web.


Personally, I find CSS/DHTM more annoying, but its use is increasing,
not decreasing. To each their own...


The "draconian" state is the least concern for IE users.


True - I only use it to test websites, and to access MS updates page.
Jul 23 '05 #9
Aside from the philosophical mutterings about the utility (or not) of
popup windows, I was more concerned by said error messages. Made no
sense.

So, being anal, I tried everything, and finally came across the brute
force fix - I decided it must be a problem with IE, and not my code
(which is as generic as you can get). Since you can re-install IE on
an XP box (not easily), you can do almost the next best thing be
re-registering all of the IE services. Which I did - and lo,
everything now seems to work just fine. IE now gives me the option of
allowing specified popups.

One of the folks I talked to at MS said that sometimes this is a
necessary fix when IE starts misbehaving. I said a better fix would be
to dump IE entirely. They laughed. Maybe the evil empire is developing
a sesne of humour. :-)
Jul 23 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1542
by: Grzegorz Kaczor | last post by:
Hello all, I've got a VERY strange network problem with Win2k Server and .NET. I've got one central server (hub) getting raw binary data (files) from many locations. Both server and clients are written in C# The server is quite simple: two threads, one accepts new connections and decides whether the client is authenticated to send data or not, and the other thread serves already connected clients: performs a Socket.Select and then...
2
1978
by: Paul Drummond | last post by:
Hi all, I am developing software for Linux Redhat9 and I have noticed some very strange behaviour when throwing exceptions within a shared library. All our exceptions are derived from std::exception. We have a base class which all processes derive from which is always instantiated in main surrounded by a try/catch(std::exception) which catches all exceptions that have not be handled at a higher level. The catch block cleans up and...
3
1955
by: Dan | last post by:
First, I'm sorry if this question has been asked too many times. I'm new to this news group. The question has to do with the use of popup windows in a web page. I have heard that popup windows should be avoided; due to use of popup blockers and browser that do not process javascript. Is the use of popup windows bad design? Will it severly reduce the usage of our web page?
9
1504
by: Abby Lee | last post by:
http://www.ncsa.uiuc.edu/Divisions/Admin/reimb.asp There is just too much code to place here. onChange you trigger a function to add the numbers in the the column you entered an amount in (scripts have been made for only the first 2 columns). The information is passed to a second function that adds all the numbers in the row you are in and puts a total at the end. This part works great unless you place an "8", "88", "888", etc. in the...
0
1252
by: Grzegorz Kaczor | last post by:
Hello, I've got a VERY strange network problem with Win2k Server and .NET. I've got one central server (hub) getting raw binary data (files) from many locations. Both server and clients are written in C# The server is quite simple: two threads, one accepts new connections and decides whether the client is authenticated to send data or not, and the other thread serves already connected clients: performs a Socket.Select and then gets...
18
2990
by: Colin McGuire | last post by:
Hi - this was posted last weekend and unfortunately not resolved. The solutions that were posted almost worked but after another 5 days of working on the code everynight, I am not further ahead. If you do have any ideas I would really like to hear them. Thanks Colin - 0 - 0 - 0 - I want a glorified popup/context menu on a button that shows only when
11
7354
by: Alex.Svetos | last post by:
Hello, I'm trying to get a popup to keep focus when it is re-clicked. The script below is supposed to produce this exact behaviour, however it doesn't work, at least on firefox 1.0.7 and moz 1.7.12 (linux kubuntu). It does work with konqueror. It seems to work with firefox on windows but not with IE (not completly sure though).
1
2609
by: adamredwards | last post by:
I have a page with some form elements that are dynamically generated. They are inserted into the dom by first cloning a node, changing the values like name, and then inserted with insertBefore(). When a field gets added, a link that opens a popup window is next to it. The popup is opened and has the name of the parent element it should change in it. The user can use the popup to get a list of results. In the results I would like them...
0
145
by: michelqa | last post by:
Hi, I use sendMessage to retrieve information from another application. For some obscur reasons, my code work only in a button click event and nowhere else in my application. I mean I get unexpected result depending where the code is placed in my application ?!?!?!?!? Here is my code: ================================
0
10577
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10320
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10077
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9150
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7620
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6853
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5521
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4299
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.