[Javascript] Still looking for menu code

Filipiak, Bob (Contractor) filipiab at atsc.army.mil
Tue Jul 24 11:11:40 CDT 2001


I don't know how your browser is configured, but my browser pops up a dialog
box asking if I want to open the file or save it. The contents of main.js
wont appear on your screen, they are JavaScript code. If they downloaded to
your browser you would see a blank screen and then you would have to View
Source to actually see the contents of the JavaScript file.

Bob Filipiak (Contractor)
MCP 

-----Original Message-----
From: Pete Holsberg [mailto:pjh at mccc.edu]
Sent: Tuesday, July 24, 2001 11:24 AM
To: javascript at latech.edu
Subject: RE: [Javascript] Still looking for menu code


On Tue, 24 Jul 2001, Filipiak, Bob (Contractor) wrote:

> 1. You have to change the references (e.g.
> '/images/left_nav/nav_on_business.gif' ) to your graphic.
> The reference is looking for a
> '/images/left_nav/nav_on_business.gif' on your hard
> drive. You need to modify the code to fit your situation.

I'm not sure I follow. You asked me to open
www.foxnews.com/main.js. I tried that and got an error
message; the contents of main.js did not appear on my
screen. What did I do wrong?

> 2. JavaScript is not that difficult to learn. There are
> lots of scripts out there that you can modify. Take a
> look at Peter-Paul Koch's http://www.xs4all.nl/~ppk/js/
> for some good explanations. 

Thanks.

> On Mon, 23 Jul 2001, Filipiak, Bob (Contractor) wrote:
> 
> > Try http://www.foxnews.com/main.js	and save the file to your hard
> > drive. 
> 
> Javascript error:
> 
> JavaScript Error: [unknown origin], line 28:
> 
> illegal URL method
> '/images/left_nav/nav_on_business.gif'. 
> JavaScript Error: [unknown origin], line 28:
> 
> illegal URL method
> '/images/left_nav/nav_on_business.gif'. 
> 
> ???

_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010724/09486883/attachment.htm>


More information about the Javascript mailing list