I realize this may not be the right group to post this, but I'm not having
much success elsewhere so I thought I'd give it a try...
In our application we have a link that opens a new window displaying the
contents of a page that can be customized by our end users. When we call
window.open() we save the resulting window reference so that if users
navigate away from our application we can close the window.
One of our customers has created a page using MS Word. I believe they are
saving it as a "Web Page", not a "Single File Web Page". When they click on
the link to open the window to display this page the page loads fine. The
problem is that when they close the window, the original window that opened
the pop up is frozen (i.e. it stops responding).
Something else that is really strange is that if we skip storing the window
reference returned by window.open(), the problem does not occur.
This only occurs on certain versions of IE 6. I am able to reproduce the
problem on IE 6.0.2800.1106 running on Win2K Pro.
This doesn't occur if the page that is opened just contains standard HTML.
I can't even reproduce it when I create my own test page using Word.
Has anyone else experienced anything like this before? 3 2416
TM360 wrote:
[...] This only occurs on certain versions of IE 6. I am able to reproduce the problem on IE 6.0.2800.1106 running on Win2K Pro.
This doesn't occur if the page that is opened just contains standard HTML. I can't even reproduce it when I create my own test page using Word.
I am tempted to say 'post the offending HTML', but knowing Word, it
will be seriously bloated and more hassle that it's worth.
Try removing slabs of stuff from the Word page until you have just the
bare minimum that still displays the behaviour. If what remains is
small enough, post it.
Alternatively, remove all the Word-specific stuff and leave just
'clean' HTML - there are a number of cleaning programs around (though I
can't recommend any, I never use Word to generate HTML!). There will be
slabs and slabs of style garbage that can be removed (anything starting
with 'mso-') and likely anything within '<!--[if gte mso 10]> ' tags.
Good luck.
--
Rob
I've seen that, not necessarily on your scenario specifically, is usually
a runtime processing on a loop or being recursive, so, the page is
'frozen', is really just looping through some processing over and over, as
if you'd give it a WHILE loop and the criteria to stop processing is
never met, but as the other fella said, it really depends on what browsers
and versions and maybe even platform is happening, post your code.
Danny
On Wed, 29 Jun 2005 16:44:08 -0700, TM360 <un*****@unknow n.com> wrote: I realize this may not be the right group to post this, but I'm not having much success elsewhere so I thought I'd give it a try...
In our application we have a link that opens a new window displaying the contents of a page that can be customized by our end users. When we call window.open() we save the resulting window reference so that if users navigate away from our application we can close the window.
One of our customers has created a page using MS Word. I believe they are saving it as a "Web Page", not a "Single File Web Page". When they click on the link to open the window to display this page the page loads fine. The problem is that when they close the window, the original window that opened the pop up is frozen (i.e. it stops responding).
Something else that is really strange is that if we skip storing the window reference returned by window.open(), the problem does not occur.
This only occurs on certain versions of IE 6. I am able to reproduce the problem on IE 6.0.2800.1106 running on Win2K Pro.
This doesn't occur if the page that is opened just contains standard HTML. I can't even reproduce it when I create my own test page using Word.
Has anyone else experienced anything like this before?
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
I figured out the offending "HTML". When you save a document as a web page
in Word it embeds some tags/attributes in the HTML to support Word Smart
Tags. The offending attribute was in the HTML tag:
xmlns:st1="urn: schemas-microsoft-com:office:smar ttags"
If I remove just this attribute, the problem goes away. Fortunately I don't
think this customer is actually using Smart Tags in their document. So in
the Tools | Options | Save tab they can just uncheck the checkbox labeled
"Embed Smart Tags". The new file no longer contains the Smart Tag support
and the problem goes away.
Of course I wish I could tell them to stop using freakin' Word as their HTML
editor, but alas...
I know this group is supposed to just be about JavaScript, but I thought I'd
post the solution here just in case anybody else has the same problem.
Thanks for the help.
"RobG" <rg***@iinet.ne t.auau> wrote in message
news:xY******** **********@news .optus.net.au.. . TM360 wrote: [...] This only occurs on certain versions of IE 6. I am able to reproduce the problem on IE 6.0.2800.1106 running on Win2K Pro.
This doesn't occur if the page that is opened just contains standard HTML. I can't even reproduce it when I create my own test page using Word.
I am tempted to say 'post the offending HTML', but knowing Word, it will be seriously bloated and more hassle that it's worth.
Try removing slabs of stuff from the Word page until you have just the bare minimum that still displays the behaviour. If what remains is small enough, post it.
Alternatively, remove all the Word-specific stuff and leave just 'clean' HTML - there are a number of cleaning programs around (though I can't recommend any, I never use Word to generate HTML!). There will be slabs and slabs of style garbage that can be removed (anything starting with 'mso-') and likely anything within '<!--[if gte mso 10]> ' tags.
Good luck.
-- Rob This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: hb |
last post by:
Hi,
Would you please tell me how to detect if the client's browser is closed?
I need such event to trigger a database modification.
Thank you
hb
|
by: WRH |
last post by:
Hello
I am new to asp but I made some Jscript functions which work
fine. The functions contain some strings used as a registration
key for some apps. It is important that these strings not be
visible to a client using a browser. My question is...can a
knowledgeable browser user view Jscript source code in an asp file?
|
by: Michael |
last post by:
Hi Everyone,
I hope someone else has had this problem. I recently started to use VS 2005
(vb.net) and today alone I have had to close VS 8 times while trying to code.
I have a least 130 controls on this form. I go to the form to get the name of
one of the controls and flip back to the code and paste the name into the
code window. I can do this about 10 times maybe, then suddenly the IDE stops
responding. The cursor switchs back and forth...
|
by: Geoff Fox |
last post by:
I am in the final moments of designing a new website. One of the pages
(http://www.auditionfactory.com/samples.php) has four links to show
sample work. I would like these links to open new browser windows when
clicked. I have found scripts that will allow one to open, and a few
that claim to all multiples to be opened, but so far nothing that will
allow a user to open multiple new windows as they click to see new
samples.
Does anyone...
|
by: imghani |
last post by:
Hi all,
I have developed an application in ASP.NET. I wanted that whenever a
user comes to my website, it opens browser in F11 mode.
I find the code to open browser in F11 mode (its javascript) but this
can be done in window.open method of javascript, but i don't want to
open a new window instead wanted that existing window opens as full
screen (as through F11).
Did some R & D but get no such solution, so what trick i decided to do
is:
| |
by: duzhidian |
last post by:
Hello All,
I am using Linux, php and mysql.
When I run my script, it will take a very long time. So when users
close their browsers, my scripts stop either. What I want to do is let
the script continue running and send an email at the end.
How can I successfully do that?
|
by: Mel |
last post by:
My main window pops a "remove control" window from which user clicks
on links that are displayed in parent window.
users however have a tendency of closing the parent window. How can i
check the existance of the parent window and if it does not exist open
a new one ?
thanks to all
|
by: Jimmy |
last post by:
Is it possible to open a pop-up browser window (modal-style) inside
another browser?
e.g.
// assuming something is calling this function inside the html as some
event got triggered
function doSomethingInDiffWindow() {
// do something
// open up a pop-up modal window
// continue back on doing something after pop-up modal window
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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...
|
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...
|
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();...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |