001_MTV4
[Code] Trang shop cực đẹp
on 16/05/2012001_MTV4
loading...
Demo:
- Code:
http://hotro.forumvi.net/h9-page
Mình mới làm được 1 TRang shop đẹp muốn share cho moinj người.
nguồn: http://hoctap.123.st
- Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://[url=http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"][color=#666666]www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">[/color][/url]
<html xmlns="http://[url=http://www.w3.org/1999/xhtml"][color=#666666]www.w3.org/1999/xhtml"[/color][/url] dir="ltr" lang="en" xml:lang="en">
<head>
<title>- Fun Shop - Siêu Gấu Bông - Siêu Đẹp, Siêu Độc, Siêu Rẻ</title>
<meta name="description" content="The gioi gau bong, moc khoa, qua luu niem cho teen, gấu bông giá rẻ" />
<meta name="google-site-verification" content="zM5fnOoZl7eq-uT2a9FjWxIvz7o8Jz8ffkLBa6QgRUI" />
<base href="http://sikulashop.com/" />
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/stylesheet.css" />
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/ie6.css" />
<script type="text/javascript" src="catalog/view/javascript/DD_belatedPNG_0.0.8a-min.js"></script>
<script>
DD_belatedPNG.fix('img, #header .div3 a, #content .left, #content .right, .box .top');
</script>
<![endif]-->
<script type="text/javascript" src="catalog/view/javascript/jquery/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="catalog/view/javascript/gaubong.js"></script>
<script type="text/javascript" src="catalog/view/javascript/jquery/thickbox/thickbox-compressed.js"></script>
<link rel="stylesheet" type="text/css" href="catalog/view/javascript/jquery/thickbox/thickbox.css" />
<script type="text/javascript" src="catalog/view/javascript/jquery/tab.js"></script>
<script type="text/javascript"><!--
function bookmark(url, title) {
if (window.sidebar) { // firefox
window.sidebar.addPanel(title, url, "");
} else if(window.opera && window.print) { // opera
var elem = document.createElement('a');
elem.setAttribute('href',url);
elem.setAttribute('title',title);
elem.setAttribute('rel','sidebar');
elem.click();
} else if(document.all) {// ie
window.external.AddFavorite(url, title);
}
}
//--></script>
</head>
<body> <div id="container">
<div id="header"> <div class="div2"><img src ="http://lh4.ggpht.com/_FxdsQDJ1f84/TRq3GJTNBSI/AAAAAAAAFkE/YLcdLw_fjEU/z1.jpg"></img></div> <div style='clear: both;'></div>
<div class="div5">
<div class="div4">
<a href="http://hoctap.123.st/index.html" ><span>Diễn đàn</span></a>
<a href="http://hoctap.123.st/h8-page" ><span>Shop đồ nam</span></a>
<a href="http://hoctap.123.st/h11-page" id="tab_login"><span>Shop đồ nữ</span></a>
<a href="http://hoctap.123.st/h10-page" id="tab_checkout"><span>Liên Hệ</span></a>
</div>
</div>
</div>
<div style='clear: both;'></div>
<script type="text/javascript"><!--
function getProducts() {
$('#product option').remove();
$.ajax({
url: 'index.php?route=common/home/manufacturer&manufacturer_id=' + $('#category').attr('value'),
dataType: 'json',
success: function(data) {
for (i = 0; i < data.length; i++) {
$('#product').append('<option value="' + data[i]['product_id'] + '">' + data[i]['name'] + '</option>');
}
}
});
}
//--></script>
<script type="text/javascript"><!--
function getURLVar(urlVarName) {
var urlHalves = String(document.location).toLowerCase().split('?');
var urlVarValue = '';
if (urlHalves[1]) {
var urlVars = urlHalves[1].split('&');
for (var i = 0; i <= (urlVars.length); i++) {
if (urlVars[i]) {
var urlVarPair = urlVars[i].split('=');
if (urlVarPair[0] && urlVarPair[0] == urlVarName.toLowerCase()) {
urlVarValue = urlVarPair[1];
}
}
}
}
return urlVarValue;
}
$(document).ready(function() {
route = getURLVar('route');
if (!route) {
$('#tab_home').addClass('selected');
} else {
part = route.split('/');
if (route == 'common/home') {
$('#tab_home').addClass('selected');
} else if (route == 'information/information&information_id=1') {
$('#tab_gioithieu').addClass('selected');
} else if (route == 'product/thuthuat') {
$('#tab_ttdt').addClass('selected');
} else if (route == 'information/information&information_id=2') {
$('#tab_muahangtuxa').addClass('selected');
} else if (route == 'account/login') {
$('#tab_login').addClass('selected');
} else if (route == 'account/create') {
$('#tab_create').addClass('selected');
} else if (part[0] == 'account') {
$('#tab_account').addClass('selected');
} else if (route == 'information/contact') {
$('#tab_lienhe').addClass('selected');
} else if (part[0] == 'checkout') {
$('#tab_checkout').addClass('selected');
} else {
$('#tab_home').addClass('selected');
}
}
});
//--></script>
<script type="text/javascript"><!--
$('#search input').keydown(function(e) {
if (e.keyCode == 13) {
moduleSearch();
}
});
function moduleSearch() {
url = 'index.php?route=product/product&product_id=' + $('#product').attr('value');
location = url;
}
//--></script>
<script type="text/javascript"><!--
$('.switcher').bind('click', function() {
$(this).find('.option').slideToggle('fast');
});
$('.switcher').bind('mouseleave', function() {
$(this).find('.option').slideUp('fast');
});
//--></script>
<div id="column_left">
<div class="box_supplier">
<div class="top"> </div>
<div class="middle"><table class="***"><tr><td><b> - </b></td><td><a href="http://hoctap.123.st/h8-page">Shop đồ nam</a></td></tr><tr><td><b> - </b></td><td><a href="http://hoctap.123.st/h11-page">Shop đồ nữ</a></td></tr><tr><td></td></table>
</div>
<div class="bottom"> </div>
</div>
<div id="module_cart" style="margin-left: 25px;">
<div class="cart_top" style="background-image: url('catalog/view/theme/default/image/back-top.png');background-repeat: no-repeat;height: 59px;"></div>
<div class="cart_mid" style="background-image: url('catalog/view/theme/default/image/back-mid.png');background-repeat: repeat-y;height: auto;padding-bottom: 45px;padding-left: 20px;">
<div style="text-align: center;">Hiện có: 18 sản phẩm</div>
<br/>
<a style="background-image: url('catalog/view/theme/default/image/bt-addtocart.jpg'); margin-right: 30px; float:right; width: 100px;height: 36px;" href="http://hoctap.123.st/h10-page"></a>
</div>
<div class="cart_bot" style="background-image: url('catalog/view/theme/default/image/back-bot.png');background-repeat: no-repeat;height: 12px;"></div>
</div>
<script type="text/javascript"><!--
$(document).ready(function () {
$('#add_to_cart').replaceWith('<a onclick="" id="add_to_cart" class="button">' + $('#add_to_cart').html() + '</a>');
$('#add_to_cart').click(function () {
$.ajax({
type: 'post',
url: 'index.php?route=module/cart/callback',
dataType: 'html',
data: $('#product :input'),
success: function (html) {
$('#module_cart .cart_mid').html(html);
},
complete: function () {
var image = $('#image').offset();
var cart = $('#module_cart').offset();
$('#image').before('<img src="' + $('#image').attr('src') + '" id="temp" style="position: absolute; top: ' + image.top + 'px; left: ' + image.left + 'px;" />');
params = {
top : cart.top + 'px',
left : cart.left + 'px',
opacity : 0.0,
width : $('#module_cart').width(),
heigth : $('#module_cart').height()
};
$('#temp').animate(params, 'slow', false, function () {
$('#temp').remove();
});
}
});
});
});
//--></script>
<div class="box1">
<div class="top"></div>
<div class="middle">
<div class="text">
<a href="ymsgr:sendIM?nhoc.hung_62" target="_blank">
<img src="http://opi.yahoo.com/online?u=nhoc.hung_62&m=g&t=16" alt="YM:nhoc.hung_62" border=0>
</a>
<a href="ymsgr:sendIM?meomimi_95" target="_blank">
<img src="http://opi.yahoo.com/online?u=meomimi_95&m=g&t=16" alt="YM:meomimi_95" border=0>
</a>
<a href="ymsgr:sendIM?gacon_eakar" target="_blank">
<img src="http://opi.yahoo.com/online?u=gacon_eakar&m=g&t=16" alt="YM:gacon_eakar" border=0>
</a>
</div>
</div>
<div class="bottom"> </div>
</div>
<div class="box_tk">
<div class="middle" v-align="top">
<div>
<span>View <br/></span>
<!-- Start of Globel Code -->
<a href="http://[url=http://www.free-counters.co.uk"][color=#666666]www.free-counters.co.uk"[/color][/url] target="_blank">
<img src="http://006.free-counters.co.uk/count-009.pl?count=sikulashop123&type=links&prog=hit" border="0" alt="Free Counters" title="Free Counters"></a><br/>
<!-- End of Globel Code -->
<span>People Online Now<br/></span>
<script type="text/javascript" src="http://widgets.amung.us/colored.js"></script><script type="text/javascript">WAU_colored('r3faq8wufpya', 'fdc689000000')</script>
<!-- Histats.com END -->
</div>
</div>
<div class="bottom"> </div>
</div>
<p style="padding-left: 20px;">
<center><img width="170" src="http://i61.servimg.com/u/f61/16/01/42/68/hung10.gif"></center>
<br><br>
<br><br>
<center><iframe src="http://[url=http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FSikula-Shop%2F108108152593974&width=170&colorscheme=light&connections=10&stream=false&header=false&height=255"][color=#666666]www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FSikula-Shop%2F108108152593974&width=170&colorscheme=light&connections=10&stream=false&header=false&height=255"[/color][/url] scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:170px; height:255px;" allowTransparency="true"></iframe></center>
</p> </div> <div id="column_right">
<div class="box_hot">
<div class="top"></div>
<div class="middle">
<div style="width: 200px; padding-left:10px; padding-right:0px; class="scroller">
<marquee height="350" width="180" onmouseout="this.start()" onmouseover="this.stop()" truespeed="true" scrolldelay="20" scrollamount="1" direction="up" behavior="scroll">
<br>
<a href="http://hoctap.123.st/h10-page" title="Mã số: 14">
<center><img height=170"" border="0" width=170"" alt="Mã số: 14" src="http://ca6.upanh.com/16.852.21194547.xis0/dollavatar25.gif"></a>
<br>
<center><span class="productPrice">
<b>11.000 kẹo mút </b> </span></center>
<br>
<br>
<a href="http://hoctap.123.st/h10-page" title="7.000 kẹo mút">
<img height="170" border="0" width="170" alt="7.000 kẹo mút" src="http://ca9.upanh.com/16.826.21167566.6tM0/dollavatar50.gif"></a>
<br>
<center><span class="productPrice">
<b>Mã số: 11 </b> </span></center>
<br><br>
<br><br> </marquee>
</div> </div>
<div class="bottom"> </div>
</div>
<div class="box_infor">
<!--
<div class="top"><img src="catalog/view/theme/default/image/information.png" alt="" />Tin tức di động</div>
-->
<div id="information" class="middle">
<!--
<ul>
<li><a href="http://sikulashop.com/khai-truong-sikula-shop">Khai Trương SikulaShop</a></li>
<li><a href="http://sikulashop.com/Cau-chuyen-ve-pooh">Câu chuyện về Pooh</a></li>
<li><a href="http://sikulashop.com/cau-chuyen-ve-gau-teddy-me-to-you">Câu chuyện về gấu Teddy</a></li>
<li><a href="http://sikulashop.com/index.php?route=information/contact">Liên hệ</a></li>
<li><a href="http://sikulashop.com/index.php?route=information/sitemap">Sitemap</a></li>
</ul>
-->
<table width="140" border="0" cellpadding="0" style="margin-left: 2px; padding-top:15px;border-collapse: collapse">
<tr>
</tr>
</table>
</div>
<div class="bottom"> </div>
</div> <p style="padding-left: 20px;">
<img width="180" src="http://i61.servimg.com/u/f61/16/01/42/68/hung10.gif">
<br>
</p>
</div>
<table id="content_xxx">
<tr><td>
<div class="top-slideshow-box">
<div class="slideshow" id="home-bner-slideshow" style = "text-align:center">
<ul><li><a target="_blank" href="" title=""><img id="img-6" alt="" src="catalog/view/theme/default/image/gaubong/yopa.jpg" style="border:0px none;width:630px;height:200px" align = "left" /></a></li><li><a target="_blank" href="" title=""><img id="img-4" alt="" src="catalog/view/theme/default/image/gaubong/queen-helene.jpg" style="border:0px none;width:630px;height:200px" align = "left" /></a></li><li><a target="_blank" href="" title=""><img id="img-5" alt="" src="catalog/view/theme/default/image/gaubong/menSaigon.jpg" style="border:0px none;width:630px;height:200px" align = "left" /></a></li></ul>
</div>
<div class="button-slide fixPNG">
<div class="prev"></div>
<ul>
<li class="1">1</li>
<li class="1">2</li>
<li class="1">3</li>
<li class="2">4</li>
</ul>
<div class="next"></div>
</div>
</div></td></tr>
<!-- end: slideshow -->
<tr>
<td>
</div>
</td>
</tr>
<tr><td>
<table cellspacing="" cellpadding="" class=" middle list">
<tr><td height="135"> </td><td></td><td></td></tr>
<tr>
<td align="center" width="160"> <div class="picture-medium">
<div class="" ></div>
<div class="xyz" >
<a href="http://hoctap.123.st/h10-page">
<img src="http://ca8.upanh.com/16.826.21167593.lr80/sm015380102.gif" title="Ba lô vuông khỉ" alt="Ba lô vuông khỉ" /></a><br>
<a href="http://hoctap.123.st/h10-page" style="text-decoration:none;">Mã số : 01</a><br>
<span style="color: #900; font-weight: bold;">6.000 Kẹo mút</span>
</div>
<div class=""></div>
</div>
</td>
<td align="center" width="160"> <div class="picture-medium">
<div class="" ></div>
<div class="xyz" >
<a href="http://hoctap.123.st/h10-page">
<img src="http://ca8.upanh.com/16.826.21167605.6dA0/sm0110400102.gif" title="Mã số : 02" /></a><br>
<a href="http://hoctap.123.st/h10-page" style="text-decoration:none;">Mã số : 02</a><br>
<span style="color: #900; font-weight: bold;">6.000 Kẹo mút</span>
</div>
<div class=""></div>
</div>
</td>
<td align="center" width="160"> <div class="picture-medium">
<div class="" ></div>
<div class="xyz" >
<a href="http://hoctap.123.st/h10-page">
<img src="http://ca7.upanh.com/16.384.20714292.a6k0/sm0110230102.gif" title="Mã số: 03" alt="Heo đội nón trung" /></a><br>
<a href="http://hoctap.123.st/h10-page" style="text-decoration:none;">Mã số: 03</a><br>
<span style="color: #900; font-weight: bold;">5.000 Kẹo mút</span>
</div>
<div class=""></div>
</div>
</td>
</tr>
<tr>
<td align="center" width="160"> <div class="picture-medium">
<div class="" ></div>
<div class="xyz" >
<a href="http://hoctap.123.st/h10-page">
<img src="http://ca8.upanh.com/16.384.20714301.GA80/sm0110340102.gif" title="Mã số: 04" alt="Mã số: 04" /></a><br>
<a href="http://hoctap.123.st/h10-page" style="text-decoration:none;">Mã số: 04</a><br>
<span style="color: #900; font-weight: bold;">5.000 Kẹo mút</span>
</div>
<div class=""></div>
</div>
</td>
<td align="center" width="160"> <div class="picture-medium">
<div class="" ></div>
<div class="xyz" >
<a href="Mã số: 05">
<img src="http://ca9.upanh.com/16.384.20714298.hQD0/sm0110280102.gif" title="Mã số: 05" alt="Mã số: 05" /></a><br>
<a href="http://ca9.upanh.com/16.384.20714298.hQD0/sm0110280102.gif" style="text-decoration:none;">Mã số: 05</a><br>
<span style="color: #900; font-weight: bold;">8.000 Kẹo mút</span>
</div>
<div class=""></div>
</div>
</td>
<td align="center" width="160"> <div class="picture-medium">
<div class="" ></div>
<div class="xyz" >
<a href="http://hoctap.123.st/h10-page">
<img src="http://ca9.upanh.com/16.384.20714302.YxR0/sm0110350102.gif" title="Mã số: 06" alt="Mã số: 06" /></a><br>
<a href="http://hoctap.123.st/h10-page" style="text-decoration:none;">Mã số: 06</a><br>
<span style="color: #900; font-weight: bold;">5.000 Kẹo mút</span>
</div>
<div class=""></div>
</div>
</td>
</tr>
<tr>
<td align="center" width="160"> <div class="picture-medium">
<div class="" ></div>
<div class="xyz" >
<a href="http://hoctap.123.st/h8-page">
<img src="http://ca7.upanh.com/16.384.20714276.A8L0/sm0110020102.gif" title="Mã số: 07" alt="Mã số: 07" /></a><br>
<a href="http://hoctap.123.st/h8-page" style="text-decoration:none;">Mã số: 07</a><br>
<span style="color: #900; font-weight: bold;">5.000 Kẹo mút</span>
</div>
<div class=""></div>
</div>
</td>
<td align="center" width="160"> <div class="picture-medium">
<div class="" ></div>
<div class="xyz" >
<a href="http://hoctap.123.st/h10-page">
<img src="http://ca6.upanh.com/16.826.21167575.oRE0/dollavatar57.gif" title="Mã số: 08" alt="Mã số: 08" /></a><br>
<a href="http://hoctap.123.st/h10-page" style="text-decoration:none;">Mã số: 08</a><br>
<span style="color: #900; font-weight: bold;">5.000 Kẹo mút</span>
</div>
<div class=""></div>
</div>
</td>
<td align="center" width="160"> <div class="picture-medium">
<div class="" ></div>
<div class="xyz" >
<a href="http://hoctap.123.st/h10-page">
<img src="http://ca9.upanh.com/16.826.21167582.Xcu0/dollavatar60.gif" title="Mã số: 09" alt="Mã số: 09" /></a><br>
<a href="http://hoctap.123.st/h10-page" style="text-decoration:none;">Mã số: 09</a><br>
<span style="color: #900; font-weight: bold;">7.000 Kẹo mút</span>
</div>
<div class=""></div>
</div>
</td>
</tr>
<tr>
<td align="center" width="160"> <div class="picture-medium">
<div class="" ></div>
<div class="xyz" >
<a href="http://hoctap.123.st/h10-page">
<img src="http://ca6.upanh.com/16.826.21167599.YXc0/sm018130102.gif" title="Mã số: 10" alt="Mã số: 10" /></a><br>
<a href="http://hoctap.123.st/h10-page" style="text-decoration:none;">Mã số: 10</a><br>
<span style="color: #900; font-weight: bold;">290,000 VNĐ</span>
</div>
<div class=""></div>
</div>
</td>
<td align="center" width="160"> <div class="picture-medium">
<div class="" ></div>
<div class="xyz" >
<a href="http://hoctap.123.st/h10-page">
<img src="http://ca9.upanh.com/16.826.21167566.6tM0/dollavatar50.gif" title="Mã số: 11" alt="Mã số: 11" /></a><br>
<a href="http://hoctap.123.st/h10-page" style="text-decoration:none;">Mã số: 11</a><br>
<span style="color: #900; font-weight: bold;">7.000 Kẹo mút</span>
</div>
<div class=""></div>
</div>
</td>
<td align="center" width="160"> <div class="picture-medium">
<div class="" ></div>
<div class="xyz" >
<a href="http://hoctap.123.st/h10-page">
<img src="http://ca8.upanh.com/16.826.21167561.PHs0/dollavatar47.gif" title="Mã số: 12" alt="Mã số: 12" /></a><br>
<a href="http://hoctap.123.st/h10-page" style="text-decoration:none;">Mã số: 12</a><br>
<span style="color: #900; font-weight: bold;">9.000 Kẹo mút</span>
</div>
<div class=""></div>
</div>
</td>
</tr>
<tr>
<td align="center" width="160"> <div class="picture-medium">
<div class="" ></div>
<div class="xyz" >
<a href="http://hoctap.123.st/h10-page">
<img src="http://ca6.upanh.com/16.826.21167539.ZHp0/11938602.gif" title="Mã số: 13" alt="Mã số: 13" /></a><br>
<a href="http://hoctap.123.st/h10-page" style="text-decoration:none;">Mã số: 13</a><br>
<span style="color: #900; font-weight: bold;">10.000 Kẹo mút</span>
</div>
<div class=""></div>
</div>
</td>
<td align="center" width="160"> <div class="picture-medium">
<div class="" ></div>
<div class="xyz" >
<a href="http://hoctap.123.st/h10-page">
<img src="http://ca6.upanh.com/16.852.21194547.xis0/dollavatar25.gif" title="Mã số: 14" alt="Mã số: 14" /></a><br>
<a href="http://hoctap.123.st/h10-page" style="text-decoration:none;">Mã số: 14</a><br>
<span style="color: #900; font-weight: bold;">11.000 Kẹo mút</span>
</div>
<div class=""></div>
</div>
</td>
<td align="center" width="160"> <div class="picture-medium">
<div class="" ></div>
<div class="xyz" >
<a href="http://hoctap.123.st/h10-page">
<img src="http://ca6.upanh.com/16.852.21194543.xvc0/goong20.gif" title="" alt="Mã số: 15" /></a><br>
<a href="http://hoctap.123.st/h10-page" style="text-decoration:none;">Mã số: 15</a><br>
<span style="color: #900; font-weight: bold;">12.000 Kẹo mút</span>
</div>
<div class=""></div>
</div>
</td>
</tr>
<tr>
<td align="center" width="160"> <div class="picture-medium">
<div class="" ></div>
<div class="xyz" >
<a href="http://hoctap.123.st/h10-page">
<img src="http://ca7.upanh.com/16.852.21194536.q5k0/dollavatar23.gif" title="Mã số: 16" alt="Mã số: 16" /></a><br>
<a href="http://hoctap.123.st/h10-page" style="text-decoration:none;">Mã số: 16</a><br>
<span style="color: #900; font-weight: bold;">12.000 Kẹo mút</span>
</div>
<div class=""></div>
</div>
</td>
<td align="center" width="160"> <div class="picture-medium">
<div class="" ></div>
<div class="xyz" >
<a href="http://hoctap.123.st/h10-page">
<img src="http://ca9.upanh.com/16.852.21194534.hFY0/dk20rxjg9.gif" title="Mã số: 17" alt="Mã số: 17" /></a><br>
<a href="http://hoctap.123.st/h10-page" style="text-decoration:none;">Mã số: 17</a><br>
<span style="color: #900; font-weight: bold;">10.000 Kẹo mút</span>
</div>
<div class=""></div>
</div>
</td>
<td align="center" width="160"> <div class="picture-medium">
<div class="" ></div>
<div class="xyz" >
<a href="http://hoctap.123.st/h10-page">
<img src="http://ca8.upanh.com/16.826.21167629.uCo0/sm0111010102.gif" title="Mã số: 18" alt="Mã số: 18" /></a><br>
<a href="http://hoctap.123.st/h10-page" style="text-decoration:none;">Mã số: 18</a><br>
<span style="color: #900; font-weight: bold;">7.000 Kẹo mút</span>
</div>
<div class=""></div>
</div>
</td>
</tr>
<tr><td height="30"> </td><td></td><td></td></tr>
</table>
</td></tr></table>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/stylesheet.css" /> <div id="footer">
<img src ="catalog/view/theme/default/image/gaubong/footer.png">
</div>
<script type="text/javascript">
function getProducts() {
$('#product option').remove();
$.ajax({
url: 'index.php?route=common/home/category&category_id=' + $('#category').attr('value'),
dataType: 'json',
success: function(data) {
for (i = 0; i < data.length; i++) {
$('#product').append('<option value="' + data[i]['product_id'] + '">' + data[i]['name'] + '</option>');
}
}
});
}
</script>
<script type="text/javascript"><!--
$('#search input').keydown(function(e) {
if (e.keyCode == 13) {
moduleSearch();
}
});
function moduleSearch() {
url = 'index.php?route=product/search';
var filter_keyword = $('#filter_keyword').attr('value')
if (filter_keyword) {
url += '&keyword=' + encodeURIComponent(filter_keyword);
}
var filter_category_id = $('#filter_category_id').attr('value');
if (filter_category_id) {
url += '&category_id=' + filter_category_id;
}
location = url;
};
//--></script>
<script type="text/javascript"><!--
$('.switcher').bind('click', function() {
$(this).find('.option').slideToggle('fast');
});
$('.switcher').bind('mouseleave', function() {
$(this).find('.option').slideUp('fast');
});
//--></script>