1 |
<!-- Open longdesc of IMG (if any).
|
2 |
#name Open description in new window
|
3 |
#context image
|
4 |
-->
|
5 |
<script language="JScript" defer="defer">
|
6 |
var win = external.menuArguments;
|
7 |
var el = win.event.srcElement;
|
8 |
if (el.tagName == "IMG") {
|
9 |
if (el.longdesc) {
|
10 |
win.open (el.longdesc);
|
11 |
} else {
|
12 |
win.status = 'No description is available on this image.';
|
13 |
}
|
14 |
}
|
15 |
</script>
|
16 |
<!--
|
17 |
Copyright 2002 wakaba E<lt>w@suika.fam.cxE<gt>.
|
18 |
|
19 |
This program is free software; you can redistribute it and/or modify
|
20 |
it under the terms of the GNU General Public License as published by
|
21 |
the Free Software Foundation; either version 2 of the License, or
|
22 |
(at your option) any later version.
|
23 |
|
24 |
This program is distributed in the hope that it will be useful,
|
25 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
26 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
27 |
GNU General Public License for more details.
|
28 |
|
29 |
You should have received a copy of the GNU General Public License
|
30 |
along with this program; see the file COPYING. If not, write to
|
31 |
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
32 |
Boston, MA 02111-1307, USA.
|
33 |
|
34 |
$Date: 2002/03/30 13:47:55 $
|
35 |
-->
|