-
Change the way Pausing RSS Scroller displays pscroller#1
1) Script Title: Pausing RSS Scroller
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ller/index.htm
3) Describe problem: I've looked through and have yet to find the answer and am reluctant to edit the rsspausescroller.js file, but I was hoping to display my RSS feed in the pscroller#1 as follows
Title(link): Date: Short Description
all in one line. Can this be done?
I hope this makes sense
Cheers
Dean
-
-
In actual fact, I've found out how to do it, but alas, the description isn't showing anyway. LOL
Amazing, I've wasted heaps of time on one issue when I had another one lurking.
Anyway, I get my feed from my wordpress blog feed, so I'm assuming there is some reason with this that the description is not showing.
Here is the URL I'm testing it on:
http://www.atradersuniverse.com/ticker.html
Everything works fine except my description is not showing - can anyone help?
Cheers
-
-
OK, I've worked it out.
If anyone has this issue, check to see if your descriptions in your rss page source has CDATA in it. If it does, go to this thread and follow the suggestion in your lastrss.php file
http://www.dynamicdrive.com/forums/s...using+scroller
this will fix it.
As to my other problem of getting the title, date and description to stay on the same line, I can only get the date to do it but going into the rsspausescroller.js file and removing the <br /> parts
function formatrssmessage(divid, msgnumber, linktarget, logicswitch){
var rsscontent=rsscontentdata[divid][msgnumber]
var linktitle='<span class="rsstitle"><a href="'+unescape(rsscontent.link)+'" target="'+linktarget+'">'+unescape(rsscontent.title)+'</a></span>'
var description='<div class="rssdescription">'+unescape(rsscontent.description)+'</div>'
var feeddate='<span class="rssdate">'+unescape(rsscontent.date)+'</span>'
if (logicswitch.indexOf("description")!=-1 && logicswitch.indexOf("date")!=-1) //Logic switch- Show description and date
return linktitle+ " " + feeddate + " " + description
else if (logicswitch.indexOf("description")!=-1) //Logic switch- Show just description
return linktitle+ " " + description
else if (logicswitch.indexOf("date")!=-1) //Logic switch- Show just date
return linktitle+ " " + feeddate
But for some reason, the description still moves down to the next line. I have no idea why and guess I'll just have to accept it this way.
-
-
Now some more help needed
Hi All,
As a follow up to my previous posts I wanted to ask for some advice.
I have almost got it looking the way I want - it can be seen here:
http://www.atradersuniverse.com/
The problem is it works some times and other times it doesn't, and when it isn't is is showing the 'Initializing RSS scroller....' message. For example, if I go to one page it works, go back it doesn't, go to another page it doesn'
t, visit another page it does.
So, is there a reason it does this and if so can I fix it OR, should I use the Ajax scrolling RSS script instead, does this one work better?
Many thanks
Dean
-
-
Oh Well,
I'll guess I'll have to work this one out for myself
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks