Wednesday, January 28, 2015

jquery conflict fix by noconflict

     script start
var $s = jQuery.noConflict();          
$s(document).ready(function() {
    $s('#news-container').vTicker({
        speed: 500,
        pause: 3000,
        animation: 'fade',
        mousePause: true,
        showItems: 2
    });      
});
script close
    script start
        var $j = jQuery.noConflict();
        $j(document).ready(function() {
            $j('.sf-menu ul').superfish({
                delay:       1000,
                animation:   {opacity:'show',height:'show'},
                speed:       'medium',
                autoArrows:  false,
                dropShadows: 'medium'
            });
        });
    script close

No comments:

Post a Comment

Change priority of dual boot OS

Change priority of dual boot OS  (Windows and Linux): Go to your Linux OS, install Grub customizer. Then change priority by up and down arro...