[Javascript] Still looking for menu code

Pete Holsberg pjh at mccc.edu
Tue Jul 24 10:23:36 CDT 2001


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'. 
> 
> ???




More information about the Javascript mailing list