Change 

onclick="window.open('index.cfm?id=23',

to

onclick="window.open(this.href,

This way, if you change your link's href,
you don't have to remember to change it in the 
javascript as well.

Also...while we're on sitepoint, you could
just look at Ian Lloyd's "perfect pop-up"
article http://www.sitepoint.com/article/perfect-pop-up

Patrick
________________________________
Patrick H. Lauke
Webmaster / University of Salford
http://www.salford.ac.uk
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************

Reply via email to