nukleuz9 Posted July 26, 2003 Posted July 26, 2003 hi , i have a html document that i woulld like to open with a new window from my default page. how do i set a desired window size of 500 by 300 pixels? my catalog/includes/languages/default is as follows <?php /* $Id: default.php,v 1.20 2003/02/14 12:51:58 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ define('TEXT_MAIN', 'If you are new to the whole shopping online experience we offer a little guided tour of how to use our website, please visit our <a href="http://www.ourshop.com.au/guided-tour.html"target="anotherWindowName"><u>OURSHOP.COM.AU guided tour</u></a> <br><br> Enjoy your shopping experience with OURSHOP.COM.AU'); define('TABLE_HEADING_NEW_PRODUCTS', 'Featured Products'); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); if ( ($category_depth == 'products') || ($HTTP_GET_VARS['manufacturers_id']) ) { define('HEADING_TITLE', 'Let's See What We Have Here'); define('TABLE_HEADING_IMAGE', ''); define('TABLE_HEADING_MODEL', 'Model'); define('TABLE_HEADING_PRODUCTS', 'Product Name'); define('TABLE_HEADING_MANUFACTURER', 'Manufacturer'); define('TABLE_HEADING_QUANTITY', 'Quantity'); define('TABLE_HEADING_PRICE', 'Price'); define('TABLE_HEADING_WEIGHT', 'Weight'); define('TABLE_HEADING_BUY_NOW', 'Buy Now'); define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.'); define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.'); define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: '); define('TEXT_SHOW', '<b>Show:</b>'); define('TEXT_BUY', 'Buy 1 ''); define('TEXT_NOW', '' now'); define('TEXT_ALL', 'All'); } elseif ($category_depth == 'top') { define('HEADING_TITLE', 'What's New Here?'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?>
joekalis Posted July 27, 2003 Posted July 27, 2003 Are you saying you want your store to pop up in a page with set size of 500x300? If so, that involved a bit of javascript, which you can rip off of my site at www.myredbarn.com If thats not what youre talking about, please specify what you mean. my signature was banned. so now i have this.
nukleuz9 Posted July 27, 2003 Author Posted July 27, 2003 how would i place that into my original code? it is for a guided tour that would open from the text on the default/welcom page script language="javascript"><!-- function popupWindow(url) { window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizab le=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=1 50') } //--></script>
joekalis Posted July 27, 2003 Posted July 27, 2003 You can throw that code into the <head></head> of your index.html file, I would imagine. my signature was banned. so now i have this.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.