View Single Post
Old 08-13-2012, 12:32 AM   PM User | #1
theert
New to the CF scene

 
Join Date: Aug 2012
Posts: 3
Thanks: 2
Thanked 0 Times in 0 Posts
theert is an unknown quantity at this point
Change Script via Button Press on Blog

Greetings!

I have two scripts that loads RSS feeds.

ScriptThisWeek
Code:
<script language="JavaScript" src="http://feed2js.org//feed2js.php?src=http%3A%2F%2Ffeeds.feedburner.com%2Fcomiclistfeed%3Fformat%3Dxml&chan=y&num=1&utf=y&html=a"  charset="UTF-8" type="text/javascript"></script>

ScriptNextWeek
Code:
<script language="JavaScript" src="http://feed2js.org//feed2js.php?src=http%3A%2F%2Ffeeds.feedburner.com%2Fcomiclistnextweek%3Fformat%3Dxml&chan=y&num=1&utf=y&html=a"  charset="UTF-8" type="text/javascript"></script>

Ideally, I would like to have two buttons at the top of a page. Upon clicking ButtonThisWeek, ScriptThisWeek will load below on the page. Upon clicking ButtonNextWeek, ScriptNextWeek will load below on the page. However, only one script will load at a time and replace the previously loaded one.

I'm a bit out of my experience when it comes to user interactions. Any help would greatly be appreciated.

To complicate matters, I'm restricted by what BlogSpot will allow.

Thanks!

Last edited by theert; 08-13-2012 at 02:19 AM..
theert is offline   Reply With Quote