Results 1 to 1 of 1

Thread: Merging fullscreen popup script with another script

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

    Default Merging fullscreen popup script with another script

    Hello all..

    I am using this script which openes a page with frames in a popup window with a set page-size.

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

    ..but instead of pre-specified page size, I want the popup to open fullscreen and not hiding the the windows bar below, and I found this script for it.

    http://www.walsh100.force9.co.uk/scripts/popup/full.htm


    But how do I insert the functioning of that script in that frame generating script?

    I cannot use

    Code:
    <a href="javascript:popupWindow('popupwindow.htm')">
    as the popup is generated through an image-submit button with a search form.



    please help!
    thanks.
    Last edited by VatsaL; 12-21-2006 at 12:17 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
  •