Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
test [2019/05/04] – gomida | test [2021/12/04] (current) – removed gomida | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | < | ||
- | < | ||
- | .followMeBar { | ||
- | width: | ||
- | height: | ||
- | background: #e64a19; | ||
- | line-height: | ||
- | position: absolute; | ||
- | color: #fff; | ||
- | } | ||
- | .followMeBar.fixed { | ||
- | position: fixed; | ||
- | top: 0; | ||
- | } | ||
- | |||
- | .followMeBar.fixed.absolute { | ||
- | position: absolute; | ||
- | } | ||
- | |||
- | </ | ||
- | < | ||
- | var stickyHeaders = (function() { | ||
- | var $window = jQuery(window); | ||
- | var load = function(stickies) { | ||
- | $stickies = stickies.each(function() { | ||
- | var $thisSticky = jQuery(this).wrap('< | ||
- | console.log($thisSticky.offset().top); | ||
- | $thisSticky | ||
- | .data(' | ||
- | .data(' | ||
- | .parent() | ||
- | .height($thisSticky.outerHeight()); | ||
- | }); | ||
- | |||
- | $window.off(" | ||
- | }; | ||
- | |||
- | var _whenScrolling = function() { | ||
- | $stickies.each(function(i) { | ||
- | var $thisSticky = jQuery(this); | ||
- | var $stickyPosition = $thisSticky.data(' | ||
- | |||
- | if ($stickyPosition <= $window.scrollTop()) { | ||
- | var $nextSticky = $stickies.eq(i + 1); | ||
- | var $nextStickyPosition = $nextSticky.data(' | ||
- | |||
- | $thisSticky.addClass(" | ||
- | if ($nextSticky.length > 0 && $thisSticky.offset().top >= $nextStickyPosition) { | ||
- | $thisSticky.addClass(" | ||
- | } | ||
- | } else { | ||
- | var $prevSticky = $stickies.eq(i - 1); | ||
- | $thisSticky.removeClass(" | ||
- | if ($prevSticky.length > 0 && $window.scrollTop() <= $thisSticky.data(' | ||
- | $prevSticky.removeClass(" | ||
- | } | ||
- | } | ||
- | }); | ||
- | }; | ||
- | |||
- | return { | ||
- | load: load | ||
- | }; | ||
- | })(); | ||
- | </ | ||
- | </ | ||
- | |||
- | ====== Jeep Wrangler Rubicon ====== | ||
- | ===== 지프 랭글러 루비콘 ===== | ||
- | |||
- | < | ||
- | |||
- | <sq jeep: | ||
- | <sq jeep: | ||
- | <sq jeep: | ||
- | <sq jeep: | ||
- | |||
- | < | ||
- | |||
- | <sq square: | ||
- | <sq jeep: | ||
- | <sq square: | ||
- | <sq square: | ||
- | |||
- | < | ||
- | |||
- | <sq square: | ||
- | <sq square: | ||
- | |||
- | < | ||
- | |||
- | <sq square: | ||
- | <sq square: | ||
- | <sq square: | ||
- | <sq square: | ||
- | |||
- | < | ||
- | |||
- | <sq notes: | ||
- | <sq : | ||
- | |||
- | < | ||
- | |||
- | <sq jeep: | ||
- | |||
- | < | ||
- | |||
- | <sq : | ||
- | <sq : | ||
- | <sq : | ||
- | < | ||
- | < | ||
- | jQuery(window).load(function(){ | ||
- | stickyHeaders.load(jQuery(" | ||
- | }); | ||
- | </ | ||
- | </ |
TypeError: Cannot access offset of type string on string
An unforeseen error has occured. This is most likely a bug somewhere.
More info has been written to the DokuWiki error log.