Log in

View Full Version : Image enlarge with hover



forum
04-14-2007, 06:16 PM
Try to get this style of image enlarge - http://www.dynamicdrive.com/style/csslibrary/item/css-image-gallery/
but not success, Can any one tell me the coding?? or copy and paste?
Here is the complete POP UP File coding details:
<?php
/*
$Id: popup_image.php,v 1.18 2003/06/05 23:26:23 hpdl Exp $

osCommerce, Open Source E-Commerce Solutions
.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);
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo $products['products_name']; ?></title>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<script language="javascript"><!--
var i=0;
function resize() {
if (navigator.appName == 'Netscape') i=100;
if (document.images[0]) window.resizeTo(document.images[0].width +190, document.images[0].height+160-i);
self.focus();
}
//--></script>
</head>
<body onload="resize();">
<?php echo tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name']); ?>
</body>
</html>
<?php require('includes/application_bottom.php'); ?>

forum
04-16-2007, 03:07 PM
Alright let's forget about hoover part.
How can we enlarge 50plus images so that customer can see enlarge image upon clicking on thumbnail img? Coding as of now showing in my pop up file is already given in my previous post and need help on this.