About Us Community Tools Publications & Interviews What's New
     

Pop-up Window

To make a pop-up window, use the link button in the edit toolbar.
Put the node address of the page you want to pop-up in the URL field.
In the Target tab choose pop-up window from the Target list.
Set the options you want from the Pop-up Window Features.

OR

Here is  text for the link that pops up Dr. Art Hanson's video in /node/3314
<a onClick="window.open('/node/3301', 'popup','width=380,height=340,scrollbars=yes, resizable=yes,toolbar=no,directories=no,location=no,menubar=no, status=no,left=380,top=250'); return false" href="javascript:void(window.open('/node/3301','','resizable=yes,location=no, menubar=no,scrollbars=yes,status=no,toolbar=no,fullscreen=no,dependent=no'))"> <strong>Dr. Art Hanson<br> <em>The bio-economic imperative</em></strong></a>

I borrowed this method from pop-ups somewhere in the previous version of the site.  I don't know if the double linking is necessary (both as href and as onclick).

Here's the code for the link that closes the window. 
<a href="javascript:window.close()" onClick="window.close(); return false">Close window.</a>
I think you can do the same thing by pasting
"javascript:window.close()" without the quotes into the URL field of a link.

Royal Roads UniversityAbout Us | Community Tools | Interviews & Publications | What's New |   ©2006