|  | Posted by Tex John on 06/13/77 11:19 
Here's a working example:
 <script LANGUAGE="JavaScript">
 <!-- hide this script from non-javascript-enabled browsers
 function open_window(url,w,h) {
 var status_string =
 "resizable=no,location=no,status=no,toolbar=no,scrollbars=yes,left=10,top=10
 ,width="+w+",height="+h;
 open(url, "_blank", status_string);
 }
 function open_window_menu_on(url,w,h) {
 var status_string =
 "resizable=no,location=no,status=no,menubar=yes,toolbar=yes,scrollbars=yes,l
 eft=10,top=10,width="+w+",height="+h;
 open(url, "_blank", status_string);
 }
 -->
 </script>
 
 <a href="javascript:open_window_menu_on('print1.php?number=<?php echo
 $p_id_property ?>',750,800)">Print Brochure</a>
 
 http://www.mozilla.org/docs/dom/domref/dom_window_ref76.html
 
 hth,
 John
 
 "Drisco" <dbenayad@hotmail.com> wrote in message
 news:1119479787.649531.273610@g43g2000cwa.googlegroups.com...
 I have been stuck for 2 days now trying to get my queries opened in
 popup window with certain size, no scroll and no address bar. Here is
 my link that right now opens in a _blank target
 
 < a href="video_pop.php?GenderID=<?php echo
 $row_rs_Gender['GenderID']; ?> " target="_blank"class ="centerTable">
 <img src="<?php echo $row_rs_Gender['Pic1']; ?>" border="0"></a>
 
 Any help would be much appreciated
 Drisco
  Navigation: [Reply to this message] |