Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Getting different content in two scrollers
mukesh11
Member

Posts: 19
Registered: 7/6/2004
Member Is Offline
posted on 7/7/2004 at 01:16 PM Reply With Quote
Getting different content in two scrollers


Hi,

I had posted yesterday about creating two different scrollers on my website. I have been able to create two instances of the scroller. However, for the first instance I want to get the news from CNSNews.com and it works. It displays the news from that site. You can view the code which I had to enter in my html file at the following URL:

http://www.cnsnews.com/ticker/ticker_signup.asp

For the second instance, I want it to get the immigration news from

http://story.news.yahoo.com/fc?cid=34&tmpl=fc&in=US&cat=Immigration

Is it possible? Presently both instances of the scroller get the news from CNS site even though I tried to get the content of the second one from a file or the above site.

I am enclosing the javascript file where I get the news from CNS website. Your help will be very much appreciated. You can view my website at the following URL and see both the scrollers:

http://www.legalgurus.com

Thank you,
Mukesh Kumar

Attachment: sidebar.js (4.88kb)
This file has been downloaded 739 times
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 7/7/2004 at 02:34 PM Reply With Quote

Default browser's security settings makes it impossible to get Tigra Scroller content via 'file' key from different domain (not one where script is called).
View User's Profile View All Posts By User U2U Member
mukesh11
Member

Posts: 19
Registered: 7/6/2004
Member Is Offline
posted on 7/7/2004 at 03:38 PM Reply With Quote
Ref: Getting different content in two scrollers


Hi,

Thanks for your response. Still, I am unclear as to how to get the content of the following URL in my first scroller.

http://story.news.yahoo.com/fc?cid=34&tmpl=fc&in=US&cat=Immigration

Say, I just want content from the above site and have only one scroller. I don't want the content from CNS News site and have only the scroller for Immigration News from Yahoo site.

Could you please explain how to get the data from above mentioned URL and not a file?

Thanks for your help,
Mukesh Kumar
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 7/8/2004 at 07:37 AM Reply With Quote

You could use server side to get content from another site and paste the content via 'content' key of ITEMS var.
View User's Profile View All Posts By User U2U Member
mukesh11
Member

Posts: 19
Registered: 7/6/2004
Member Is Offline
posted on 7/8/2004 at 12:21 PM Reply With Quote
Ref: Getting different content in two scrollers


Hi,

Thanks again for your response but I couldn't get it still working. Please have a look at the following URL where I have two scrollers:

http://www.legalgurus.com

In the first scroller I want to get the content from CNS News feed which works fine and it gets the data from there. In the second scroller I want to get the content from a text file. I tried putting the following for second scroller:

'file' : 'data.txt'

It didn't work then I tried:

'content' : 'data.txt'

That too didn't work. I have the file 'data.txt' with some text in it in the same directory. So, it shold get the text for the second scroller from that file but it doesn't work. Could you please help me here? I want to get the content for the second scroller from a local text file which you had suggested.

Hoping to hear from you,

Regards,
Mukesh Kumar
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 7/8/2004 at 12:46 PM Reply With Quote

Please use up to date version of the product.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos:
Multiple vertical scrolling
Horizontal scrolling
Free Download Free Download
Product Documentation Documentation:
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
   

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004