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

    Join Date
    Jun 2000
    Posts
    71
    Rep Power
    14
    My site has a two frames. Perl script running in the top frame. And when form submitted, script should change the URL of the bottom frame. How can I change the URL of the bottom frame (or print something in it
    )with PERL script?

    I tried:

    print "<a href='www.someSite.com' target='bottomFrameName'nn>";
    and
    print "top.framename.location=http://mysite.com";nn";

    and it didn't help me
    (I'm not sure for syntax of these.)


    [This message has been edited by Pepe (edited June 19, 2000).]
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    >>How can I change the URL of the bottom frame

    Set the target within your <form> tag instead of printing it.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    71
    Rep Power
    14
    OK that would help if I have only 2 frames. But I have 1 frame with form, and 3 frames that need to change location after form is submitted: http://upitnik.net/special/hrt.html
  6. #4
  7. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    Your page http://upitnik.net/special/hrt.html is missing a </FRAMESET>.

    >>and 3 frames that need to change location after form is submitted

    What you can do is create 3 NEW files and write the output to them. Then print the frameset page to screen that contains your other 3 files.
    http://www.devshed.com/Talk/Forums/F...ML/000051.html

IMN logo majestic logo threadwatch logo seochat tools logo