Forums Archive Index > Cool free scripts > vNewsTicker

Author: Mack10

Date: 27 Feb 2004 8:24 am

This is a great script, yet I have one problem.

When I edit the content sometimes this disabled the script. I have had to download it 2 times to get the sample v_newsticker_1.jvs to get it to work.

After messing around I got it to work. Now I went to add it to another site, so I edited the content area and BAM, it doesnt work anymore. I make sure to keep the same structure, but something disables it.

In the content area, does there have to be a certain number of lines or a specific placement of certain objects? Any help much appreciated! :wink:


Author: smartmenus

Date: 27 Feb 2004 9:01 am

Mack10 wrote:
In the content area, does there have to be a certain number of lines or a specific placement of certain objects? Any help much appreciated! ;)No there's no limit for the news items. You can have as many as you like. And about the certain objects- I am not quite sure what you mean...

I suppose you are doing something wrong with the syntax when defining the items. Please check whether your syntax looks like this:

v_content=[
['link','text','target'],
['link','text','target'],
['link','text','target'],
['link','text','target'],
['link','text','target']
];

Don't use a comma "," after the last item.

If you still can't figure out what's wrong, please post an url and I will try to find out what's wrong.

Thanks!


Author: Mack10

Date: 27 Feb 2004 2:07 pm

Thanks for getting back to me!

I am not sure what i was doing wrong, but I made my new ticker from your example and it works fine. I am starting to think when I edited it, the file was saved wrong...I am not sure.

Well, I'm up and running now! Thanks again. :D