Results 1 to 3 of 3

Pop ups dont work

This is a discussion on Pop ups dont work within the osCommerce 2.2 Discussion forums, part of the osCommerce 2.2 Forums category; Can somebody help me out. Pops up just dont show products in IE or firefox. Appreciate any help. This thing ...

      
  1. #1
    New Member
    Join Date
    Oct 2005
    Posts
    12
    Rep Power
    0


    Default Pop ups dont work

    Can somebody help me out.

    Pops up just dont show products in IE or firefox.

    Appreciate any help. This thing is almost ready to go.


    http://www.belove7.com/epiphanyetc/

    Heres my pop up files
    popup_image.js
    Code:
    <script language="javascript"><!--
    var i=0;
    function resize() {
      if (navigator.appName == 'Netscape') i=10;
      if (document.images[0]) {
      imgHeight = document.images[0].height+65-i;
      imgWidth = document.images[0].width+30;
      var height = screen.height;
      var width = screen.width;
      var leftpos = width / 2 - imgWidth / 2;
      var toppos = height / 2 - imgHeight / 2; 
      window.moveTo(leftpos, toppos);  
      window.resizeTo(imgWidth, imgHeight);
      }
      self.focus();
    }
    //--></script>
    popup_window.js
    Code:
    <script language="javascript"><!--
    function popupWindow(url) {
      window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')
    }
    //--></script>
    popup_image.php
    Code:
    <?php
    /*
      $Id: popup_image.php,v 1.18 2003/06/05 23:26:23 hpdl Exp $
    
      osCommerce, Open Source E-Commerce Solutions
      http://www.oscommerce.com
    
      Copyright (c) 2003 osCommerce
    
      Released under the GNU General Public License
    */
    
      require('includes/application_top.php');
    
      $navigation->remove_current_page();
    
      $products_query = tep_db_query("select pd.products_name, p.products_image from " . TABLE_PRODUCTS . " p left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "' and pd.language_id = '" . (int)$languages_id . "'");
      $products = tep_db_fetch_array($products_query);
    
      $content = CONTENT_POPUP_IMAGE;
      $javascript = $content . '.js';
      $body_attributes = ' onload="resize();"';
    
      require(DIR_WS_TEMPLATES . TEMPLATENAME_POPUP);
    
      require('includes/application_bottom.php');
    ?>

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,500
    Rep Power
    567


    Default RE: Pop ups dont work

    Popups on your site work fine when I check...
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Oct 2005
    Posts
    12
    Rep Power
    0


    Default

    Thanks. Ya I turned off the mo pics. I thought I corrected my post. Sorry about that.

    My real problem is here

    http://oscdox.com/PNphpBB2-viewtopic-t-5739.html

Similar Threads

  1. Prev / Next Buttons dont work Print catalog
    By zues in forum osCMax v2 Features Discussion
    Replies: 0
    Last Post: 10-21-2006, 07:43 AM
  2. EasyPopulate dont work
    By cakemaker in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 07-17-2006, 04:28 PM
  3. categories dont work
    By altenter in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 07-24-2005, 08:04 AM
  4. Please help with BTS 1.2a and templates, dont know how!
    By Anonymous in forum osCMax v1.7 General Mods Discussion
    Replies: 0
    Last Post: 06-26-2004, 12:26 PM
  5. Dynamic DHTML Menu, dont work
    By robinson in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 03-11-2004, 04:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •