-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
192 lines (170 loc) · 7.57 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!DOCTYPE html><!--[if lt IE 7]> <html class="no-js ie6 ie" lang="en"> <![endif]--><!--[if IE 7]> <html class="no-js ie7 ie" lang="en"> <![endif]--><!--[if IE 8]> <html class="no-js ie8 ie" lang="en"> <![endif]--><!--[if gt IE 8]><!--><html class="no-js" lang="en"><!--<![endif]--><head>
<meta charset="utf-8">
<!-- Use the .htaccess and remove these lines to avoid edge case issues.-->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Javascript Shopping Cart - simpleCart(js) </title>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-59463797-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-59463797-1');
</script>
<!--SEO & Social Content-->
<link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml">
<meta property="og:title" content>
<meta property="og:description" content>
<meta property="og:image" content>
<meta name="description" content>
<meta name="author" content>
<!-- Mobile viewport -->
<meta name="viewport" content="width=device-width,initial-scale=1">
<!-- CSS-->
<link rel="stylesheet" href="/assets/css/style.css">
<link rel="stylesheet" type="text/css" href="/assets/css/jquery.snippet.css">
<link rel="stylesheet" type="text/css" href="/assets/css/uniform.dark.css">
<!-- All JavaScript at the bottom, except for Modernizr -->
<script src="/assets/js/libs/modernizr-2.0.6.min.js"></script>
</head>
<body>
<div id="container" class="clearfix">
<h1><a href="/">simpleCart(js)</a></h1>
<div id="content">
<header>
<nav id="mainNavigation">
<ul>
<li><a href="/features">Features</a></li>
<li><a href="/documentation">Documentation</a></li>
<li class="last"><a href="/tutorials">Tutorials</a></li>
</ul>
</nav>
<div class="cartInfo"><span class="simpleCart_quantity"></span> items</div>
<div id="cartPopover">
<div id="triangle">▲</div>
<div class="simpleCart_items"></div>
<div id="cartData" class="clearfix">
<div class="left"><strong>Items: </strong><span class="simpleCart_quantity"></span></div>
<div class="right"><strong>Total: </strong><span class="simpleCart_total"></span></div>
</div>
<div id="popoverButtons" class="clearfix">
<a href="/cart/" class="hudbtn left">View</a>
<a href="javascript:;" class="simpleCart_checkout hudbtn primary right">Checkout</a>
</div>
</div><!--End #cartPopover-->
</header><!--End header-->
<section class="intro row">
<div class="one-half">
<h2 class="welcome">A free and open-source javascript shopping cart that easily integrates with your current website.</h2>
<a href="https://github.com/wojodesign/simplecart-js/zipball/master" class="btnDownload"><span>Download</span></a>
</div>
<div id="demo" class="one-half">
<div id="demoShelf">
<div class="simpleCart_shelfItem">
<div class="tooltip">
<span class="item_price">$19.99</span>
<a href="javascript:;" class="item_add">Add to Cart</a>
</div>
<img src="/assets/images/inceptiondvd.png" alt="Sample Product" class="item_image">
<span class="item_name">Inception</span>
</div>
<div class="simpleCart_shelfItem">
<div class="tooltip">
<span class="item_price">$59.99</span>
<a href="javascript:;" class="item_add">Add to Cart</a>
</div>
<img src="/assets/images/nhl12.png" alt="Sample Product" class="item_image">
<span class="item_name">NHL 12</span>
</div>
<!-- <div class="simpleCart_shelfItem">
<div class="tooltip">
<span class="item_price">$9.99</span>
<a href="javascript:;" class="item_add">Add to Cart</a>
</div>
<img src="/assets/images/blackkeysbrothers.png" alt="Sample Product" class="item_image"/>
<span class="item_name">Black Keys - Brothers</span>
</div> -->
<div class="simpleCart_shelfItem">
<div class="tooltip">
<span class="item_price">$12.99</span>
<a href="javascript:;" class="item_add">Add to Cart</a>
</div>
<img src="/assets/images/goodtogreat.png" alt="Sample Product" class="item_image">
<span class="item_name">Good To Great</span>
</div>
</div>
<span id="demoArrows">Give the demo a try</span>
</div><!--End #demo -->
</section>
<section class="row">
<span class="one-half">
<h2>Ecommerce in Minutes.</h2>
<div class="largeText"><p>
No databases, no programming, no headaches. A simple javascript shopping cart that you can setup in minutes. It's lightweight, fast, simple to use, and completely customizable. <strong>All you need to know is basic HTML.</strong></p>
</div>
<p>
<a href="#" class="large btn"><span class="icn icnList">Browse Features</span></a>
</p>
</span>
<span class="one-half alignRight">
<a href="/uploads/bioSteve.jpg" class="right" id="tourLink">Watch a Quick Video on how to add simpleCart<sup>(js)</sup> to your site</a>
</span>
</section>
<footer>
<h1 class="left"><a href="/">simpleCart(js)</a></h1>
<div class="right">
<a href="https://github.com/wojodesign/simplecart-js" target="_blank" class="icnGithub">Github</a>
  
<a href="http://twitter.com/simplecartjs" target="_blank" class="icnTwitter">Twitter</a>
</div>
</footer>
</div><!-- End #content -->
</div><!-- End #container -->
<!-- JavaScript -->
<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="/assets/js/libs/jquery-1.6.2.min.js"><\/script>')</script>
<script src="/assets/js/simpleCart.js"></script>
<script src="/assets/js/libs/jquery.snippet.js"></script>
<script defer src="/assets/js/plugins.js"></script>
<script defer src="/assets/js/main.js"></script>
<!--*****************************************************
simpleCart(js) Demo Code.
*********************************************************-->
<script>
simpleCart({
//Setting the Cart Columns for the sidebar cart display.
cartColumns: [
//A custom cart column for putting the quantity and increment and decrement items in one div for easier styling.
{ view: function(item, column){
return "<span>"+item.get('quantity')+"</span>" +
"<div>" +
"<a href='javascript:;' class='simpleCart_increment'><img src='/assets/images/increment.png' title='+1' alt='arrow up'/></a>" +
"<a href='javascript:;' class='simpleCart_decrement'><img src='/assets/images/decrement.png' title='-1' alt='arrow down'/></a>" +
"</div>";
}, attr: 'custom' },
//Name of the item
{ attr: "name" , label: false },
//Subtotal of that row (quantity of that item * the price)
{ view: 'currency', attr: "total" , label: false }
],
cartStyle: 'div'
});
</script>
<!-- Change UA-59463797-1 to be your site's ID -->
<script>
var _gaq = [['_setAccount', 'UA-59463797-1'], ['_trackPageview'], ['_trackPageLoadTime']];
(function(d, t) {
var g = d.createElement(t),
s = d.getElementsByTagName(t)[0];
g.async = true;
g.src = '//www.google-analytics.com/ga.js';
s.parentNode.insertBefore(g, s);
})(document, 'script');
</script>
<!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6. -->
<!--[if lt IE 7 ]>
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
<script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
<![endif]-->
</body></html>