/[webpac]/trunk2/out/js/popup.js
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk2/out/js/popup.js

Parent Directory Parent Directory | Revision Log Revision Log


Revision 477 - (hide annotations)
Sun Sep 26 19:00:03 2004 UTC (19 years, 7 months ago) by dpavlin
File MIME type: application/javascript
File size: 365 byte(s)
support calling without any arguments (when it uses this) and with element.

1 dpavlin 477 function popup(link) {
2     var target = 'popup';
3     if (! link) link = this;
4     if (link.target) target = link.target;
5     alert("open "+link.href+" in "+target);
6     var popup_win = window.open(link.href,target,'width=400,height=400,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes');
7     if (popup_win) popup_win.focus();
8 dpavlin 470 return false;
9     }

  ViewVC Help
Powered by ViewVC 1.1.26