pixelfuture
06-24-2013, 06:21 PM
1) gAjax RSS Feeds Displayer v2.0
2) http://www.dynamicdrive.com/dynamicindex18/gajaxrssdisplayer.htm
3) I'm trying to create a feature that would allow a user to load multiple rss feeds using a set of check boxes. I can get it so that when a checkbox is clicked it loads up the selected rss feed, but I can't figure out how to clear it when it's unchcked. Any thoughts or help on this?
function validate1(){
var yahoo = document.getElementById('yahoo');
if (yahoo.checked){
example3.addFeed("Yahoo", "http://dir.yahoo.com/rss/dir/getrss.php?arts");
example3.init()
} else {
//clear rss feed
}
}
function validate2(){
var msnbc = document.getElementById('msnbc');
if (msnbc.checked){
example3.addFeed("MSNBC", "http://feeds.nbcnews.com/feeds/topstories");
example3.init();
} else {
//clear rss feed
}
2) http://www.dynamicdrive.com/dynamicindex18/gajaxrssdisplayer.htm
3) I'm trying to create a feature that would allow a user to load multiple rss feeds using a set of check boxes. I can get it so that when a checkbox is clicked it loads up the selected rss feed, but I can't figure out how to clear it when it's unchcked. Any thoughts or help on this?
function validate1(){
var yahoo = document.getElementById('yahoo');
if (yahoo.checked){
example3.addFeed("Yahoo", "http://dir.yahoo.com/rss/dir/getrss.php?arts");
example3.init()
} else {
//clear rss feed
}
}
function validate2(){
var msnbc = document.getElementById('msnbc');
if (msnbc.checked){
example3.addFeed("MSNBC", "http://feeds.nbcnews.com/feeds/topstories");
example3.init();
} else {
//clear rss feed
}