Thanks Mark.

Jan


Mark Groen wrote:

no problem, it's one that Jeff H., youngpup, or PPK left out in the
wild for an example, (stand on the shoulders of giants). You call it
in the html accessible-wise thusly:

<body>
<a href="event-date.htm" onclick="openWin(this.href, this.target);
return false;" target="_blank">some text</a>
</body>

in the head of your doc this bit, (or use an include instead if you
prefer)

<script language="JavaScript" type="text/javascript">
<!-- hide from older browsers
    function openWin(vUrl,vTarget)
    {
      n =
open(vUrl,vTarget,'toolbar=0,location=0,status=0,menubar=0,scrollbars
=yes,resizable=0,top=20,left=70,width=400,height=350');
    }
  // -->
</script>


I don't know much about the script you're using, but can hazard a guess as to what might work. Also don't know what letter the appy you're using has for statusbar as scroll starts with an "s" as well, so will make up my own called "sb" (I left extra space between the ( ' ) apostrophes to see where the bits 'o winprops land, in case I mucked it up - untested eh ;-)

Begin
function openWindow(mypage,myname,sb,w,h) {
var winl=(screen.width-w)/2;
var wint=(screen.height-h)/2;
winprops = '   status='+sb+',  height='+h+',  width='+w+',
top='+wint+',   left='+winl+'    '
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) {
     win.window.focus(); }
   }End


hth!

cheers,

Mark



____ • The WDVL Discussion List from WDVL.COM • ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or use the web interface http://e-newsletters.internet.com/discussionlists.html/ Send Your Posts To: wdvltalk@lists.wdvl.com To change subscription settings, add a password or view the web interface: http://intm-dl.sparklist.com/read/?forum=wdvltalk

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to