var fm = new FeedMenu(); fm.write('#jquery_feed_menu_example_1');
Atom Feeds
Atom Feeds:
Code:
var fm = new FeedMenu('link[type*=atom]'); fm.write('#jquery_feed_menu_example_2');
RSS Feeds
RSS Feeds:
Code:
var fm = new FeedMenu('link[type*=rss]'); fm.write('#jquery_feed_menu_example_3');
Different Theme Classes:
Classic Orange
Komodo Media v.4 Woodgrain
Komodo Media Azure
Transparent on Dark (for dark backgrounds)
Transparent on Light (for light backgrounds)
Code:
/* * @param 1: CSS link selector or array of JSON objects * @param 2: Class Name: null, wood, azure, trans_on_dark, trans_on_light /* var fm = new FeedMenu(null,'wood'); //2nd param is class fm.write('#jquery_feed_menu_example');
Last, something custom
And, here's the custom code:
var oCustomLinks = [ { title:'RSS Feed', href:"http://feeds.feedburner.com/komodomedia" }, { title:'Subscribe with Bloglines', href:"http://www.bloglines.com/sub/http://feeds.feedburner.com/komodomedia" }, { title:'Subscribe with Google Reader', href:"http://www.google.com/reader/view/feed/http://feeds.feedburner.com/komodomedia" } ]; var fm = new FeedMenu(oCustomLinks); fm.write('#jquery_feed_menu_example_6');