Plugin Directory

Changeset 953044


Ignore:
Timestamp:
07/22/2014 08:35:23 PM (12 years ago)
Author:
adaldesign
Message:
  • Version 1.1 -

jQuery bug fix of "scrollTo"

Location:
search-index-page-content/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • search-index-page-content/trunk/readme.txt

    r843339 r953044  
    44Tags: cms, content, link, navigation, page, Post, scroll, search, sidebar, text
    55Requires at least: 3.6
    6 Tested up to: 3.8
     6Tested up to: 3.9
    77Stable tag: trunk
    88License: GPLv2 or later
     
    6161== Changelog ==
    6262
     63= 1.1 =
     64* Bug fix of scrollTo
     65
    6366= 1.0 =
    6467* Initial realease of the plugin
  • search-index-page-content/trunk/search-index-page-content.php

    r843348 r953044  
    220220                scrollThere: function () {
    221221                    nameTag = $('#' + $(this).attr('points') );
    222                     $('html,documentElement').animate({scrollTop: nameTag.offset().top - 100},'slow');
     222                    $('html,body').animate({scrollTop: nameTag.offset().top - 100},'slow');
    223223                    return false;
    224224                }
     
    239239                    });
    240240                  });
    241                   return $('html,documentElement').animate({scrollTop: $('.' + className + ':first').offset().top - 100},'slow');
     241                  return $('html,body').animate({scrollTop: $('.' + className + ':first').offset().top - 100},'slow');
    242242                }
    243243              }
Note: See TracChangeset for help on using the changeset viewer.