This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Add <ul id=”recent-posts”></ul> to your blog to demark where you'd like the list to appear. | |
| // | |
| // Needs jQuery. Place the javascript below *after* your jQuery include. | |
| <script type="text/javascript"> | |
| $(function() { | |
| // This script uses your tumble blog's RSS feed. The URL is usually in the form yoursite.tumblr.com/rss | |
| var url = '/rss'; | |
| var $list = $('#recent-posts'); |