472,784 Members | 836 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,784 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 1101
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...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.