|
imported>Aembrey |
(6 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | <nowiki>
| |
− | <script language="JavaScript">
| |
− |
| |
− | <!--
| |
− | function ViewImage(ifile,ix,iy,ititle) {
| |
− | var win;
| |
− | var sWidth;
| |
− | var sHeight;
| |
− | var NS = (document.layers) ? 1 : 0;
| |
− | win = window.open("","imageviewer","width="+ix+",height="+iy+",menubar=no,toolbar=no");
| |
− | if (NS) {
| |
− | sWidth = win.innerWidth;
| |
− | sHeight = win.innerHeight;
| |
− | } else {
| |
− | sWidth = win.document.body.clientWidth;
| |
− | sHeight = win.document.body.clientHeight;
| |
− | }
| |
− | if(sWidth!=ix || sHeight!=iy) {
| |
− | win.close();
| |
− | setTimeout("ViewImage('"+ifile+"',"+ix+","+iy+",'"+ititle+"')", 250);
| |
− | return;
| |
− | }
| |
− | win.document.open();
| |
− | win.document.write("<html><head><title>"+ititle+"</title>");
| |
− | win.document.write("</head><body>");
| |
− | win.document.write('<div style="position:absolute;width:'+ix+'px;height:'+iy+'px;left:0px;top:0px">');
| |
− | win.document.write("<img src="+ifile+"></div></body></html>");
| |
− | win.document.close();
| |
− | }
| |
− | // End -->
| |
− | </script>
| |
− |
| |
− | </nowiki>
| |
| {| cellpadding=5 cellspacing=5 style="border:1px solid black;" | | {| cellpadding=5 cellspacing=5 style="border:1px solid black;" |
| |- | | |- |
| |colspan=2 style="text-align:center;border:1px solid black;" |{{{1}}} | | |colspan=2 style="text-align:center;border:1px solid black;" |{{{1}}} |
| |- | | |- |
− | |style="height:120px;width:120px;" id=cell1 onClick=""| [[Image:{{{2}}}]]
| + | |[[Image:{{{2}}}|thumbnail|150px|left]] |
− | | |
| | {{{3}}} | | | {{{3}}} |
− | |-
| |
− | |colspan=2 style="text-align:center;border:1px solid black;"|[{{{4}}} website]
| |
| |} | | |} |