Error 403 from Google Calendar? Upgrade to the new Google Calendar support. See here for details. close
Welcome, Guest
Please Login or Register.    Lost Password?

next and previous buttons for RSS feed.
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: next and previous buttons for RSS feed.
#9221
next and previous buttons for RSS feed. 5 Years, 8 Months ago  
I'm trying to create something where I show 1 RSS feed. However, on click on a left button, I want the previous RSS feed to be shown. On click right, I want the next RSS feed to she shown.

I can create something like this
[feed1]
hidden=0
x=100
y=100
[feed2]
hidden=1
x=100
y=100
[feed3]
hidden=1
x=100
y=100
[buttonnext]
LeftMouseDownAction=!Execute [!RainmeterHideMeter ][!RainmeterShowMeter ][!RainmeterRedraw]

However, the problem is the current and next., Is there a way to know what the current meter is. For example, current meter is (feed + $current, where $current=1 and so meter is feed1). So next is ($current++, so feed is feed2).

Is this possible?
periferral
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#9222
Re:next and previous buttons for RSS feed. 5 Years, 8 Months ago  
It might not be the most efficient, but you could create x number of buttons for each RSS feed you wanted to show and have the mouse down event of each meter hide the current button and show the next one. It's not pretty but it'd work.
turwaith
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#9265
Re:next and previous buttons for RSS feed. 5 Years, 8 Months ago  
thanks. thats one way that does work. Like you said ugly and painful but works.
periferral
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop