WordPress.org

Ready to get started?Download WordPress

Forums

Tabs popular posts and latest posts
Tabs popular posts and latest posts - wp 3.6 jquery error (1 post)

  1. Vadim V
    Member
    Posted 1 year ago #

    WP 3.6 jquery error
    Uncaught TypeError: Property '$' of object [object Object] is not a function

    <head profile="http://gmpg.org/xfn/11">
    
    <!-- Плавная прокрутка к id #якорю -->
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
        $('a[href^="#"]').bind('click.smoothscroll',function (e) {
            e.preventDefault();
    
            var target = this.hash,
            $target = $(target);
    
            $('html, body').stop().animate({
                'scrollTop': $target.offset().top
            }, 600, 'swing', function () {
                window.location.hash = target;
            });
        });
    
    });
    </script>
    <!-- /Плавная прокрутка к id #якорю -->
    
    </head>

    Error Plugin Tabs popular posts and latest posts:
    Gogle Chrome / Console:

    Uncaught TypeError: Property '$' of object [object Object] is not a function site.com/1/:162
    (anonymous function) site.com/1/:162
    c jquery.js:7341
    p.fireWith jquery.js:7403
    b.extend.ready jquery.js:6875
    H

    ====

    When your plugin is disabled, everything was working.
    Error gone.
    There was a smooth scrolling.

    http://wordpress.org/plugins/tabs-widget-popular-posts-and-latest-posts/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic