A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Javascript: OnLoad loads another page?

  1. #1
    is not a good designer. No-Tec's Avatar
    Join Date
    Aug 2002
    Posts
    1,349

    Javascript: OnLoad loads another page?

    Is that possible? Say, you click a link that loads another page into a frame. Right? Than once that page is called it tells another frame to load a certain page? If so, what script could do that? Any help would be appreciated guys. thanks.

    I wanna do this because 1 link cant change 2 diff frames right?
    maybe.

  2. #2
    Registered User
    Join Date
    Feb 2001
    Posts
    13,039
    Hi,

    even one link can do it...
    <a href="a.html" onclick="otherframe.location='b.html'">click here</a>

    Musicman

  3. #3
    is not a good designer. No-Tec's Avatar
    Join Date
    Aug 2002
    Posts
    1,349
    how do i go about making a.html open in a new frame as well?

    -thanks for the help btw.

    -edit

    eh, i guess just like

    <a href="a.html" target="frame1" onclick="otherframe.location='b.html'">click here</a>


    ?
    Last edited by No-Tec; 09-08-2003 at 05:17 PM.
    maybe.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center