Results 1 to 4 of 4

Thread: IFrame SSI script II

  1. #1
    Join Date
    Dec 2004
    Location
    Portland, Oregon USA
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default IFrame SSI script II

    IFrame SSI script II

    I'm working with the IFrame SSI Script II (which I think is fantastic, btw) and have a question. My web site is a two-frame page (top frame is site navigation, bottom frame is page content) and I'm using the script in the lower frame, calling in an email form to fill the IFrame. Clear as mud so far? It's working really well until I submit the form. The submission works fine, but part of the submission process uses a hidden input field to redirect the user to a "Thank You" page. Unfortunately, this isn't working. Not only does the Thank you page not show up, but the "page cannot be found" error message comes up in the IFrame. What I'm wanting is for the Thank you page to fill the lower frame, not the IFrame.

    I realize this request probably constitutes customization beyond the scope of the script, but I was hoping someone could give me a hint on how to resolve this. Any comments are welcome.

    TIA
    Dami

    Edited to add: It helps if you use the right url in the redirect , so now the correct page shows up, but it loads in the IFrame. How do I get it to load in lower page frame?
    Last edited by Dami; 12-14-2004 at 02:16 PM.

  2. #2
    Join Date
    Dec 2004
    Location
    Portland, Oregon USA
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Any thoughts, anyone?

  3. #3
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Not sure at all if this will work, but try adding a target="framename" attribute inside your <form> tag. Usually this works in redirecting a form submission to a new window, though not sure about another frame.

    A related script for some inspiration is: http://www.javascriptkit.com/script/...rm2popup.shtml

  4. #4
    Join Date
    Dec 2004
    Location
    Portland, Oregon USA
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Awesome, thank you!!! I'll give it a shot.

    Edited to add: Works like a charm! Thanks again!
    Last edited by Dami; 12-15-2004 at 03:06 PM.

Bookmarks

Posting Permissions

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