Freepages-Help-L Archives
Archiver > Freepages-Help > 2003-09 > 1064705741
From: "Adrian Furniss" <>
Subject: Re: [FreeHelp] Runtime Error?
Date: Sun, 28 Sep 2003 00:35:41 +0100
References: <20030927173400.51984.qmail@web41313.mail.yahoo.com>
Jeanne,
What you are seeing is a JavaScript error associated with the scripts that
Rootsweb inserts to make the banners appear (and don't we just love them).
However, I do not see such an error on the page to you refer to.
The only time I have managed to provoke the error you report, is when
cribbing and debugging someone else's HTML from a page served by Rootsweb,
and (importantly) *forgetting* to remove all the banner scripts.
There are two script blocks per page when served by RW.
Near the top of each page (immediately following the BODY tag):
<SCRIPT LANGUAGE=JavaScript
src="http://images.rootsweb.com/free/f1.js"></script>
<SCRIPT LANGUAGE=JavaScript1.1
src="http://images.rootsweb.com/free/f2.js"></script>
<SCRIPT LANGUAGE=JavaScript
src="http://images.rootsweb.com/free/f3.js"></script>
<center><SCRIPT LANGUAGE=JavaScript>OAS_AD('Top');</SCRIPT></center>
Near the bottom of each page (immediately preceding the /BODY tag):
<center><table border=1 bordercolor=#000000><tr><td colspan=4
bgcolor=#000000><font color=#ffffff><b>Our
Sponsors</b></font></td></tr><tr><td><script
language=javascript>OAS_AD('SpotA');</script></td><td><script
language=javascript>OAS_AD('SpotB');</script></td><td><script
language=javascript>OAS_AD('SpotC');</script></td><td><script
language=javascript>OAS_AD('SpotD');</script></td></tr></table></center>
<SCRIPT LANGUAGE=JavaScript>OAS_AD('Position1');</SCRIPT>
If (as I have done once or twice) you delete the top block but forget the
bottom block, then you will definitely see a JavaScript error like the one
you report. You will certainly see the error when checking the page on your
computer, and possibly if you re-upload a page to RW (or elsewhere) with the
banner code still intact. (Not too sure about this last point as I've never
(knowingly) tried it).
The reason why you are now seeing this error under XP, is most likely that
your browser under XP is set to report JavaScript errors whereas Win98 was
not.
In IE go to Tools > Internet Options > Advanced.
Two settings are relevant :
Disable script debugging (keep this checked)
Display a notification about every script error (keep this unchecked).
This will suppress error JavaScript error messages. It may however be a good
idea to keep the second of these settings checked if, as an HTML developer,
you want to see the errors that others will see.
I don't think I can offer any more advice, except to suggest checking your
local pages (i.e. on your own computer) for any of RW's banner code lurking
amongst your own HTML. The banner code should only ever be present in pages
served back to you (and the rest of the world) from the RW server.
Good hunting
HTH
Adrian
----- Original Message -----
From: "Jeanne Nelson" <>
To: <>
Sent: Saturday, September 27, 2003 6:34 PM
Subject: [FreeHelp] Runtime Error?
> I recently changed computers to one that uses
> Windows-XP operating sytem. Whenever I open some of my
> web sites, such as the one at
> http://freepages.genealogy.rootsweb.com/~bruce/lomnorway/
> I get an "Error" pop-up message that says something
> about a Runtime error. For example, one message says
> "A Runtime Error has occurred. Do you wish to debug?
> Line: 6, Error: 'OAS_url' is undefined."
> I will get several of these on a page.
>
> I never used to get these when I was using Windows 98.
> Is there something on my page that I need to correct
> to prevent these error messages from popping up? I
> would assume that they are as annoying for my visitors
> as they are for me.
>
> Regards,
> Jeanne Nelson
> ABSOLUTELY FAMILY!
> http://absolutelyfamily.homestead.com/
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
>
>
> ==== Freepages-Help Mailing List ====
> To submit your GEDCOM, visit WorldConnect at:
> <http://worldconnect.rootsweb.com>
> Click "Start Here" to create your account and submit or update your GEDCOM
>
> ==============================
> To join Ancestry.com and access our 1.2 billion online genealogy records,
go to:
> http://www.ancestry.com/rd/redir.asp?targetid=571&sourceid=1237
>
This thread:
| Re: [FreeHelp] Runtime Error? by "Adrian Furniss" <> |