September 01, 2003

Open Link In New Window

This code shows how to open a hyperlinked page in a new window. The open statement is included in the hyperlink itself -- not calling a routine in the page header...
1:<a href="http://careo.elearning.ubc.ca/weblogs/vschools/walking.gif" 

2:onclick="window.open
3:('http://careo.elearning.ubc.ca/weblogs/vschools/walking.html','popup'
4:,'width=188,height=294,scrollbars=no,resizable=no,
5:toolbar=no,directories=no,
6:location=no,menubar=no,status=no,left=0,top=0');
7:return false">Walking Man</a>..


Posted by sachauncey at September 1, 2003 04:00 PM