├── .github └── FUNDING.yml ├── LICENSE ├── css ├── bootstrap.css ├── font-awesome.css ├── jquery-ui.css ├── style.css └── swipebox.css ├── fonts ├── FontAwesome.otf ├── fontawesome-webfont.eot ├── fontawesome-webfont.svg ├── fontawesome-webfont.ttf ├── fontawesome-webfont.woff ├── fontawesome-webfont.woff2 ├── glyphicons-halflings-regular.woff └── glyphicons-halflings-regular.woff2 ├── how to setup.txt ├── images ├── ab1.jpg ├── ab2.jpg ├── avb1.jpg ├── banner2.jpg ├── bg1.jpg ├── c-arrows.png ├── g1.jpg ├── g10.jpg ├── g11.jpg ├── g12.jpg ├── g2.jpg ├── g3.jpg ├── g4.jpg ├── g5.jpg ├── g6.jpg ├── g7.jpg ├── g8.jpg ├── g9.jpg ├── icons.svg ├── play-button.png ├── search.png ├── t1.jpg ├── t2.jpg ├── t3.jpg ├── t4.jpg ├── t5.jpg ├── t6.jpg └── up2.png ├── index.html ├── index.php ├── js ├── SmoothScroll.min.js ├── bootstrap.js ├── easing.js ├── jquery-2.1.4.min.js ├── jquery-ui.js ├── jquery.swipebox.min.js ├── move-top.js ├── numscroller-1.0.js └── simplePlayer.js ├── meadmin ├── 404.html ├── 500.html ├── add-student.php ├── blank.html ├── buttons.html ├── calender.html ├── chart.html ├── class-routine.php ├── compose.html ├── css │ ├── atlas.css │ ├── bars.css │ ├── bootstrap-markdown.min.css │ ├── bootstrap.min.css │ ├── chocolat.css │ ├── clndr.css │ ├── fabochart.css │ ├── font-awesome.css │ ├── icon-font.min.css │ ├── jqvmap.css │ ├── popuo-box.css │ ├── style.css │ └── vroom.css ├── editor.html ├── fonts │ ├── FontAwesome.otf │ ├── digital-7-webfont.eot │ ├── digital-7-webfont.svg │ ├── digital-7-webfont.ttf │ ├── digital-7-webfont.woff │ ├── digital-7_italic-webfont.eot │ ├── digital-7_italic-webfont.svg │ ├── digital-7_italic-webfont.ttf │ ├── digital-7_italic-webfont.woff │ ├── digital-7_mono-webfont.eot │ ├── digital-7_mono-webfont.svg │ ├── digital-7_mono-webfont.ttf │ ├── digital-7_mono-webfont.woff │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ ├── glyphicons-halflings-regular.woff2 │ ├── weathericons-regular-webfont.eot │ ├── weathericons-regular-webfont.svg │ ├── weathericons-regular-webfont.ttf │ └── weathericons-regular-webfont.woff ├── forms.html ├── general-information.php ├── graph.html ├── grids.html ├── home.php ├── home1.php ├── images │ ├── 1.jpg │ ├── 1.png │ ├── 2.png │ ├── 2222.png │ ├── 3.png │ ├── 4.png │ ├── 5.png │ ├── admin.jpg │ ├── admin1.jpg │ ├── admin2.jpg │ ├── alarm.png │ ├── business-1031754_640.jpg │ ├── clockface.png │ ├── closew.gif │ ├── cross.png │ ├── fb.png │ ├── hourhand.png │ ├── icons.png │ ├── in.jpg │ ├── in1.jpg │ ├── in10.jpg │ ├── in11.jpg │ ├── in2.jpg │ ├── in3.jpg │ ├── in4.jpg │ ├── in5.jpg │ ├── in6.jpg │ ├── in7.jpg │ ├── in8.jpg │ ├── in9.jpg │ ├── leftw.gif │ ├── minhand.png │ ├── p1.jpg │ ├── p2.jpg │ ├── p3.jpg │ ├── p4.jpg │ ├── p5.jpg │ ├── p6.jpg │ ├── pic3.jpg │ ├── right_arrow.png │ ├── rightw.gif │ ├── search.png │ ├── search2.png │ ├── sechand.png │ ├── social.png │ ├── speed.png │ ├── tick1.png │ ├── time.png │ ├── timer.png │ ├── tw.png │ └── watch.png ├── inbox.html ├── index.html ├── index.php ├── js │ ├── CSSPlugin.min.js │ ├── Chart-pie.js │ ├── Chart.js │ ├── TweenLite.min.js │ ├── amcharts.js │ ├── arbor.js │ ├── atlas.js │ ├── barChart.jquery.js │ ├── bootstrap-markdown.js │ ├── bootstrap.min.js │ ├── cbpFWTabs.js │ ├── clndr.js │ ├── css3clock.js │ ├── datamaps-all.js │ ├── dygraph-combined.js │ ├── fabochart.js │ ├── jquery-1.10.2.min.js │ ├── jquery.chocolat.js │ ├── jquery.nicescroll.js │ ├── jquery.vmap.js │ ├── jquery.vmap.sampledata.js │ ├── jquery.vmap.world.js │ ├── light.js │ ├── map.js │ ├── modernizr.custom.04022.js │ ├── moment-2.2.1.js │ ├── protovis-d3.2.js │ ├── radar.js │ ├── responsiveslides.min.js │ ├── scripts.js │ ├── serial.js │ ├── site.js │ ├── skycons.js │ ├── underscore-min.js │ ├── vix.js │ └── vroom.js ├── login.html ├── logouts.php ├── map.html ├── maps │ ├── africa.json │ ├── america.json │ ├── asia.json │ ├── europe.json │ ├── mideast.json │ ├── risk.json │ └── usofa.json ├── media.html ├── profile.html ├── project.html ├── register.html ├── ribbon.html ├── sign.html ├── student-information.php ├── table.html ├── tabs.html ├── teacher-add.php ├── teacher-del.php ├── teacher-delete.php ├── teacher-edit.php ├── teacher-editnow.php ├── teacher-information.php ├── typography.html ├── validation.html ├── w3layouts-License.txt └── widget.html ├── project2.sql ├── setting └── config.php ├── students ├── 404.html ├── 500.html ├── blank.html ├── buttons.html ├── calender.html ├── chart.html ├── compose.html ├── css │ ├── atlas.css │ ├── bars.css │ ├── bootstrap-markdown.min.css │ ├── bootstrap.min.css │ ├── chocolat.css │ ├── clndr.css │ ├── fabochart.css │ ├── font-awesome.css │ ├── icon-font.min.css │ ├── jqvmap.css │ ├── popuo-box.css │ ├── style.css │ └── vroom.css ├── editor.html ├── fonts │ ├── FontAwesome.otf │ ├── digital-7-webfont.eot │ ├── digital-7-webfont.svg │ ├── digital-7-webfont.ttf │ ├── digital-7-webfont.woff │ ├── digital-7_italic-webfont.eot │ ├── digital-7_italic-webfont.svg │ ├── digital-7_italic-webfont.ttf │ ├── digital-7_italic-webfont.woff │ ├── digital-7_mono-webfont.eot │ ├── digital-7_mono-webfont.svg │ ├── digital-7_mono-webfont.ttf │ ├── digital-7_mono-webfont.woff │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ ├── glyphicons-halflings-regular.woff2 │ ├── weathericons-regular-webfont.eot │ ├── weathericons-regular-webfont.svg │ ├── weathericons-regular-webfont.ttf │ └── weathericons-regular-webfont.woff ├── forms.html ├── graph.html ├── grids.html ├── home.php ├── images │ ├── 1.jpg │ ├── 1.png │ ├── 2.png │ ├── 2222.png │ ├── 3.png │ ├── 4.png │ ├── 5.png │ ├── admin.jpg │ ├── admin1.jpg │ ├── admin2.jpg │ ├── alarm.png │ ├── business-1031754_640.jpg │ ├── clockface.png │ ├── closew.gif │ ├── cross.png │ ├── fb.png │ ├── hourhand.png │ ├── icons.png │ ├── in.jpg │ ├── in1.jpg │ ├── in10.jpg │ ├── in11.jpg │ ├── in2.jpg │ ├── in3.jpg │ ├── in4.jpg │ ├── in5.jpg │ ├── in6.jpg │ ├── in7.jpg │ ├── in8.jpg │ ├── in9.jpg │ ├── leftw.gif │ ├── minhand.png │ ├── p1.jpg │ ├── p2.jpg │ ├── p3.jpg │ ├── p4.jpg │ ├── p5.jpg │ ├── p6.jpg │ ├── pic3.jpg │ ├── right_arrow.png │ ├── rightw.gif │ ├── search.png │ ├── search2.png │ ├── sechand.png │ ├── social.png │ ├── speed.png │ ├── tick1.png │ ├── time.png │ ├── timer.png │ ├── tw.png │ └── watch.png ├── inbox.html ├── index.html ├── index.php ├── js │ ├── CSSPlugin.min.js │ ├── Chart-pie.js │ ├── Chart.js │ ├── TweenLite.min.js │ ├── amcharts.js │ ├── arbor.js │ ├── atlas.js │ ├── barChart.jquery.js │ ├── bootstrap-markdown.js │ ├── bootstrap.min.js │ ├── cbpFWTabs.js │ ├── clndr.js │ ├── css3clock.js │ ├── datamaps-all.js │ ├── dygraph-combined.js │ ├── fabochart.js │ ├── jquery-1.10.2.min.js │ ├── jquery.chocolat.js │ ├── jquery.nicescroll.js │ ├── jquery.vmap.js │ ├── jquery.vmap.sampledata.js │ ├── jquery.vmap.world.js │ ├── light.js │ ├── map.js │ ├── modernizr.custom.04022.js │ ├── moment-2.2.1.js │ ├── protovis-d3.2.js │ ├── radar.js │ ├── responsiveslides.min.js │ ├── scripts.js │ ├── serial.js │ ├── site.js │ ├── skycons.js │ ├── underscore-min.js │ ├── vix.js │ └── vroom.js ├── login.html ├── logouts.php ├── map.html ├── maps │ ├── africa.json │ ├── america.json │ ├── asia.json │ ├── europe.json │ ├── mideast.json │ ├── risk.json │ └── usofa.json ├── media.html ├── profile.html ├── project.html ├── register.html ├── ribbon.html ├── sign.html ├── table.html ├── tabs.html ├── teacher-information.php ├── typography.html ├── validation.html ├── w3layouts-License.txt └── widget.html └── w3layouts-License.txt /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | custom: # Replace with a single custom sponsorship URL 10 | -------------------------------------------------------------------------------- /fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /how to setup.txt: -------------------------------------------------------------------------------- 1 | create one db project2 and import project2.sql file from project2 folder 2 | login for admin: /meadmin 3 | ------thank you---- 4 | -----Have a great day------ 5 | --------Happy Coding Hours ---------- 6 | -------------------------------------------------------------------------------- /images/ab1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/ab1.jpg -------------------------------------------------------------------------------- /images/ab2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/ab2.jpg -------------------------------------------------------------------------------- /images/avb1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/avb1.jpg -------------------------------------------------------------------------------- /images/banner2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/banner2.jpg -------------------------------------------------------------------------------- /images/bg1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/bg1.jpg -------------------------------------------------------------------------------- /images/c-arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/c-arrows.png -------------------------------------------------------------------------------- /images/g1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/g1.jpg -------------------------------------------------------------------------------- /images/g10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/g10.jpg -------------------------------------------------------------------------------- /images/g11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/g11.jpg -------------------------------------------------------------------------------- /images/g12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/g12.jpg -------------------------------------------------------------------------------- /images/g2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/g2.jpg -------------------------------------------------------------------------------- /images/g3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/g3.jpg -------------------------------------------------------------------------------- /images/g4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/g4.jpg -------------------------------------------------------------------------------- /images/g5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/g5.jpg -------------------------------------------------------------------------------- /images/g6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/g6.jpg -------------------------------------------------------------------------------- /images/g7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/g7.jpg -------------------------------------------------------------------------------- /images/g8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/g8.jpg -------------------------------------------------------------------------------- /images/g9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/g9.jpg -------------------------------------------------------------------------------- /images/icons.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/play-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/play-button.png -------------------------------------------------------------------------------- /images/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/search.png -------------------------------------------------------------------------------- /images/t1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/t1.jpg -------------------------------------------------------------------------------- /images/t2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/t2.jpg -------------------------------------------------------------------------------- /images/t3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/t3.jpg -------------------------------------------------------------------------------- /images/t4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/t4.jpg -------------------------------------------------------------------------------- /images/t5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/t5.jpg -------------------------------------------------------------------------------- /images/t6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/t6.jpg -------------------------------------------------------------------------------- /images/up2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meravi/school-management/44df4d742d6c8b98852a252a7a097009eb52a893/images/up2.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /js/move-top.js: -------------------------------------------------------------------------------- 1 | /* UItoTop jQuery Plugin 1.2 | Matt Varone | http://www.mattvarone.com/web-design/uitotop-jquery-plugin */ 2 | (function($){$.fn.UItoTop=function(options){var defaults={text:'To Top',min:200,inDelay:600,outDelay:400,containerID:'toTop',containerHoverID:'toTopHover',scrollSpeed:1000,easingType:'linear'},settings=$.extend(defaults,options),containerIDhash='#'+settings.containerID,containerHoverIDHash='#'+settings.containerHoverID;$('body').append(''+settings.text+'');$(containerIDhash).hide().on('click.UItoTop',function(){$('html, body').animate({scrollTop:0},settings.scrollSpeed,settings.easingType);$('#'+settings.containerHoverID,this).stop().animate({'opacity':0},settings.inDelay,settings.easingType);return false;}).prepend('').hover(function(){$(containerHoverIDHash,this).stop().animate({'opacity':1},600,'linear');},function(){$(containerHoverIDHash,this).stop().animate({'opacity':0},700,'linear');});$(window).scroll(function(){var sd=$(window).scrollTop();if(typeof document.body.style.maxHeight==="undefined"){$(containerIDhash).css({'position':'absolute','top':sd+$(window).height()-50});} 3 | if(sd>settings.min) 4 | $(containerIDhash).fadeIn(settings.inDelay);else 5 | $(containerIDhash).fadeOut(settings.Outdelay);});};})(jQuery); -------------------------------------------------------------------------------- /js/numscroller-1.0.js: -------------------------------------------------------------------------------- 1 | /** 2 | * jQuery scroroller Plugin 1.0 3 | * 4 | * http://www.tinywall.net/ 5 | * 6 | * Developers: Arun David, Boobalan 7 | * Copyright (c) 2014 8 | */ 9 | (function($){ 10 | $(window).on("load",function(){ 11 | $(document).scrollzipInit(); 12 | $(document).rollerInit(); 13 | }); 14 | $(window).on("load scroll resize", function(){ 15 | $('.numscroller').scrollzip({ 16 | showFunction : function() { 17 | numberRoller($(this).attr('data-slno')); 18 | }, 19 | wholeVisible : false, 20 | }); 21 | }); 22 | $.fn.scrollzipInit=function(){ 23 | $('body').prepend("
" ); 24 | }; 25 | $.fn.rollerInit=function(){ 26 | var i=0; 27 | $('.numscroller').each(function() { 28 | i++; 29 | $(this).attr('data-slno',i); 30 | $(this).addClass("roller-title-number-"+i); 31 | }); 32 | }; 33 | $.fn.scrollzip = function(options){ 34 | var settings = $.extend({ 35 | showFunction : null, 36 | hideFunction : null, 37 | showShift : 0, 38 | wholeVisible : false, 39 | hideShift : 0, 40 | }, options); 41 | return this.each(function(i,obj){ 42 | $(this).addClass('scrollzip'); 43 | if ( $.isFunction( settings.showFunction ) ){ 44 | if( 45 | !$(this).hasClass('isShown')&& 46 | ($(window).outerHeight()+$('#scrollzipPoint').offset().top-settings.showShift)>($(this).offset().top+((settings.wholeVisible)?$(this).outerHeight():0))&& 47 | ($('#scrollzipPoint').offset().top+((settings.wholeVisible)?$(this).outerHeight():0))<($(this).outerHeight()+$(this).offset().top-settings.showShift) 48 | ){ 49 | $(this).addClass('isShown'); 50 | settings.showFunction.call( this ); 51 | } 52 | } 53 | if ( $.isFunction( settings.hideFunction ) ){ 54 | if( 55 | $(this).hasClass('isShown')&& 56 | (($(window).outerHeight()+$('#scrollzipPoint').offset().top-settings.hideShift)<($(this).offset().top+((settings.wholeVisible)?$(this).outerHeight():0))|| 57 | ($('#scrollzipPoint').offset().top+((settings.wholeVisible)?$(this).outerHeight():0))>($(this).outerHeight()+$(this).offset().top-settings.hideShift)) 58 | ){ 59 | $(this).removeClass('isShown'); 60 | settings.hideFunction.call( this ); 61 | } 62 | } 63 | return this; 64 | }); 65 | }; 66 | function numberRoller(slno){ 67 | var min=$('.roller-title-number-'+slno).attr('data-min'); 68 | var max=$('.roller-title-number-'+slno).attr('data-max'); 69 | var timediff=$('.roller-title-number-'+slno).attr('data-delay'); 70 | var increment=$('.roller-title-number-'+slno).attr('data-increment'); 71 | var numdiff=max-min; 72 | var timeout=(timediff*1000)/numdiff; 73 | //if(numinc<10){ 74 | //increment=Math.floor((timediff*1000)/10); 75 | //}//alert(increment); 76 | numberRoll(slno,min,max,increment,timeout); 77 | 78 | } 79 | function numberRoll(slno,min,max,increment,timeout){//alert(slno+"="+min+"="+max+"="+increment+"="+timeout); 80 | if(min<=max){ 81 | $('.roller-title-number-'+slno).html(min); 82 | min=parseInt(min)+parseInt(increment); 83 | setTimeout(function(){numberRoll(eval(slno),eval(min),eval(max),eval(increment),eval(timeout))},timeout); 84 | }else{ 85 | $('.roller-title-number-'+slno).html(max); 86 | } 87 | } 88 | })(jQuery); -------------------------------------------------------------------------------- /js/simplePlayer.js: -------------------------------------------------------------------------------- 1 | 2 | var YTdeferred = jQuery.Deferred(); 3 | 4 | window.onYouTubeIframeAPIReady = function() { 5 | YTdeferred.resolve(window.YT); 6 | }; 7 | 8 | (function( $ ) { 9 | 10 | $.ajaxSetup({ 11 | cache: true 12 | }); 13 | 14 | $.getScript( "https://www.youtube.com/iframe_api") 15 | .done(function( script, textStatus ) { 16 | }); 17 | 18 | $.fn.simplePlayer = function() { 19 | 20 | var video = $(this); 21 | 22 | var play = $('
', { id: 'play' }).hide(); 23 | 24 | var defaults = { 25 | autoplay: 1, 26 | autohide: 1, 27 | border: 0, 28 | wmode: 'opaque', 29 | enablejsapi: 1, 30 | modestbranding: 1, 31 | version: 3, 32 | hl: 'en_US', 33 | rel: 0, 34 | showinfo: 0, 35 | hd: 1, 36 | iv_load_policy: 3 // add origin 37 | }; 38 | 39 | // onYouTubeIframeAPIReady 40 | 41 | YTdeferred.done(function(YT) { 42 | play.appendTo( video ).fadeIn('slow'); 43 | }); 44 | 45 | function onPlayerStateChange(event) { 46 | if (event.data == YT.PlayerState.ENDED) { 47 | play.fadeIn(500); 48 | } 49 | } 50 | 51 | function onPlayerReady(event) { 52 | var replay = document.getElementById('play'); 53 | replay.addEventListener('click', function() { 54 | player.playVideo(); 55 | }); 56 | } 57 | 58 | play.bind('click', function () { 59 | 60 | if ( !$('#player' ).length ) { 61 | 62 | $('