Skip to content

Commit

Permalink
Updated with latest code
Browse files Browse the repository at this point in the history
  • Loading branch information
techlab committed Mar 27, 2012
1 parent e02db22 commit 7a06bb6
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 116 deletions.
16 changes: 0 additions & 16 deletions SmartCart2-Events.htm
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="Smart Cart 2 - a javascript jQuery shopping cart plugin" />
<title>Smart Cart 2 - a javascript jQuery shopping cart plugin</title>
<link href="styles/demo_style.css" rel="stylesheet" type="text/css">

<!-- Smart Cart Files Include -->
<link href="styles/smart_cart.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/jquery.smartCart-2.0.js"></script>

<script type="text/javascript">

$(document).ready(function(){
// Call Smart Cart
$('#SmartCart').smartCart({
Expand Down Expand Up @@ -73,18 +71,7 @@

});
</script>

</head><body>
<div class="demoHead">
<h1>Smart Cart 2 - a javascript jQuery shopping cart plugin</h1>
<h2>Example with Events</h2>
<br />
<br />
<a href="index.htm" class="btn">Basic Example</a>
<a href="SmartCart2-Events.htm" class="selected">Example with Events</a>
<a href="SmartCart2-MultipleCart.htm" class="btn">Multiple Cart Example</a>
<a href="http://techlaboratory.net/products.php?product=scat" class="btn">Go to Home</a>
</div>

<table align="center" border="0" cellpadding="0" cellspacing="0">
<tr><td>
Expand All @@ -104,9 +91,6 @@ <h2>Example with Events</h2>
</div>
<!-- Smart Cart HTML Ends -->
</form>

<br /><br />

</td></tr>
</table>
</body>
Expand Down
17 changes: 0 additions & 17 deletions SmartCart2-MultipleCart.htm
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,20 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="Smart Cart 2 - a javascript jQuery shopping cart plugin" />
<title>Smart Cart 2 - a javascript jQuery shopping cart plugin</title>
<link href="styles/demo_style.css" rel="stylesheet" type="text/css">

<!-- Smart Cart Files Include -->
<link href="styles/smart_cart.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/jquery.smartCart-2.0.js"></script>

<script type="text/javascript">

$(document).ready(function(){
// Call Smart Cart
$('#SmartCart').smartCart();
$('#SmartCart2').smartCart({resultName:'products_selected2[]'});
});
</script>

</head><body>
<div class="demoHead">
<h1>Smart Cart 2 - a javascript jQuery shopping cart plugin</h1>
<h2>Multiple Cart Example</h2>
<br />
<br />
<a href="index.htm" class="btn">Basic Example</a>
<a href="SmartCart2-Events.htm" class="btn">Example with Events</a>
<a href="SmartCart2-MultipleCart.htm" class="selected">Multiple Cart Example</a>
<a href="http://techlaboratory.net/products.php?product=scat" class="btn">Go to Home</a>
</div>

<table align="center" border="0" cellpadding="0" cellspacing="0">
<tr><td>
Expand All @@ -55,11 +42,7 @@ <h2>Multiple Cart Example</h2>
<input type="hidden" pimage="products/product8.jpg" pprice="148.85" pdesc="" pcategory="Accessories" pname="Headphone with mic" pid="106">
</div>
<!-- Smart Cart HTML Ends -->
<br /> <br />
</form>

<br /><br />

</td></tr>
</table>
</body>
Expand Down
15 changes: 0 additions & 15 deletions index.htm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="Smart Cart 2 - a javascript jQuery shopping cart plugin" />
<title>Smart Cart 2 - a javascript jQuery shopping cart plugin</title>
<link href="styles/demo_style.css" rel="stylesheet" type="text/css">

<!-- Smart Cart Files Include -->
<link href="styles/smart_cart.css" rel="stylesheet" type="text/css">
Expand All @@ -17,18 +16,7 @@
$('#SmartCart').smartCart();
});
</script>

</head><body>
<div class="demoHead">
<h1>Smart Cart 2 - a javascript jQuery shopping cart plugin</h1>
<h2>Basic Example</h2>
<br />
<br />
<a href="index.htm" class="selected">Basic Example</a>
<a href="SmartCart2-Events.htm" class="btn">Example with Events</a>
<a href="SmartCart2-MultipleCart.htm" class="btn">Multiple Cart Example</a>
<a href="http://techlaboratory.net/products.php?product=scat" class="btn">Go to Home</a>
</div>

<table align="center" border="0" cellpadding="0" cellspacing="0">
<tr><td>
Expand All @@ -45,9 +33,6 @@ <h2>Basic Example</h2>
</div>
<!-- Smart Cart HTML Ends -->
</form>

<br /><br />

</td></tr>
</table>
</body>
Expand Down
17 changes: 1 addition & 16 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="Smart Cart 2 - a javascript jQuery shopping cart plugin" />
<title>Smart Cart 2 - a javascript jQuery shopping cart plugin</title>
<link href="styles/demo_style.css" rel="stylesheet" type="text/css">

<!-- Smart Cart Files Include -->
<link href="styles/smart_cart.css" rel="stylesheet" type="text/css">
Expand Down Expand Up @@ -36,20 +35,9 @@
$('#SmartCart').smartCart({selected:<? echo $selected; ?>});
});
</script>

</head>
<body>
<div class="demoHead">
<h1>Smart Cart 2 - a javascript jQuery shopping cart plugin</h1>
<h2>Basic Example</h2>
<br />
<br />
<a href="index.htm" class="selected">Basic Example</a>
<a href="SmartCart2-Events.htm" class="btn">Example with Events</a>
<a href="SmartCart2-MultipleCart.htm" class="btn">Multiple Cart Example</a>
<a href="http://techlaboratory.net/products.php?product=scat" class="btn">Go to Home</a>
</div>


<table align="center" border="0" cellpadding="0" cellspacing="0">
<tr><td>
<form action="results.php" method="post">
Expand Down Expand Up @@ -79,9 +67,6 @@
</div>
<!-- Smart Cart HTML Ends -->
</form>

<br /><br />

</td></tr>
</table>

Expand Down
52 changes: 0 additions & 52 deletions results.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,47 +3,10 @@
<head>
<meta name="description" content="Smart Cart 2 - a javascript jQuery shopping cart plugin" />
<title>Smart Cart 2 - a javascript jQuery shopping cart plugin</title>
<link href="styles/demo_style.css" rel="stylesheet" type="text/css">

<link href="styles/smart_cart.css" rel="stylesheet" type="text/css">

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-18629864-1']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>

</head>
<body>
<div class="demoHead">
<h1>Smart Cart 2 - a javascript jQuery shopping cart plugin</h1>
<h2>Basic Example</h2>
<br />
<script type="text/javascript"><!--
google_ad_client = "pub-8226185437441708";
/* TechDemoTop 728x90 */
google_ad_slot = "7531608375";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br />&nbsp;
<br />
<a href="index.htm" class="selected">Basic Example</a>
<a href="SmartCart2-Events.htm" class="btn">Example with Events</a>
<a href="SmartCart2-MultipleCart.htm" class="btn">Multiple Cart Example</a>
<a href="http://techlaboratory.net/products.php?product=scat" class="btn">Go to Home</a>
</div>
<table align="center" border="0" cellpadding="0" cellspacing="0">
<tr><td>
<div class="scMain">
Expand Down Expand Up @@ -133,21 +96,6 @@
}
?>
</div>

<br /><br />
<script type="text/javascript"><!--
google_ad_client = "pub-8226185437441708";
/* TechDemoBottom 728x90 */
google_ad_slot = "4801936038";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br />&nbsp;

</td></tr>
</table>

Expand Down

0 comments on commit 7a06bb6

Please sign in to comment.