Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added Tumblr example.

  • Loading branch information...
commit bd8d63c2a93edd428d9ae2bf549c3f800c84e575 1 parent 729bea3
@Jeromche authored
Showing with 76 additions and 0 deletions.
  1. +76 −0 examples/tumblr.html
View
76 examples/tumblr.html
@@ -0,0 +1,76 @@
+<!doctype html>
+
+<html>
+
+<head>
+ <title>jQuery Funnel - Tumblr</title>
+ <link rel="stylesheet" type="text/css" href="examples.css" />
+</head>
+
+<body>
+
+<header>
+ <h1>jQuery Funnel</h1>
+ <h2>Tumblr</h2>
+</header>
+
+<article>
+ <p>This example shows a timeline with only Delicious.</p>
+ <pre>
+ <code>
+$('#tumblr').funnel({
+ "services": [{
+ "name": "tumblr",
+ "user": "jeromche",
+ "tmpl": "tmpl_tumblr"
+ }],
+ "max_items": 5
+});
+ </code>
+ </pre>
+ <ul id="tumblr" class="timeline"></ul>
+</article>
+
+<footer>
+ <p>
+ jQuery Funnel plugin by Jeroen van der Tuin -
+ <a href="http://www.github.com/jeromche/funnel">http://www.github.com/jeromche/funnel</a>
+ </p>
+</footer>
+
+<script type="text/x-jquery-tmpl" id="tmpl_delicious">
+ <li class="delicious">
+ <a class="icon_service" href="http://www.delicious.com/${a}"><img src="icons/delicious_16.png" alt="Delicious" /></a>
+ <span class="date">${relative_date}</span>
+ <p><a class="link" href="${u}">${d}</a></p>
+ <p class="msg">${n}</p>
+ <ul class="tags">
+ {{each(index, value) t}}
+ <li><a href="http://www.delicious.com/${a}/${value}">${value}</a></li>
+ {{/each}}
+ </ul>
+ </li>
+</script>
+
+<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
+<script src="../jquery.tmpl.min.js"></script>
+<script src="../jquery.funnel.js"></script>
+<script>
+$(function() {
+
+$('#delicious').funnel({
+ "services": [{
+ "name": "delicious",
+ "user": "jeromche",
+ "tmpl": "tmpl_delicious"
+ }],
+ "max_items": 5
+});
+
+});
+</script>
+
+
+
+</body>
+</html>
Please sign in to comment.
Something went wrong with that request. Please try again.