Skip to content

Commit

Permalink
added amazon kindle link, fixed IE problems, fixed redirect problem
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelkiessling committed Feb 27, 2012
1 parent f8c7b21 commit 829d0ed
Show file tree
Hide file tree
Showing 10 changed files with 203 additions and 107 deletions.
Binary file added add_to_kindle_button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added amazon_rating_stars.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion buy-bundle-bottom/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Refresh" content="1; http://leanbundle.com/bundles/node" />
<meta http-equiv="Refresh" content="1; url=http://leanbundle.com/bundles/node" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2127388-6']);
Expand Down
2 changes: 1 addition & 1 deletion buy-bundle/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Refresh" content="1; http://leanbundle.com/bundles/node" />
<meta http-equiv="Refresh" content="1; url=http://leanbundle.com/bundles/node" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2127388-6']);
Expand Down
2 changes: 1 addition & 1 deletion buy-chinese/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Refresh" content="1; http://leanpub.com/nodebeginner-chinese" />
<meta http-equiv="Refresh" content="1; url=http://leanpub.com/nodebeginner-chinese" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2127388-6']);
Expand Down
34 changes: 17 additions & 17 deletions buy-kindle/index.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Refresh" content="1; http://www.amazon.com/The-Node-Beginner-Book-ebook/dp/B005T75AF4" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2127388-6']);
_gaq.push(['_trackPageview']);
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Refresh" content="1; url=http://www.amazon.com/gp/product/B005T75AF4/ref=as_li_tf_tl?ie=UTF8&tag=thenodbegboo-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=B005T75AF4" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2127388-6']);
_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>
You are being redirected to <a href="http://www.amazon.com/The-Node-Beginner-Book-ebook/dp/B005T75AF4">The Node Beginner Book at Amazon's Kindle Store</a>...
</body>
(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>
You are being redirected to <a href="http://www.amazon.com/gp/product/B005T75AF4/ref=as_li_tf_tl?ie=UTF8&tag=thenodbegboo-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=B005T75AF4">The Node Beginner Book at Amazon's Kindle Store</a>...
</body>
</html>
22 changes: 22 additions & 0 deletions buy-kindle/reviews.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Refresh" content="1; url=http://www.amazon.com/The-Node-Beginner-Book-ebook/product-reviews/B005T75AF4/ref=as_li_tf_tl?ie=UTF8&tag=thenodbegboo-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=B005T75AF4" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2127388-6']);
_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>
You are being redirected to <a href="http://www.amazon.com/The-Node-Beginner-Book-ebook/product-reviews/B005T75AF4/ref=as_li_tf_tl?ie=UTF8&tag=thenodbegboo-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=B005T75AF4">The Node Beginner Book at Amazon's Kindle Store</a>...
</body>
</html>
2 changes: 1 addition & 1 deletion buy/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Refresh" content="1; http://leanpub.com/nodebeginner" />
<meta http-equiv="Refresh" content="1; url=http://leanpub.com/nodebeginner" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2127388-6']);
Expand Down
72 changes: 60 additions & 12 deletions default.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ body {
text-align: center;
}

.buy-the-bundle, .buy-the-ebook, #translations {
.buybox, .buy-the-bundle, .buy-kindle, #translations {
font-family: "Helvetica Neue", sans-serif;
font-size: 13px;
color: #fff;
Expand All @@ -83,9 +83,8 @@ body {
background-color: #555;
}

.buy-the-ebook {
color: #aaa;
margin-top: -30px;
#translations img {
border: none;
}

#translations td {
Expand All @@ -108,8 +107,62 @@ body {
margin-right: 24px;
}

.buybox {
background: none;
border: none;
box-shadow: none;
padding: 0;
width: 769px;
}

.buy-kindle {
padding: 8px;
display: inline-block;
width: 154px;
height: 189px;
margin-left: 24px;
}

.gecko .buy-kindle {
height: 195px;
}

.buy-kindle .inner {
background-color: #fff;
border-radius: 6px;
padding: 4px;
box-shadow: 0 0 6px #aaa inset;
}

.buy-kindle .inner img {
border: none;
}

.buy-kindle .inner img.cover {
border: 1px solid #999;
margin-top: 16px;
}

.buy-kindle .inner a {
font-size: 10px;
}

.buy-kindle .inner img.stars {
padding-top: 2px;
margin-bottom: -6px;
}

.buy-kindle .inner img.button {
padding-top: 10px;
margin-bottom: 6px;
}

.buy-the-bundle {
float: left;
padding-bottom: 20px;
width: 510px;
display: inline-block;
margin: 0;
}

.buy-the-bundle .cover {
Expand All @@ -130,7 +183,7 @@ body {
}

.buy-the-bundle .description {
width: 349px;
width: 200px;
display: table-cell;
padding-right: 16px;
padding-left: 16px;
Expand Down Expand Up @@ -176,11 +229,6 @@ body {
text-shadow: 0.1em 0.1em #666;
}

.buy-the-ebook a {
text-decoration: underline;
color: #ddd;
}

#donate p {
font-family: "Helvetica Neue", sans-serif;
text-align: center;
Expand Down Expand Up @@ -417,7 +465,7 @@ li.L1, li.L3, li.L5, li.L7, li.L9 {
border: none;
}

.buy-the-bundle, .buy-the-ebook, #forkmeongithub, #praise, #adsense, #social {
.buy-the-bundle, .buy-kindle, #forkmeongithub, #praise, #adsense, #social {
display: none;
}

Expand Down Expand Up @@ -456,7 +504,7 @@ li.L1, li.L3, li.L5, li.L7, li.L9 {
display: none;
}

.buy-the-bundle, .buy-the-ebook {
.buy-the-bundle, .buy-kindle {
display: none;
}

Expand Down
Loading

0 comments on commit 829d0ed

Please sign in to comment.