Changeset 953044
- Timestamp:
- 07/22/2014 08:35:23 PM (12 years ago)
- Location:
- search-index-page-content/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
search-index-page-content.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
search-index-page-content/trunk/readme.txt
r843339 r953044 4 4 Tags: cms, content, link, navigation, page, Post, scroll, search, sidebar, text 5 5 Requires at least: 3.6 6 Tested up to: 3. 86 Tested up to: 3.9 7 7 Stable tag: trunk 8 8 License: GPLv2 or later … … 61 61 == Changelog == 62 62 63 = 1.1 = 64 * Bug fix of scrollTo 65 63 66 = 1.0 = 64 67 * Initial realease of the plugin -
search-index-page-content/trunk/search-index-page-content.php
r843348 r953044 220 220 scrollThere: function () { 221 221 nameTag = $('#' + $(this).attr('points') ); 222 $('html, documentElement').animate({scrollTop: nameTag.offset().top - 100},'slow');222 $('html,body').animate({scrollTop: nameTag.offset().top - 100},'slow'); 223 223 return false; 224 224 } … … 239 239 }); 240 240 }); 241 return $('html, documentElement').animate({scrollTop: $('.' + className + ':first').offset().top - 100},'slow');241 return $('html,body').animate({scrollTop: $('.' + className + ':first').offset().top - 100},'slow'); 242 242 } 243 243 }
Note: See TracChangeset
for help on using the changeset viewer.