HOME
RECENT CHANGES

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
test [2019/05/04 09:25]
gomida
test [2019/05/04 12:55] (current)
gomida
Line 1: Line 1:
 <html> <html>
 <style> <style>
 +.followWrap {
 +}
 .followMeBar { .followMeBar {
   width:100px;   width:100px;
Line 6: Line 8:
   background: #e64a19;   background: #e64a19;
   line-height:60px;   line-height:60px;
-  position: absolute;+  position: relative;
   color: #fff;   color: #fff;
 } }
Line 25: Line 27:
   var load = function(stickies) {   var load = function(stickies) {
       $stickies = stickies.each(function() {       $stickies = stickies.each(function() {
-        var $thisSticky = jQuery(this);//.wrap('<div class="followWrap" />');+        var $thisSticky = jQuery(this).wrap('<div class="followWrap" />');
         console.log($thisSticky.offset().top);         console.log($thisSticky.offset().top);
         $thisSticky         $thisSticky