Does anyone know how to use the popup window script loacted at http://www.javascripter.net/faq/openinga.htm on text without using a form button...? pls explain how to do this Thanks
On a text link? Here is the simple way: <a href="no-js-fallback.htm" onclick="window.open(...); return false;">Open in new window</a> Code (markup):
try this: <a href="javascript:void(0)"onclick="window.open('{FILE}.htm','name','width={WIDTH},height={HEIGHT},scrollbars=no')">Open a new window</a> Code (markup): Replace: {FILE}: with the file name you want. {WIDTH}: with the width value {HEIGHT}: with the height value
You can still get rid of more, and there are a few more options as well: window.open(url, '', 'toolbar=no, directories=no, location=no, status=no, menubar=no, resizable=no, scrollbars=no, width=500, height=400, left=50, top=50'); Code (markup):