Here's some simple code that opens a pop up window, most of these parameters, also take 1/0, as a on/off switch. The idea is to simple have a onClick event in the anchor tag, and ALSO a normal href="" and a target="_blank", so that users without script will also be able to click on it.

If you use this approach, with a extra target and href, remember to add a little "return false;" at the end of the onClick event, otherwise users with scripting turned on will get two windows! (one for the onClick, window.open method, and the other from the old href)

example

open a new pop up window

code

<a onClick="window.open('/sites/apc/index.html',
              'nameforpop','comma, seperated, values');return false;" 
	 href="/sites/apc/index.html" 
	 target="_blank">open a new pop up window</a>

Possible parameter as values:

property values notes
noresizable (standalone) works in IE5 and NS4
noscrollbars (standalone) works in IE5 and NS4
width= numeric value IE doesn't allow windows smaller than 100px, due to security reasons
height= numeric value IE doesn't allow windows smaller than 100px, due to security reasons
left= numeric value windows postion from the left egde of the screen, cannot go offscreen
top= numeric value windows postion from the top egde of the screen, cannot go offscreen
directories= yes/no  
location= yes/no  
menubar= yes/no  
toolbar= yes/no  
copyhistory= yes/no Netscape only, copies the history object from parent
fullscreen= yes/no IE only
scrollbars= yes/no  
menubar= yes/no  
resizable= yes/no  
status= yes/no  

Use them like so:

window.open('/sites/apc/index.html','nameforpop',
            'resizable=no, scrollbars=yes, status=no');

Warnings

Most of these properties havent been tested, and I know for one, that IE5.0 has some problems with resizable=no, when I get around to it, I'll check each feature out in both browsers, and note down what does what in what browser.