Forums Archive Index > Cool free scripts > Can't Get V-Newsticker to Work

Author: Craig Brown

Date: 17 Apr 2004 9:51 am

I am trying to incorporate the v-newsticker on a page where the news headline will be taken from a link from another site. I am doing something wrong but don't know what.

Any help would be greatly appreciated.

The page is: --> http://www.clinicians.org/scroll.shtml


Author: smartmenus

Date: 18 Apr 2004 4:40 am

First, I saw that you have placed the script in the source of the page and it is commented- it doesn't even have <script> and </script> tags around it.

Secondly, you have omitted all configuration variables in section 1 of the script.

I would recommend you to save your content as it is at the moment and copy and paste the entire script again in your page. Then you can replace the default content with the saved.


Author: Craig Brown

Date: 18 Apr 2004 11:27 am

Thanks.

I now have the scroll working but how do I pull the headlines from another site? I have the link information but when the page is displayed the headlines come from the other website.


Author: Craig Brown

Date: 18 Apr 2004 3:57 pm

I have added my code in the head and next to the news items. It comes back as undefined when live.


Author: smartmenus

Date: 19 Apr 2004 5:11 pm

It comes back as "undefined" because you have not defined any text to be displayed for the first item (neither you have defined a target for the link). Your first item looks like this:

... ['http://www.kffheadlines.org/headlines/export.cgi?type=javascript&topic=Minority+Health|Children?s+Health|Racial+Disparities+in+Health+Care|Women?s+Health|Coverage+and+Acces&limit=5'], ...

This means your item is like this:

['href']

while it should look like this:

['href','text','target']


Author: Craig Brown

Date: 19 Apr 2004 9:36 pm

First I want to thank you for your time. I am a novice and this type of feature is new to me.

I made the necessary corrections but the headlines don't appear. If you look at the home page of the site --> http://www.clinicians.org, the headlines are generated by Kaiser.

I don't need a link to scroll but the generated headlines.


Author: Craig Brown

Date: 26 Apr 2004 9:04 pm

Hello Vasil,

Have you been able to figure out why I can't get the headlines to appear from another site?

Thanks.