Difference between revisions of "Team:SVCE Chennai/Javascript"
Abrahamrkj (Talk | contribs) |
Abrahamrkj (Talk | contribs) |
||
Line 1: | Line 1: | ||
$(function(){ | $(function(){ | ||
+ | |||
+ | if (annyang) { | ||
+ | |||
+ | var commands = { | ||
+ | 'Hello': function() { | ||
+ | console.log("Hello"); | ||
+ | } | ||
+ | }; | ||
+ | |||
+ | annyang.addCommands(commands); | ||
+ | |||
+ | // annyang.start(); | ||
+ | } | ||
+ | |||
$("#minicellIntro").typed({ | $("#minicellIntro").typed({ | ||
strings: ["Hello ! I'm Minicell !"], | strings: ["Hello ! I'm Minicell !"], |
Revision as of 10:32, 10 September 2015
$(function(){
if (annyang) {
var commands = {
'Hello': function() { console.log("Hello"); } };
annyang.addCommands(commands);
// annyang.start();
}
$("#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);
} }); });