Sticky Footer

Sticky Footer

Adding an On Call Sticky Footer

In order for the publisher to add a sticky footer with this option they will need to use JavaScript to invoke the newStickyfooter method:

freestar.queue.push(function() {
    freestar.newStickyFooter(); 
});

optionally pass the placement name:

freestar.queue.push(function() {
    freestar.newStickyFooter("placementName"); 
});

Deleting a Sticky Footer

In order for the publisher to remove the sticky footer on demand (use case would be when the "view" changes) they will need to use JavaScript to invoke the deleteStickyFooter method. This will work for both on call or dynamic footers.:

freestar.queue.push(function() {
    freestar.deleteStickyFooter(); 
});

optionally pass the placement name:

freestar.queue.push(function() {
    freestar.deleteStickyFooter("placementName"); 
});