Skip Navigation

Add a Pop-Up Window to FrontPage Navigation

File Category Author Send email Website
2007100202 Navigation Ronx to Ronx www.rxs-enterprises.org

Add a link to a pop-up window

Add a link to a pop-up window to a FrontPage navigation bar


 Home ] FP Nav. Bars ] Mail-to hyperlink ] mailto link ] [ Pop-Up Navigation ] Pop-up Window ] 

  • First, open a page and type some text.  Use Use this text to create a normal link to a pop-up window. Using Jimco's Spawn, (download from Jimco Software) this link will be similar to:

    [this is all on one line]

    <a href="/fp/"
    onclick="spawnJimcoPopup('/fp/','npas','toolbar=no,location=no,
    directories=no,status=yes,menubar=no,scrollbars=no,resizable=yes',
    '625','790','center','center','pixel');return false;">link text</a>
    
  • Highlight and Copy (Ctrl+C) the function name and parameters, that is:
    [again, all this should be on one line]

    spawnJimcoPopup('/fp/','npas','toolbar=no,location=no,
    directories=no,status=yes,menubar=no,scrollbars=no,resizable=yes',
    '625','790','center','center','pixel');
    
  • Switch to Navigation View
  • Right-Click on the Home Page, and choose Add External Page or Add Existing Page (depends on version of FrontPage)
  • In the Address box, type:
    javascript:
    then Ctrl+V , that is paste in the function and parameter list.
  • Click OK
  • Change the text in the new yellow box (with a globe in the bottom
    left) to whatever should be displayed in the link.
  • Go back to your page and delete the temporary link.

The finished link bar will resemble:

 FP Nav. Bars ] Mail-to hyperlink ] mailto link ] [ Pop-Up Navigation ] Pop-up Window ] 

Every page that uses this link bar must have the pop-up javascript
included in the <head> section. Or place the code in an external .js
file, and link every page to the .js file.

Example:

<script type="text/javascript" language="javascript" src="rxsprogs.js"></script>

which should be placed in the <head> of every page.