[Mediawiki-l] PopUps

Helmut Schneider jumper99 at gmx.de
Fri Mar 21 14:37:14 UTC 2008


Hi,

I need to open links from MediaWiki in an external window with a specific 
size. I used to use JavaScript but afaics JS is not supported by default. 
Before I start installing any extensions is it possible with MediaWiki? The 
script looks like this:

<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>vpe Intranet</title>
<script language="JavaScript" type="text/JavaScript">
<!--
 function PopupWindow(strLink, strSize) {
  F = window.open(strLink,"Popup",strSize);
 }
// -->
</script>
</head>
 - <a 
href="javascript:PopupWindow('/subwebs/3rdfloor.php','width=1050,height=730')">3. 
OG</a><br>
 - <a 
href="javascript:PopupWindow('/subwebs/4rdfloor.php','width=820,height=420')">4. 
OG</a><br>
 - <a 
href="javascript:PopupWindow('/subwebs/garage.html','width=800,height=680')">Garage</a><br>
</body>
</html>

Thanks, Helmut

-- 
No Swen today, my love has gone away
My mailbox stands for lorn, a symbol of the dawn 





More information about the MediaWiki-l mailing list