/*============================================================= Author: Jan Klug-Offermann Authour URI: www.dastechnikhaus.de =============================================================== */ (function ($) { $.alert_ext = { defaults: { autoClose: false, closeTime: 10000, withTime: false, type: 'danger', position: ['center', [-0.9, 0]], title: 'HINWEIS', close: 'OK', speed: 'normal', isOnly: true, minTop: 30, onShow: function () { }, onClose: function () { } }, tmpl: '

${Title}

${Content}

', init: function (msg, options) { this.options = $.extend({}, this.defaults, options);close this.create(msg); this.set_css(); this.bind_event(); return this.alertDiv; }, template: function (tmpl, data) { $.each(data, function (k, v) { tmpl = tmpl.replace('${' + k + '}', v); }); return $(tmpl); }, create: function (msg) { this.alertDiv = this.template(this.tmpl, { State: 'alert-' + this.options.type, Title: this.options.title, Content: msg }).hide(); if (!this.options.title) { $('h4', this.alertDiv).remove(); $('p', this.alertDiv).css('margin-right', '15px'); } if (this.options.isOnly) { $('body > .alert').remove(); } this.alertDiv.appendTo($('body')); }, set_css: function () { var alertDiv = this.alertDiv; alertDiv.css({ 'position': 'fixed', 'z-index': 10001 + $(".alert").length }); var ie6 = 0; if ($.browser && $.browser.msie && $.browser.version == '6.0') { alertDiv.css('position', 'absolute'); ie6 = $(window).scrollTop(); } var position = this.options.position, pos_str = position[0].split('-'), pos = [0, 0]; if (position.length > 1) { pos = position[1]; } if (pos[0] > -1 && pos[0] < 1) { pos[0] = pos[0] * $(window).height(); } if (pos[1] > -1 && pos[1] < 1) { pos[1] = pos[1] * $(window).width(); } for (var i in pos_str) { if ($.type(pos_str[i]) !== 'string') { continue; } var str = pos_str[i].toLowerCase(); if ($.inArray(str, ['left', 'right']) > -1) { alertDiv.css(str, pos[1]); } else if ($.inArray(str, ['top', 'bottom']) > -1) { alertDiv.css(str, pos[0] + ie6); } else { alertDiv.css({ 'top': ($(window).height() - alertDiv.outerHeight()) / 2 + pos[0] + ie6, 'left': ($(window).width() - alertDiv.outerWidth()) / 2 + pos[1] }); } } if (parseInt(alertDiv.css('top')) < this.options.minTop) { alertDiv.css('top', this.options.minTop); } }, bind_event: function () { this.bind_show(); this.bind_close(); if ($.browser && $.browser.msie && $.browser.version == '6.0') { this.bind_scroll(); } }, bind_show: function () { var ops = this.options; this.alertDiv.fadeIn(ops.speed, function () { ops.onShow($(this)); }); }, bind_close: function () { var alertDiv = this.alertDiv, ops = this.options, closeBtn = $('.close', alertDiv).add($(this.options.close, alertDiv)); closeBtn.bind('click', function (e) { alertDiv.fadeOut(ops.speed, function () { $(this).remove(); ops.onClose($(this)); }); e.stopPropagation(); }); if (this.options.autoClose) { var time = parseInt(this.options.closeTime / 1000); if (this.options.withTime) { $('p', alertDiv).append('
' + time + '
'); } var timer = setInterval(function () { $('em', alertDiv).text(--time); if (!time) { clearInterval(timer); closeBtn.trigger('click'); } }, 1000); } }, bind_scroll: function () { var alertDiv = this.alertDiv, top = alertDiv.offset().top - $(window).scrollTop(); $(window).scroll(function () { alertDiv.css("top", top + $(window).scrollTop()); }) }, check_mobile: function () { var userAgent = navigator.userAgent; var keywords = ['Android', 'iPhone', 'iPod', 'iPad', 'Windows Phone', 'MQQBrowser']; for (var i in keywords) { if (userAgent.indexOf(keywords[i]) > -1) { return keywords[i]; } } return false; } }; $.alert = function (msg, arg) { if ($.alert_ext.check_mobile()) { alert(msg); return; } if (!$.trim(msg).length) { return false; } if ($.type(arg) === "string") { arg = { title: arg } } if (arg && arg.type == 'error') { arg.type = 'danger'; } return $.alert_ext.init(msg, arg); } })(jQuery); function check_plz_form(lang,formaction) { if (document.getElementById("PRTMP*@PLZ").value == '') { //HINWEISBOX: Bitte geben Sie Ihre PLZ ihres Ortes an! Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@PLZ").focus(); return false; } var AbzErw = parseInt(document.getElementById("PRTMP*@ABERW").value); var AbzKind = parseInt(document.getElementById("PRTMP*@ABKIND").value); var AbzGes = AbzErw + AbzKind; //HINWEISBOX: Die Gesamtzahl der Personen (Erwachsene und Kinder) darf nicht mehr als 7 betragen. Für weitere Personen füllen Sie bitte einen neuen Auftrag aus! if(AbzGes > 7) { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@ANERW").focus(); return false; } if(AbzKind > AbzErw) { while(AbzKind > AbzErw) { AbzKind = AbzKind-1; AbzErw = AbzErw+1; } //HINWEISBOX: Es kann nur ein Kind unter 12 Jahren pro Erwachsener Person befördert werden. Ihre Angaben werden nun automatisch angepasst. Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, delay: 3000, position: 'center top', msg: "" }); document.forms["plz"].elements["PRTMP*@ABERW"].value = AbzErw; document.forms["plz"].elements["PRTMP*@ABKIND"].value = AbzKind; return false; } document.forms.plz.action = formaction; document.forms.plz.submit(); } function test_contact_form(lang,formaction) { //HINWEISBOX: Bitte geben Sie Ihren Namen an! if (document.getElementById("yourname").value == '') { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, sound: false, delay: 3000, position: 'center top', msg: "" }); document.getElementById("name").focus(); return false; } //HINWEISBOX: Bitte geben Sie Ihre E-Mail Adresse an! if (document.getElementById("email").value == '') { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, sound: false, delay: 3000, position: 'center top', msg: "" }); document.getElementById("email").focus(); return false; } //HINWEISBOX: Bitte geben Sie eine Nachricht ein! if (document.getElementById("cmessage").value == '') { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, sound: false, delay: 3000, position: 'center top', msg: "" }); document.getElementById("cmessage").focus(); return false; } //document.forms.transfer.action = formaction; document.forms.contact.submit(); } function do_the_test(lang,formaction) { var ABJA = document.getElementById("ABJA").checked; var ANJA = document.getElementById("ANJA").checked; //alert(document.getElementById("PRTMP*@ABFLGJ").value); var heute = new Date(); var dateAKT = new Date (heute.getFullYear(),heute.getMonth(),heute.getDate()); if(!ABJA && !ANJA) { //HINWEISBOX: Es muss Abholung oder Rückholung oder beides ativiert werden! Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, sound: false, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@ABJA").focus(); return false; } var vorname = document.getElementById("PRTMP*@VORNAME").value; //HINWEIS BOX: Bitte geben Sie Ihren Vornamen an! if (document.getElementById("PRTMP*@VORNAME").value == '' || vorname.length < 3) { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, sound: false, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@VORNAME").focus(); return false; } //HINWEIS BOX: Bitte geben Sie Ihren Nachnamen ein! var nachname = document.getElementById("PRTMP*@NAME").value; if (document.getElementById("PRTMP*@NAME").value == '' || nachname.length < 3) { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, sound: false, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@NAME").focus(); return false; } //HINWEIS BOX: Bitte geben Sie Ihre Strasse und Hausnummer ein! var adresse = document.getElementById("PRTMP*@STRASSE").value; if (document.getElementById("PRTMP*@STRASSE").value == '' || adresse.length < 3) { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, sound: false, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@STRASSE").focus(); return false; } /* /HINWEIS BOX: Bitte geben Sie Ihre Ort / Ihre Stadt an! var ort = document.getElementById("PRTMP*@ORT").value; if (document.getElementById("PRTMP*@ORT").value == '' || ort.length < 3) { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, sound: false, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@ORT").focus(); return false; } */ //HINWEIS BOX: Bitte geben Sie Ihre Telefonnummer ein! var telefon = document.getElementById("PRTMP*@TELEFON").value; if (document.getElementById("PRTMP*@TELEFON").value == '' || telefon.length < 6) { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, sound: false, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@TELEFON").focus(); return false; } var mobil = document.getElementById("PRTMP*@MOBIL").value; if (document.getElementById("PRTMP*@MOBIL").value == '' || mobil.length < 6) { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, sound: false, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@MOBIL").focus(); return false; } if (document.getElementById("PRTMP*@MOBIL").value == '' && document.getElementById("ANJA").checked == true) { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, sound: false, delay: 5000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@MOBIL").focus(); return false; } //HINWEIS BOX: Bitte geben Sie Ihre E-Mail Adresse an! var mail = document.getElementById("PRTMP*@E_MAIL").value; if (document.getElementById("PRTMP*@E_MAIL").value == '' || mail.length < 6) { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, sound: false, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@E_MAIL").focus(); return false; } if(ABJA) { //Wenn Abholung ausgewählt ist //HINWEIS BOX: Bitte geben Sie Ihre Flugnummer ein! if (document.getElementById("PRTMP*@ABFLGNR").value == '') { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, sound: false, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@ABFLGNR").focus(); return false; } //HINWEIS BOX: Bitte geben Sie ein vollständiges Datum ein! if (document.getElementById("PRTMP*@ABFLGT").value == '' || document.getElementById("PRTMP*@ABFLGM").value == '' || document.getElementById("PRTMP*@ABFLGJ").value == '') { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, sound: false, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@ABFLGT").focus(); return false; } var ABjahr = document.getElementById("PRTMP*@ABFLGJ").value; var ABmonat = document.getElementById("PRTMP*@ABFLGM").value - 1; var ABtag = document.getElementById("PRTMP*@ABFLGT").value - 3; var dateAB = new Date (ABjahr,ABmonat,ABtag); //HINWEIS BOX: Das Abflugdatum muss mindestens 3 Tage in der Zukunft liegen! if(dateAB.getTime() < dateAKT.getTime()) { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, sound: false, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@ABFLGT").focus(); return false; } //HINWEIS BOX: Bitte geben Sie eine korrekte Uhrzeit ein! if (document.getElementById("PRTMP*@ABSTD").value == '' || document.getElementById("PRTMP*@ABMIN").value == '') { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, sound: false, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@ABSTD").focus(); return false; } //HINWEIS BOX: Es muß zumindest ein Erwachsener oder ein Kind ausgewählt sein! if (document.getElementById("PRTMP*@ABERW").value == '0' && document.getElementById("PRTMP*@ABKIND").value == '0') { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, sound: false, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@ABERW").focus(); return false; } var AbzErw = parseInt(document.getElementById("PRTMP*@ABERW").value); var AbzKind = parseInt(document.getElementById("PRTMP*@ABKIND").value); var AbzGes = AbzErw + AbzKind; //HINWEIS BOX: Die Gesamtzahl der Personen (Erwachsene und Kinder) darf nicht mehr als 7 betragen.\n\nFür weitere Personen füllen Sie bitte einen neuen Auftrag aus! if(AbzGes > 7) { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, sound: false, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@ANERW").focus(); return false; } /************************************************************************* * * Abfrage ob Mehr Kinder als Erwachsene Personen * Ausgleichen bis max 1 Kind pro Erwachsener * und Preisneuberechnung bei ABHOLUNG * ************************************************************************/ if(AbzKind) { if(AbzKind > AbzErw) { while(AbzKind > AbzErw) { AbzKind = AbzKind-1; AbzErw = AbzErw+1; } //HINWEIS BOX: Es kann nur ein Kind unter 12 Jahren pro Erwachsener Person befördert werden. Ihre Angaben werden nun automatisch angepasst. Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, sound: false, delay: 3000, position: 'center top', msg: "" }); document.forms["personen"].elements["PRTMP*@ABERW"].value = AbzErw; document.forms["personen"].elements["PRTMP*@ABKIND"].value = AbzKind; /************************************************************************* * * Berechnung der Preise für die ABHOLUNG ERWACHSENE * ************************************************************************/ var Transfer = ""; if(Transfer == "NIL"){ var PreisString = ""; var PreisArray = PreisString.split('|'); var neuerPreis = PreisArray[AbzErw-1]; //alert("neuer Preis: "+neuerPreis+" für Transportart: "+Transfer); document.getElementById('preisPersonAB').value=neuerPreis; } if(Transfer == "NID"){ var PreisString = ""; var PreisArray = PreisString.split('|'); var neuerPreis = PreisArray[AbzErw-1]; /* alert("neuer Preis: "+neuerPreis+" für Transportart: "+Transfer); */ document.getElementById('preisPersonAB').value=neuerPreis; } /************************************************************************* * * Berechnung der Preise für die ABHOLUNG KINDER * ************************************************************************/ if(AbzKind) { var neuerPreis = AbzKind*5+",00"; //alert("Zuschalg Kinder: "+neuerPreis+" für Transportart: "+Transfer); document.getElementById('preisKinderAB').value=neuerPreis; } return false; } } } //Wenn Rückholung ausgewählt ist if(ANJA) { //HINWEIS BOX: Bitte geben Sie Ihre Flugnummer ein! if (document.getElementById("PRTMP*@ANFLGNR").value == '') { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@ANFLGNR").focus(); return false; } //HINWEIS BOX: Bitte geben Sie ein vollständiges Datum ein! if (document.getElementById("PRTMP*@ANFLGT").value == '00' || document.getElementById("PRTMP*@ANFLGM").value == '00' || document.getElementById("PRTMP*@ANFLGJ").value == '00') { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@ABFLGT").focus(); return false; } var ANjahr = document.getElementById("PRTMP*@ANFLGJ").value; var ANmonat = document.getElementById("PRTMP*@ANFLGM").value - 1; var ANtag = document.getElementById("PRTMP*@ANFLGT").value - 3; var dateAN = new Date (ANjahr,ANmonat,ANtag); //HINWEIS BOX: Das Abflugdatum muss mindestens 3 Tage in der Zukunft liegen! if(dateAN.getTime() < dateAKT.getTime()) { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@ANFLGT").focus(); return false; } //HINWEIS BOX: Bitte geben Sie eine vollständiges Uhrzeit ein! if (document.getElementById("PRTMP*@ANSTD").value == '0' || document.getElementById("PRTMP*@ANMIN").value == '0') { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@ANSTD").focus(); return false; } //HINWEIS BOX: Es muß zumindest eine Person oder ein Kind ausgewählt sein! if (document.getElementById("PRTMP*@ANERW").value == '0' && document.getElementById("PRTMP*@ANKIND").value == '0') { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@ANERW").focus(); return false; } var AnzErw = parseInt(document.getElementById("PRTMP*@ANERW").value); var AnzKind = parseInt(document.getElementById("PRTMP*@ANKIND").value); var AnzGes = AnzErw + AnzKind; //HINWEIS BOX: Die Gesamtzahl der Personen (Erwachsene und Kinder) darf nicht mehr als 7 Personen betragen. Für weitere Personen füllen Sie bitte einen neuen Auftrag aus! if(AnzGes > 7) { Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, delay: 3000, position: 'center top', msg: "" }); document.getElementById("PRTMP*@ANERW").focus(); return false; } /************************************************************************* * * Abfrage ob Mehr Kinder als Erwachsene Personen * Ausgleichen bis max 1 Kind pro Erwachsener * und Preisneuberechnung bei RÜCKTRANSPORT (Ankunft) * ************************************************************************/ if(AnzKind) { if(AnzKind > AnzErw) { while(AnzKind > AnzErw) { AnzKind = AnzKind-1; AnzErw = AnzErw+1; } //HINWEIS BOX: Es kann nur ein Kind unter 12 Jahren pro Erwachsener Person befördert werden. Ihre Angaben werden nun automatisch angepasst. Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: true, delay: 3000, position: 'center top', msg: "" }); document.forms["personen"].elements["PRTMP*@ANERW"].value = AnzErw; document.forms["personen"].elements["PRTMP*@ANKIND"].value = AnzKind; /************************************************************************* * * Berechnung der Preise für die ABHOLUNG ERWACHSENE * ************************************************************************/ var Transfer = ""; if(Transfer == "NIL"){ var PreisString = ""; var PreisArray = PreisString.split('|'); var neuerPreis = PreisArray[AnzErw-1]; //alert("neuer Preis: "+neuerPreis+" für Transportart: "+Transfer); document.getElementById('preisPerson').value=neuerPreis; } if(Transfer == "NID"){ var PreisString = ""; var PreisArray = PreisString.split('|'); var neuerPreis = PreisArray[AnzErw-1]; /* alert("neuer Preis: "+neuerPreis+" für Transportart: "+Transfer); */ document.getElementById('preisPerson').value=neuerPreis; } /************************************************************************* * * Berechnung der Preise für die ABHOLUNG KINDER * ************************************************************************/ if(AbzKind) { var neuerPreis = AbzKind*5+",00"; //alert("Zuschalg Kinder: "+neuerPreis+" für Transportart: "+Transfer); document.getElementById('preisKinder').value=neuerPreis; } return false; } } } document.forms[0].action = formaction; document.forms[0].submit(); } function my_alert() { var ABJA = document.getElementById("ABJA").checked; if(!ABJA) { //alert('zurück zur Auswahl...'); //HINWEISBOX: Es muss Abholung oder Rückholung oder beides ativiert werden! Lobibox.notify('info',{ //AVAILABLE TYPES: "error", "info", "success", "warning" title: '', size: 'normal', rounded: false, delay: false, position: 'center top', onClickUrl: '/', msg: "" }); //document.forms[0].action = 'index.html'; //document.forms[0].submit(); } } $(document).ready(function(){ // .load() $("#buttonLoad").click(function(){ $('#rueckf').load('rueck.html'); // Der gesamte Inhalt von #container wird durch den Inhalt der Datei "ajax/content.html" ersetzt. $('#mybutton').load('ajax/submitButton.html'); }); }); (function ($) { "use strict"; var mainApp = { main_fun: function () { /*==================================== SCROLLING FUNCTION ======================================*/ $(function () { $('.scrollclass a').bind('click', function (event) { //just pass scrollclass in design and start scrolling var $anchor = $(this); $('html, body').stop().animate({ scrollTop: $($anchor.attr('href')).offset().top }, 1000, 'easeInOutQuad'); event.preventDefault(); }); }); //ADD REMOVE PADDING CLASS ON SCROLL $(window).scroll(function () { if ($(".navbar").offset().top > 50) { $(".navbar-fixed-top").addClass("navbar-pad-original"); } else { $(".navbar-fixed-top").removeClass("navbar-pad-original"); } }); /*==================================== VAGAS SLIDESHOW SCRIPTS ======================================*/ $(function () { $.vegas('slideshow', { backgrounds: [ { src: 'assets/img/1.jpg', fade: 1000, delay: 9000 }, //CHANGE THESE IMAGES WITH YOUR ORIGINAL IMAGES //THESE IMAGES ARE FOR DEMO PURPOSE ONLY YOU, CAN NOT USE THEM WITHOUT AUTHORS PERMISSION ] })('overlay', { /** SLIDESHOW OVERLAY IMAGE **/ src: 'assets/plugins/vegas/overlays/02.png' // THERE ARE TOTAL 01 TO 15 .png IMAGES AT THE PATH GIVEN, WHICH YOU CAN USE HERE }); }); $(function () { $('.carousel').carousel({ interval: 2000 //TIME IN MILLI SECONDS }); }); /*==================================== WRITE YOUR SCRIPTS BELOW ======================================*/ }, initialization: function () { mainApp.main_fun(); } } // Initializing /// $(document).ready(function () { mainApp.main_fun(); }); }(jQuery));