English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have a website that used to work many years ago with an ancient version of Internet Exploder. One page of it doesn't work anymore because of some simple JavaScript thing that I don't understand.

If you go to http://www.geocities.com/larrywph and click on the "About Me" link, you will see a frame come up on the left with the first link in the frame saying "Home". The thing pointed to by that link ("babywindow.html") is supposed to come up on the right automatically, but does not until you click on "Home". I don't understand why not.

The JavaScript on that page is this short bit (to be continued):

2007-03-18 12:19:43 · 2 answers · asked by Larry 6 in Computers & Internet Programming & Design

2007-03-18 12:20:00 · update #1

What would I have to do to get babywindow.html to come up without the user having to click "Home" first?

Thanks.

2007-03-18 12:20:45 · update #2

Thanks very much, everyone. Hardcoding that the index.html should go to babywindow.html is exactly what was needed.

2007-03-18 13:01:17 · update #3

2 answers

From my experience working with JavaScript and frames, I would think you don't need the JavaScript if you always want the same two pages loaded into the frames when the page with the frameset is loaded. Just specify "babywindow.html" for the src on the frame on the right in your stillness/index.html page.

2007-03-18 12:45:18 · answer #1 · answered by rknoblock 3 · 0 0

Not sure if it a script problem.

in the "http://www.geocities.com/larrywph/stillness/index.html" file there will be a line that opens "http://www.geocities.com/larrywph/stillness/200718" in the right frame.
this address need to be changed to "http://www.geocities.com/larrywph/stillness/babywindow.html"
this should work

2007-03-18 12:36:31 · answer #2 · answered by Nathan C 2 · 0 0

fedest.com, questions and answers