Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How to Create a “Sticky” Floating Footer Bar in WordPress

(function($) {
this.randomtip = function(){
    var length = $("#tips li").length;
    var ran = Math.floor(Math.random()*length) + 1;
    $("#tips li:nth-child(" + ran + ")").show();
};
 
$(document).ready(function(){   
    randomtip();
});
})( jQuery );
Source by www.wpbeginner.com #
 
PREVIOUS NEXT
Tagged: #How #Create #Floating #Footer #Bar #WordPress
ADD COMMENT
Topic
Name
6+5 =