This is a discussion on JavaScript help needed, please? within the JavaScript forums, part of the Beginners AJAX category; 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 ...
|
|||||||
| JavaScript JavaScript is the name of Netscape Communications Corporation's and now the Mozilla Foundation's implementation of the ECMAScript standard, a scripting language based on the concept of prototype-based programming. The language is best known for its use in websites (as client-side JavaScript), but is also used to enable scripting access to objects embedded in other applications. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Mar 2007
Posts: 1
Rep Power: 0 ![]() |
JavaScript help needed, please?
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):What would I have to do to get babywindow.html to come up without the user having to click "Home" first?Thanks.Thanks very much, everyone. Hardcoding that the index.html should go to babywindow.html is exactly what was needed.
__________________
<a href="http://developer.yahoo.com/about"><img src="http://us.dev1.yimg.com/us.yimg.com/i/us/nt/bdg/websrv_120_1.gif" border="0"> </a> |
|
|
|
| Sponsored Links | |
|
|
#2 (permalink) |
|
Junior Member
Join Date: Mar 2007
Posts: 1
Rep Power: 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
__________________
<a href="http://developer.yahoo.com/about"><img src="http://us.dev1.yimg.com/us.yimg.com/i/us/nt/bdg/websrv_120_1.gif" border="0"> </a> |
|
|
|
|
|
#3 (permalink) |
|
Junior Member
Join Date: Mar 2007
Posts: 1
Rep Power: 0 ![]() |
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.
__________________
<a href="http://developer.yahoo.com/about"><img src="http://us.dev1.yimg.com/us.yimg.com/i/us/nt/bdg/websrv_120_1.gif" border="0"> </a> |
|
|
|
![]() |
| Bookmarks |
|
|
| Thread Tools | |
| Display Modes | |
|
|