Results 1 to 1 of 1

Thread: UPDATED: Opening frames in a separate page and NOT by "document.write" - Please HELP!

  1. #1
    Join Date
    Apr 2006
    Location
    London
    Posts
    77
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation UPDATED: Opening frames in a separate page and NOT by "document.write" - Please HELP!

    Hello everyone

    I am using a search form which, on submission, uses document.write to produce a page with two frames.

    this is the document.write code:

    Code:
    function search2(item){
            stringPlus();
            resultsWindow=window.open('', 'SSearch', 'toolbar=yes,location=no,directories=no,status=yes,menubar=yes,width=1000,height=600,resizable=1,scrollbars=auto');
            resultsWindow.document.open();
            resultsWindow.document.write("<head><title>Images</title></head>");
            resultsWindow.document.write("<FRAMESET ROWS=9%,91% border=0><FRAME NAME='frame0' SRC='" + computeFrameSrc(0) + "'><FRAME NAME='frame1' SRC='" + computeFrameSrc(1) + "'></FRAMESET>");
            resultsWindow.document.close();
            got = 0;
    }


    How can I get these two frames two open up in a separate page, say results.htm, and NOT through document.write?

    It is a part of this script, which opens search results according to which boxes are checked.

    http://www.b3ta.cr3ation.co.uk/data/js/search.js

    I had edited the script, so that it would open the same results every single time.

    But how can I make the results open up in a separatly specified page rather than using document.write??


    HELPPP!

    many thanks,
    vatsal.
    Last edited by VatsaL; 12-21-2006 at 05:52 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
  •