Search code examples
javascriptjqueryticker

jQuery ticker - how to set URL for #ticker-title


I'm using JQuery ticker, and its working perfectly, i only need to set title for #ticker-title, is that possible??

    $.fn.ticker.defaults = {
    speed: 0.10,            
    ajaxFeed: false,
    feedUrl: '',
    feedType: 'xml',
    displayType: 'reveal',
    htmlFeed: true,
    debugMode: true,
    controls: true,
    titleText: 'Latest News ::',
    direction: 'ltr',   
    pauseOnItems: 3000,
    fadeInSpeed: 600,
    fadeOutSpeed: 300
};  

Any thoughts? thanks in advance


Solution

  • In the ticker.js file itself is added a href tag to the titleText attrivute, check below :

            titleText: '<a href=xxxx.aspx' + '>' + 'News ::' + '</a>',