Changeset 1484571
- Timestamp:
- 08/27/2016 09:27:38 AM (10 years ago)
- Location:
- click-to-scroll
- Files:
-
- 4 edited
- 1 copied
-
tags/1.1.0 (copied) (copied from click-to-scroll/trunk)
-
tags/1.1.0/assets/js/front.min.js (modified) (1 diff)
-
tags/1.1.0/readme.txt (modified) (3 diffs)
-
trunk/assets/js/front.min.js (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
click-to-scroll/tags/1.1.0/assets/js/front.min.js
r1481666 r1484571 1 (function(a){var b=a(".cts-button");a(window).load(function(){b.on("click",function(b){b.preventDefault();a("html, body").animate({scrollTop:0},400,"linear")})});a(window).on("scroll",function(){var c=a(window).height()/2;a("body").scrollTop()>c?b.addClass("active"):b.removeClass("active")})})(jQuery); 1 (function(a){var c=a(".js_settings").val(),d=a(".cts-button"),c=c?JSON.parse(c):null;a(window).load(function(){d.on("click",function(b){b.preventDefault();a("html, body").animate({scrollTop:0},400,"linear")});if(c&&"1"===c.scroll_to_anchor)a('a[href^="#"]').not('a[href="#"]').on("click",function(b){b.preventDefault();b=a(this).attr("href");var e=a(b);if(e.length){b=e.offset().top;var d=a("#wpadminbar");d.length&&"fixed"===d.css("position")&&(b-=d.height());c.global_offset&&(b-=parseInt(c.global_offset)); 2 (e=e.data("offset"))&&(b-=parseInt(e));a("html, body").animate({scrollTop:b},400,"linear")}})});a(window).on("scroll",function(){var b=a(window).height()/2;a("body").scrollTop()>b?d.addClass("active"):d.removeClass("active")})})(jQuery); -
click-to-scroll/tags/1.1.0/readme.txt
r1484533 r1484571 18 18 = Features = 19 19 20 * Back-to-top button both for front-end and the admin area 20 * Scroll to top: Back-to-top button both for front-end and the admin area 21 * Scroll to anchor: Smooth scrolling to any section of your page using anchors 21 22 * Well-working and good-looking out of the box 22 23 * Totally customizeable look: sizes, colors, opacity settings (including hover states) and more … … 42 43 43 44 1. This is how your button looks like when you just activated the plugin 44 2. Plugin settings page 45 2. Plugin settings page (1.0.0). 45 46 46 47 == Frequently Asked Questions == … … 63 64 64 65 * Fix: save border radius with 0 value 66 * Add: scrolling to anchor feature 65 67 66 68 = 1.0.0 = -
click-to-scroll/trunk/assets/js/front.min.js
r1481666 r1484571 1 (function(a){var b=a(".cts-button");a(window).load(function(){b.on("click",function(b){b.preventDefault();a("html, body").animate({scrollTop:0},400,"linear")})});a(window).on("scroll",function(){var c=a(window).height()/2;a("body").scrollTop()>c?b.addClass("active"):b.removeClass("active")})})(jQuery); 1 (function(a){var c=a(".js_settings").val(),d=a(".cts-button"),c=c?JSON.parse(c):null;a(window).load(function(){d.on("click",function(b){b.preventDefault();a("html, body").animate({scrollTop:0},400,"linear")});if(c&&"1"===c.scroll_to_anchor)a('a[href^="#"]').not('a[href="#"]').on("click",function(b){b.preventDefault();b=a(this).attr("href");var e=a(b);if(e.length){b=e.offset().top;var d=a("#wpadminbar");d.length&&"fixed"===d.css("position")&&(b-=d.height());c.global_offset&&(b-=parseInt(c.global_offset)); 2 (e=e.data("offset"))&&(b-=parseInt(e));a("html, body").animate({scrollTop:b},400,"linear")}})});a(window).on("scroll",function(){var b=a(window).height()/2;a("body").scrollTop()>b?d.addClass("active"):d.removeClass("active")})})(jQuery); -
click-to-scroll/trunk/readme.txt
r1484533 r1484571 18 18 = Features = 19 19 20 * Back-to-top button both for front-end and the admin area 20 * Scroll to top: Back-to-top button both for front-end and the admin area 21 * Scroll to anchor: Smooth scrolling to any section of your page using anchors 21 22 * Well-working and good-looking out of the box 22 23 * Totally customizeable look: sizes, colors, opacity settings (including hover states) and more … … 42 43 43 44 1. This is how your button looks like when you just activated the plugin 44 2. Plugin settings page 45 2. Plugin settings page (1.0.0). 45 46 46 47 == Frequently Asked Questions == … … 63 64 64 65 * Fix: save border radius with 0 value 66 * Add: scrolling to anchor feature 65 67 66 68 = 1.0.0 =
Note: See TracChangeset
for help on using the changeset viewer.