Skip to content

onReset, onPause don't seem to work #5

@jimd544

Description

@jimd544

Very cool plugin - thanks! I'm trying to refresh the data ideally more frequently through an ajax call but resetting the data using innerhtml just causes the scroll to start over. I was thinking that onReset might work - assuming that onReset fires at the end of the data and that I could do the ajax refresh at that point. I tried onPause or onReset like this:

$(".demo1").bootstrapNews({
newsPerPage: 5,
autoplay: true,
pauseOnHover:true,
direction: 'up',
newsTickerInterval: 4000,
onPause: function() { alert("Pausing!"); },
onReset: function(){ console.log("Resetting!"); },
onToDo: function () {
//console.log(this);
}
});

Neither work...

Jim

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions