Skip to content
Browse files

Live-ise URLs and add monetisation

  • Loading branch information...
1 parent f6931ca commit f3a30855c2c1b749f7c39ec2d241bc1a755f5b56 @NeilCrosby committed Feb 8, 2009
Showing with 40 additions and 11 deletions.
  1. +4 −4 hoff_data.php
  2. +36 −7 index.html
View
8 hoff_data.php
@@ -3,10 +3,10 @@
echo "var hoff_data = ";
echo json_encode(
array(
- 'images/hoff1.jpg',
- 'images/hoff2.jpg',
- 'images/hoff3.jpg',
- 'images/hoff4.jpg',
+ 'http://hoffify.co.uk/images/hoff1.jpg',
+ 'http://hoffify.co.uk/images/hoff2.jpg',
+ 'http://hoffify.co.uk/images/hoff3.jpg',
+ 'http://hoffify.co.uk/images/hoff4.jpg',
)
);
echo ";";
View
43 index.html
@@ -56,7 +56,8 @@
}
#bd ol li {
- margin: 1em 0.4em 1em 0.4em;
+ list-style: decimal;
+ margin: 1em 0.4em 1em 1em;
}
h2 {
@@ -73,6 +74,11 @@
height: 10em;
}
+ ul.amazon li {
+ display: inline;
+ margin: 1em 0.5em 1em 0.5em;
+ }
+
</style>
</head>
@@ -98,21 +104,44 @@
<p>Just put this code somewhere on your website.</p>
<form>
<p>
- <textarea><a href="#" onclick="hoffify_add();return false;"><img src="images/hoffify.png" alt="Hoffify"></a>
-<script type="text/javascript" src="hoff_data.json"></script>
-<script type="text/javascript" src="hoffify.js"></script></textarea>
+ <textarea><a href="#" onclick="hoffify_add();return false;"><img src="http://hoffify.co.uk/images/hoffify.png" alt="Hoffify"></a>
+<script type="text/javascript" src="http://hoffify.co.uk/hoff_data.json"></script>
+<script type="text/javascript" src="http://hoffify.co.uk/hoffify.js"></script></textarea>
</p>
</form>
</div>
<div class="yui-u">
<h2>Put The Hoff on any site!</h2>
<ol>
- <li>Drag the link below to the bookmarks toolbar in your browser.</li>
- <li>Go to another website that's devoid of The Hoff.</li>
- <li>Click your newly added button to start Hoffifying.</li>
+ <li>
+ <p>Drag the link below to the bookmarks toolbar in your browser.</p>
+ <p><a href="javascript:(function(){var%20d=document,j=d.getElementById(%22__hoffify_nodes%22),k=null;var%20files%20=%20[%22http://hoffify.co.uk/hoff_data.json%22,%20%22http://hoffify.co.uk/hoffify.js%22,%20%22http://hoffify.co.uk/hoff_run.js%22];if(j){hoffify_add();}else{k=d.createElement(%22div%22);k.id=%22__hoffify_nodes%22;d.getElementsByTagName(%22body%22)[0].appendChild(k);for(var%20l=0;l<files.length;l++){j=d.createElement(%22script%22);j.src=files[l];k.appendChild(j);}}})();">Hoffify</a></p>
+ </li>
+ <li><p>Go to another website that's devoid of The Hoff.</p></li>
+ <li><p>Click your newly added button to start Hoffifying.</p></li>
</ol>
+ <p>NB: In Internet Explorer you might have to right-click the link and select "Add to Favorites".</p>
</div>
</div>
+ <div class="yui-g">
+ <h2>Buy awesome Hoff-related things!</h2>
+ <ul class="amazon">
+ <li><iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=workingwmeuk-21&o=2&p=8&l=as1&asins=B001FXM338&md=0M5A6TN3AXP2JHJBWT02&fc1=000000&IS2=1&lt1=_top&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></li>
+ <li><iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=workingwmeuk-21&o=2&p=8&l=as1&asins=B000KN9FZ8&md=0M5A6TN3AXP2JHJBWT02&fc1=000000&IS2=1&lt1=_top&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></li>
+ <li><iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=workingwmeuk-21&o=2&p=8&l=as1&asins=B00005Q8UG&md=0M5A6TN3AXP2JHJBWT02&fc1=000000&IS2=1&lt1=_top&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></li>
+ <li><iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=workingwmeuk-21&o=2&p=8&l=as1&asins=B00006LSFP&md=0M5A6TN3AXP2JHJBWT02&fc1=000000&IS2=1&lt1=_top&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></li>
+ <li><iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=workingwmeuk-21&o=2&p=8&l=as1&asins=B001J78N8E&md=0M5A6TN3AXP2JHJBWT02&fc1=000000&IS2=1&lt1=_top&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></li>
+ <li><iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=workingwmeuk-21&o=2&p=8&l=as1&asins=B001H8K4PU&md=0M5A6TN3AXP2JHJBWT02&fc1=000000&IS2=1&lt1=_top&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></li>
+ <li><iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=workingwmeuk-21&o=2&p=8&l=as1&asins=0340909293&md=0M5A6TN3AXP2JHJBWT02&fc1=000000&IS2=1&lt1=_top&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></li>
+ <li><iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=workingwmeuk-21&o=2&p=8&l=as1&asins=B001G7T03O&md=0M5A6TN3AXP2JHJBWT02&fc1=000000&IS2=1&lt1=_top&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></li>
+ <li><iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=workingwmeuk-21&o=2&p=8&l=as1&asins=0312371292&md=0M5A6TN3AXP2JHJBWT02&fc1=000000&IS2=1&lt1=_top&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></li>
+ <li><iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=workingwmeuk-21&o=2&p=8&l=as1&asins=B000KCI8YS&md=0M5A6TN3AXP2JHJBWT02&fc1=000000&IS2=1&lt1=_top&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></li>
+ <li><iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=workingwmeuk-21&o=2&p=8&l=as1&asins=B000J10L9U&md=0M5A6TN3AXP2JHJBWT02&fc1=000000&IS2=1&lt1=_top&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></li>
+ <li><iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=workingwmeuk-21&o=2&p=8&l=as1&asins=B001D40U20&md=0M5A6TN3AXP2JHJBWT02&fc1=000000&IS2=1&lt1=_top&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></li>
+ <li><iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=workingwmeuk-21&o=2&p=8&l=as1&asins=B000I8OP0U&md=0M5A6TN3AXP2JHJBWT02&fc1=000000&IS2=1&lt1=_top&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></li>
+ <li><iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=workingwmeuk-21&o=2&p=8&l=as1&asins=B000I2J6YG&md=0M5A6TN3AXP2JHJBWT02&fc1=000000&IS2=1&lt1=_top&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></li>
+ </ul>
+ </div>
</div>
<div id="ft">

0 comments on commit f3a3085

Please sign in to comment.
Something went wrong with that request. Please try again.