load a pop up window in certain position.

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default load a pop up window in certain position.

    Does anyone know a script that makes a new browser window opens in a certain position?

    and is there a way to tell the parent frame do not reload after calling another browse window?

    thanks
    Camila



    Keyt webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Page_Load not fired when window.open used to load window.
      Hello John, Did you mean that the problem only happens after you upgrade to VS 2003 and framework 1.1? Does the problem exist in VS 2002 and...
    2. Position Sized Browser Window
      Is there an extension to position a sized browser window? Thanks!
    3. window size and position
      Can somebody recommend a plug-in that lets me set exact window size and position? I know there is one, I just can't remember what the name of the...
    4. Getting NSDocument to load a file into current window
      Hi!, I am new to Cocoa, and was hopeing someone could help me with a little problem I was having. I am writing a simple hex editor, and would like...
    5. How do I position a window on the screen when it opens?
      Originally posted by Scott Try this: tell application "FileMaker Pro" open file "Mac HD:fb_company.fp5" set theWindow to name of first window...
  3. #2

    Default Re:load a pop up window in certain position.

    Try this

    function windowOpener(page){
    window.open(page,"windowRef","width="100",height=" 100",top=10,left=10,screenX=10,screenY=10,toolbar= 0,location=0,directories=0,status=0,menubar=0,scro llbars=1,resizable=1");
    }

    Just change the top,left,screenX and screenY to the position you want.

    I am not sure I understand the second part, but I assume you don't want the main window to reload when the popup is activated.

    <a href="javascript:void(0)" onclick="windowOpener('Page.htm')">Open Window</a>

    Ken


    If you never ask, you never get an answer.
    ScareCrow Application Development
    The ScareCrow Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139