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

    Join Date
    Jan 2000
    Posts
    108
    Rep Power
    15
    Hello.

    Is it possible to change a frame's location (not the one the cgi script is loading onto) with a Perl CGI script?

    One possible suggestion is to load javascript onto the first frame, that will change the location of the second frame, but I am looking for something directly in the CGI.

    Thanks! http://www.datera.com
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 1999
    Posts
    119
    Rep Power
    16
    perl is (for the most part) server side, while frames and HTML are client side. If you want to change the frame that a page is loading in, JS is the language to use.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Location
    USA
    Posts
    67
    Rep Power
    15
    yoshi...
    im not sure what you mean by change a frames location. coudl you clarify plz
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2000
    Posts
    108
    Rep Power
    15
    I mean change the URL of the bottom frame with a CGI in the top frame.

    yoshi http://www.datera.com
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Location
    USA
    Posts
    67
    Rep Power
    15
    ok, i see... you could use your perl to print this code into the top frame


    <a href='www.someSite.com' target='bottomFrameName'>

IMN logo majestic logo threadwatch logo seochat tools logo