Thread: Frame help.

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Location
    Hong Kong
    Posts
    73
    Rep Power
    15
    Hello,

    I have a page which is divided into 3 Frames.
    ( HeaderFrame, ContentFrame, FooterFrame )

    In FooterFrame, there is some webpages.
    (eg. file01.html, file02.html ...)

    I need to add some javasciprt codes in the file01.html, and make it open in Top Frame.

    how do u do it.
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    Go to-> http://www.essex1.com/people/timothy/js-index.htm

    There have more than what you ever needed.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 1999
    Posts
    84
    Rep Power
    16
    You dont need Javascript for that. Just put the target attribute in your links:

    <a href="page.html" target="nameofyourtopframe">

    Spookster

    ------------------
    Visit the WSAbstract Help Forum for your Javascript, DHTML, or General Web Design Questions

Similar Threads

  1. frame issue
    By salasadi in forum Java Help
    Replies: 6
    Last Post: April 2nd, 2004, 09:21 AM
  2. Script in one frame calling a script in another frame
    By JK99 in forum HTML Programming
    Replies: 8
    Last Post: October 14th, 2003, 10:42 PM
  3. Forcing a frame size (dynamically - with JavaScript??)
    By DEfusion in forum JavaScript Development
    Replies: 0
    Last Post: June 20th, 2003, 12:25 PM
  4. Replies: 0
    Last Post: February 28th, 2002, 04:12 PM
  5. calling function in another frame
    By jtchang in forum HTML Programming
    Replies: 1
    Last Post: December 19th, 2001, 06:01 PM

IMN logo majestic logo threadwatch logo seochat tools logo