473,396 Members | 2,129 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,396 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 1115
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Chad | last post by:
I'm in an intro to VB.net class. I'm haveing trouble with this assignment, if anyone could help me please let me know. thanks! Coding Assignment 7-Chapter 8 OOP-CSCI-171 Intro to VB.NET ...
2
by: Harfin | last post by:
Hi I am putting together a website to inform all my friends about our group holiday. At present I am using the following code <!--begin automatic page changer script--> <META...
1
by: arad | last post by:
I have a Flash animation page that runs for about 20 or 30 sec. Once the animation is done playing I want it to automatically go to the home page of my website. Is there some code that I can use to...
0
RedSon
by: RedSon | last post by:
Originally posted on www.developer.com/ws/proto/article.php/1377381 By Steve Schafer June 26, 2002 Edited by RedSon Understanding Decks WML pages are structured within "decks," allowing...
1
by: W. Watson | last post by:
In what library would I find gif.save(path), where path is the name and path of a file, and the method would produce a file in a gif format? Is there a fits.save(path) somewhere? fits is commonly...
6
by: shapper | last post by:
Hello, When styling a DIV as follows: <div id="intro" class="Intro">Some intro text</div> Should I use a class: ..Intro {...} Or:
1
by: annabel59 | last post by:
I made a Flash intro for my website but when I open it in IE7 it gives error : expected object. It works fine in Mozilla. This is the code of the index.html file : <html> <head>...
1
by: Carl Banks | last post by:
On Aug 22, 7:12 pm, "W. eWatson" <notval...@sbcglobal.netwrote: There's nothing built in, but see the bisect module. It is a good way to determine which interval you are in, and you can...
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
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,...
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...
0
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...
0
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...

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.