Ticker Tape
This component vertically scrolls a number of items within a container. Each page of items is pulled from a server which supplies JSON data. The parameters are: the data url, a css class for the container, and the time to pause between scrolling each item. Very simple! I had to do this for a project recently and couldn't find any useful "modern" implementations, so I rolled my own. The core js file is 8.5k without any compression at all, or dependencies.
var urlWithParams = this.dataUrl + concatCharacter + "lastId=" + this.lastId; //random number in url = no cache urlWithParams=urlWithParams+"&rand="+Math.random();
The url format doesnot support in the html. eg. www.webduniz.com/json/number.js
Wont work with latin characters as it is
Hi, This code is amazing!!! But I can't use them in Internet Explorer 7. Can you help me where and what I'll need change the code to run? Thanks all!
I use opera which you give a message about it not supported. It's bad practise to use browser detection, you should be using feature detection because opera will probably work.
Ticker Tape not working in i6
Hola! esto mola!