473,910 Members | 7,379 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1143
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.layer s)? 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******* *************@g iganews.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
2770
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 1. Create a Windows application that models a carton of eggs: Define a public class and call it cEggCarton to model the egg carton. Declare a module-scope object variable of type cEggCarton. Since we want the object to persist throughout the life...
2
4660
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 HTTP-EQUIV="Refresh" delay=35CONTENT= "35;URL=index1.htm"> <!--End automatic page changer script--> Is there a smoother way as this acts as a refresh ie can you fade out then fade in to the home page.
1
2567
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 accomplish this? thanks in advance, ar
0
7191
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 several pages ("cards") to be defined in each WML file. This deck analogy allows multiple pages to be delivered to the mobile client at the same time, minimizing the loading time between related pages. However, the limited memory on most devices...
1
1447
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 used in astronomical work. -- Wayne Watson (Nevada City, CA) Web Page: <speckledwithStars.net>
6
4457
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
2423
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> <title>ONDERWEG</title> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> <meta name="description" content="Nederlandstalige website voor alleenstaanden. Activiteiten, dinners en parties voor alleenstaanden."> <meta name="keywords"...
1
148
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 interpolate the points yourself. Carl Banks
0
10921
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10541
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9727
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7250
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5939
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6142
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4776
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4337
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3360
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.