471,091 Members | 1,553 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Astronomy intro page

Hi,

Can someone please advise me what's wrong with this page? For some
reason, half of the time it opens fine and the other half the time it
gives me an error message! What is it's problem?! I have been looking
through the scripts and I just can't see the issue (not that I know
that much about Java):

http://uk.geocities.com/aa_spaceagent/astroscience.html

Thanks heaps for any advice.
AA
Jul 23 '05 #1
5 1068
AA Institute wrote:
Hi,

Can someone please advise me what's wrong with this page? For some
reason, half of the time it opens fine and the other half the time it
gives me an error message! What is it's problem?! I have been looking
through the scripts and I just can't see the issue (not that I know
that much about Java):

The Javascript Console shows 2 errors, and a lot of warnings. Clean up
the code and it may actually work.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 23 '05 #2
AA Institute wrote:
Hi,

Can someone please advise me what's wrong with this page? For some
reason, half of the time it opens fine and the other half the time it


It also has the serious issue of doing browser detection for IE and old
Netscape, but nothing for newer browsers.

ns4 = (document.layers)? true:false;
ie4 = (document.all)? true:false;

There many pointers that this is very old code - 5 or 6 years old? It
could do with an update.
Jul 23 '05 #3
On 3 Dec 2004 16:13:46 -0800, AA Institute wrote:

I note that jmm-list-gn and RobG have already weighed in with comments
related to Javascript, so I will simply add..
(not that I know that much about Java):


As someone who knows a moderate amount about Java and an iota of
Javascript, I can tell you that they are *not* the same language.
<http://www.physci.org/codes/javafaq.jsp#js>

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
Jul 23 '05 #4
jmm-list-gn <jm***************@sohnen-moe.com> wrote in message news:<Jd********************@giganews.com>...
AA Institute wrote:
Hi,

Can someone please advise me what's wrong with this page? For some
reason, half of the time it opens fine and the other half the time it
gives me an error message! What is it's problem?! I have been looking
through the scripts and I just can't see the issue (not that I know
that much about Java):

The Javascript Console shows 2 errors, and a lot of warnings. Clean up
the code and it may actually work.


Would you happen to know what those two errors are by any chance? See,
I ddn't write the initial code so wouldn't know where to begin my
debugs, these are public domain stuff that I found on Javscripts.com.

If the cause of the problem is that I have 3 separate routines running
on the same page, I'd be willing to cut back. I have a zoom-fade, a
ticker and the star animations on that page. If it would solve my
problem, I could drop the zoom-fade.

Thanks for any further thoughts.

AA
Jul 23 '05 #5
AA Institute wrote:

The Javascript Console shows 2 errors, and a lot of warnings. Clean up
the code and it may actually work.


Would you happen to know what those two errors are by any chance? See,
I ddn't write the initial code so wouldn't know where to begin my
debugs, these are public domain stuff that I found on Javscripts.com.

Mozilla or Firefox's Javascript Console will pinpoint them for your. IE
kind of does if you have debugging enabled.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 23 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Chad | last post: by
1 post views Thread by W. Watson | last post: by
6 posts views Thread by shapper | last post: by
1 post views Thread by Carl Banks | last post: by

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.