[ Index ]
 

Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/includes/modules/pages/popup_coupon_help/ -> jscript_main.php (source)

   1  <?php
   2  //

   3  // +----------------------------------------------------------------------+

   4  // |zen-cart Open Source E-commerce                                       |

   5  // +----------------------------------------------------------------------+

   6  // | Copyright (c) 2003 The zen-cart developers                           |

   7  // |                                                                      |

   8  // | http://www.zen-cart.com/index.php                                    |

   9  // |                                                                      |

  10  // | Portions Copyright (c) 2003 osCommerce                               |

  11  // +----------------------------------------------------------------------+

  12  // | This source file is subject to version 2.0 of the GPL license,       |

  13  // | that is bundled with this package in the file LICENSE, and is        |

  14  // | available through the world-wide-web at the following url:           |

  15  // | http://www.zen-cart.com/license/2_0.txt.                             |

  16  // | If you did not receive a copy of the zen-cart license and are unable |

  17  // | to obtain it through the world-wide-web, please send a note to       |

  18  // | license@zen-cart.com so we can mail you a copy immediately.          |

  19  // +----------------------------------------------------------------------+

  20  // $Id: jscript_main.php 1969 2005-09-13 06:57:21Z drbyte $

  21  //

  22  ?>
  23  <script language="javascript" type="text/javascript"><!--
  24  var i=0;
  25  function resize() {
  26    if (navigator.appName == 'Netscape') i=10;
  27    if (document.images[0]) {
  28    imgHeight = document.images[0].height+45-i;
  29    imgWidth = document.images[0].width+30;
  30    var height = screen.height;
  31    var width = screen.width;
  32    var leftpos = width / 2 - imgWidth / 2;
  33    var toppos = height / 2 - imgHeight / 2;
  34    window.moveTo(leftpos, toppos);
  35    window.resizeTo(imgWidth, imgHeight);
  36    }
  37    self.focus();
  38  }
  39  //--></script>


Généré le : Mon Nov 26 16:45:43 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics