Actions  -  Pop-Up Window

litebulb

If you click on the “Lightbulb” picture to the left, and you’re using a JavaScript and CSS-aware browser (4.0 or later), a little popup window should appear about 100 pixels from the top and 100 pixels from the left on your screen.  This is done using Actions!

 

Here’s how:

  1. Create the HTML page you are going to use as the content for your pop-up window. Make sure to take note of this page’s final height and width (in the “General” tab of the Properties menu if you click on the Layout part of the page - you can get to it by selecting “Layout Properties” from the pop-up menu you get when you Right-Click on the page)
  2. Go to the page you wish to set a “Pop-Up” link on and create an image object there to create the link on
  3. Set the link to “Blank” from the “Smart Links” tab of the “Links” menu
  4. Select the “Actions” tab, and create an Action according to the following recipie:

    When -> Mouse -> Clicked
    Target -> (Layout of Page)
    Message -> Window -> Open Window
    Paremeters -> Values...

    Values:

    • Name: (Name of Window in Title Bar)
    • URL: (Select page in Link window)
    • Width: (Width of “Popup” page)
    • Height: (Height of “Popup” page)
    • Top: (# of pixels from top that the window should appear)
    • Left: (# of pixels from the left that the window should appear)
    • Toolbar: yes/no (toolbar in window?)
    • Menubar: yes/no (menubar in window?)
    • Location: yes/no (Location field in window?)
    • Staus: yes/no (Status Bar in window?)
    • Resizable: yes/no (is the popup window resizable?)
    • Directories: yes/no (URL in title bar?)
    • Scrollbars: yes/no (scrollbars in popup window?)
    ... and click on “OK”

Note:  All Actions described in this section have been tested with Fusion 3.x, 4.x, 5.x and MX.
           Actions will not currently work properly when viewed with Netscape 6.0

Go Back to Previous Page

Have a question that you can´t find the answer to? Want to report a possible bug?

Send a help request to NetObjects Technical Support