Difference between revisions of "Team:SVCE Chennai/Javascript"
Abrahamrkj (Talk | contribs) |
Abrahamrkj (Talk | contribs) |
||
Line 13: | Line 13: | ||
// annyang.start(); | // annyang.start(); | ||
} | } | ||
+ | |||
+ | $(".dropdown").hover( | ||
+ | function() { | ||
+ | $('.dropdown-menu', this).stop( true, true ).slideDown("fast"); | ||
+ | $(this).toggleClass('open'); | ||
+ | }, | ||
+ | function() { | ||
+ | $('.dropdown-menu', this).stop( true, true ).slideUp("fast"); | ||
+ | $(this).toggleClass('open'); | ||
+ | } | ||
+ | ); | ||
$('[data-toggle="tooltip"]').tooltip(); | $('[data-toggle="tooltip"]').tooltip(); |
Revision as of 11:18, 10 September 2015
$(function(){
if (annyang) {
var commands = {
'Hello': function() { console.log("Hello"); } };
annyang.addCommands(commands);
// annyang.start();
}
$(".dropdown").hover( function() { $('.dropdown-menu', this).stop( true, true ).slideDown("fast"); $(this).toggleClass('open'); }, function() { $('.dropdown-menu', this).stop( true, true ).slideUp("fast"); $(this).toggleClass('open'); } );
$('[data-toggle="tooltip"]').tooltip();
$("#minicellIntro").typed({ strings: ["Hello ! I'm Minicell !"], typeSpeed: 0, callback: function() { console.log("Called"); $(".loading").addClass("animateClassIntro"); function showpanel() { $(".loading").addClass("hide"); $(".navBarIGEM").removeClass("hide"); $(".footer").removeClass("hide"); } setTimeout(showpanel, 2000);
} }); });