Re: JavaScript help

by Norman Bunn <norman.bunn(at)craftedsolutions.com>

 Date:  Mon, 23 Jun 2003 07:48:06 -0400
 To:  <raidermp(at)yahoo.com>,
<hwg-techniques(at)hwg.org>
 In-Reply-To:  f6470
  todo: View Thread, Original
At 05:54 AM 6/23/2003, Thomas Fisher wrote:
>Hello all;
>What I'm looking for, is just something I can place in the link tags to
>control the window, instead of something larger inside the head tags.
>If anyone has any suggestions, I'd appreciate the ideas.
>
>Thanks,
>Thomas


This should do it.

function open_window(url,winname,features){
         mywin = window.open(url,winname,features);
         mywin.focus();
         return false;
}

<a href="images/capjoint.jpg" onClick="open_window('images/capjoint.jpg', 
'Picture', 'toolbar=1, location=0, directories=0, status=0, menubar=0, 
scrollbars=0, resizable=1, width=540, height=405'); return false;" 
target="_blank" title="Click to View Larger Photo">

Norman
www.CraftedSolutions.com
803-405-1008 

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA