473,386 Members | 1,733 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,386 software developers and data experts.

Annoying JavaScript error, please help!

Hey everyone,

I may be repeating myself here, but if someone sent a reply then I missed
it, and I can't get Outlook Express to download any messages more than 2
days old.

Anyway, I'm having a problem with some new pages I am creating for the Web
site at www.weaverdevore.ca and I am wondering if anyone here might be able
to help. Here is a full description of the problem:

I keep getting a JavaScript error that occurs when I try to re-open a closed
popup window after it has been opened once with a javascript call. The
message reads:

The callee (server [not server application]) is not available and
disappeared; all connections are invalid. The call did not execute.

To see this error reproduced, go to www.weaverdevore.ca/?main2 (This is the
temp page I am testing on until it works. Please ignore the page not found
error in the bottom frame.)

Scroll down past the Flash advertisement to find a link labelled "Fraud
Protection Policy." It will open the first time you click on it, but after
closing it once it will produce this error and won't open it again. If you
click on one of products displayed even further down, you will see that
their popup works fine over and over. Also, if you click on any of the other
links that use popups they can all be opened again and again without error.
I tried duplicating popup pages that were working just fine and editing them
to the new format, and still the same thing. The new popup windows I want to
use for the site will be frames pages with a footer frame with print and
close buttons and an info display frame above them. I have tried standard
frames, as well as an inline frame (as the product view window uses). All
produce the same error as a result. I tried making the close button a
"submit" button and the form action a "javascript:parent.close()". I also
tried making the form action "NULL" and using an
onClick="javascript:parent.close()" and still the same error. I duplicated
the product information screen, changed it by modifying the buttons (which
are standard HTML image links, not form buttons) and even though the product
window works, this duplicated one produced the error. Here is the code I
made for the new popup:

function popupWin(name,addy,w,h) {
if ((w == 0) || (h == 0)) {
w = 750;
h = 500;
popupFile = "2";
}
else {
popupFile = "1";
}
LeftPosition = (screen.width) ? (screen.width - w)/2 : 0;
TopPosition = (screen.height) ? ((screen.height - h)/2)-50 : 0;
settings =
'width='+w+',height='+h+',top='+TopPosition+',left ='+LeftPosition+',status';
popupWin = window.open('http://www.weaverdevore.ca/main-pages/popup' +
popupFile + ".html?" + addy,name,settings);
}

This code is stashed in a .js file, but you can view all the other source
code of any of the pages with a right-click. I cannot see anything wrong
with my code, so if someone has any ideas I would appreciate if they could
please send me an email to te******@refundprocessors.com, even if the reply
is also posted here in the news group.

Thanks in advance,
Peter
Jul 20 '05 #1
2 2169
TeknoCat wrote:
Hey everyone,

I may be repeating myself here, but if someone sent a reply then I missed
it, and I can't get Outlook Express to download any messages more than 2
days old.


Then get a decent newsreader.

http://groups.google.com/groups?hl=e...ang.javascript

And a search within c.l.j for "TeknoCat" returned one thread, which
contains the answer to your question.

<URL:
http://groups.google.com/groups?hl=e...ang.javascript
/>

If OE can handle that line-wrapping URL.........
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/

Jul 20 '05 #2
Thanks for pointing me to Google groups, that seems to be much better.
"Randy Webb" <hi************@aol.com> wrote in message
news:M-********************@comcast.com...
TeknoCat wrote:
Hey everyone,

I may be repeating myself here, but if someone sent a reply then I missed it, and I can't get Outlook Express to download any messages more than 2
days old.
Then get a decent newsreader.

http://groups.google.com/groups?hl=e...ang.javascript
And a search within c.l.j for "TeknoCat" returned one thread, which
contains the answer to your question.

<URL:
http://groups.google.com/groups?hl=e...ang.javascript />

If OE can handle that line-wrapping URL.........
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/

Jul 20 '05 #3

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

Similar topics

10
by: Douglas Buchanan | last post by:
I am using the following code instead of a very lengthly select case statement. (I have a lot of lookup tables in a settings form that are selected from a ListBox. The data adapters are given a...
6
by: mark | r | last post by:
how do i automatically trigger functions like displaydate() in SP2 without getting that annoying security error. i use things like these almost every time on sites (see www.sicl.co.uk for my...
10
by: seanism | last post by:
Hello all I am new to javascript and I am attempting to write a site in JS / PHP to jump on the ajax band wagon. I am getting the following error and have not been able to locate a solution for it...
1
by: JumpingOffPlace | last post by:
Hi, I'm hoping that the wealth of knowledge here can stop me from spinning my wheels on this syntax error for hours. :) Below is the code, and the error I am recieving.... Code: <!DOCTYPE...
7
by: PI | last post by:
Hi Guys, I need some with this please. I have a bit of code which stores user selections within a cart and persists the cart using sessions. The user may at any time click a button to view the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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:
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...
0
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,...
0
jinu1996
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...

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.