CSS Text Replacement

Out of context: Reply #2

  • Started
  • Last post
  • 3 Responses
  • neverblink0

    in script/jquery.cycle.all.js?v2.23 you will find the following:

    -- start code --
    $.fn.cycle.createPagerAnchor = function(i, el, $p, els, opts) {
    var $a = (typeof opts.pagerAnchorBuilder == 'function')
    ? $(opts.pagerAnchorBuilder(i,el))
    : $('<a href="#">'+(i+1)+'</a>');
    -- end code --

    see that last line? if you replace the "(i+1)" with "&nbsp;" This will change the number into a space. But I think you want it to be an empty bullet right? Just change the "(i+1)" with the empty bullet image, for example: "<img src="images/emptybullet.gif" alt="i+1" />"

View thread