Spyddet Le Grill | Esbjerg | Bestil fra EatMore
https://le-grill-spyddet.dk
Ferielukket til og med 31.07 - På gensyn
Spyddets Kulgrill
Shawarma-Retter
Falafel-Retter
Spyddets Burger
Spyddets Brød
Sodavand 0.33L (dåse)
Falafel Dippers
3 stk. serveres med husets salat
Med salatblade
7 stk. blandet crispy Hotwings, Nuggets & Mozarellasticks med dip
Alle retter servers med flere slags salat & hummus - Vælg mellem: Ris, Bulgur eller Pommes frites
2 Mixspyd
Kafta, kylling eller kalv
2 stk. Lammekoteletter
2 Kafta Spyd
Rullet i arabisk brød med krydret tomatsauce (ris eller bulgur)
3 Mixspyd
Kafta, kylling og kalv
2 stk. Grøntsagsspyd
Kylling, Kafta og Grøntsag
Alle retter servers med flere slags salat & hummus
Hjemmmelavet Shawarma
Shawarma Tallerken Deluxe
Hjemmelavet shawarmatallerken og valgfrit spyd
4 stk. falafel
Falafel Tallerken Deluxe
4 stk. falafel og valgfrit spyd
Alle familiemix servers med flere slags salat, tzatziki & hummus - Vælg 2x tilbehør (ris, bulgur eller pommes frites)
Spyddets Familiemix
2x Kafta, 2x Shishtawook (Kylling), 2x Lammekotelleter, 2x Kalv, 4x Falafel - (3-4 Personer)
Spyddets Familiemix Deluxe
2x Kafta, 2x Shishtawook (Kylling), 2x Kalv, 4x Lammekotelleter, 8x Falafel
Alle burgerretter serveres med pommes frites & ketchup
The Spear Burger
200g grillet marineret kyllingefilet med salat, tomat, rødløg & agurk smurt i en lys brioche bolle
200g grilet oksebøf med salat, tomat, rødløg, pickles & spejlæg, smurt i en lys brioche bolle
200g grillet oksebøf med salat, tomat, rødløg, agurk, 2 salgs ost & jalapenos, smurt i en lys brioche bolle
200g grillet oksebøf med salat, tomat, rødløg, agurk & 2 salgs ost, smurt i en lys brioche bolle
Alle spydretter serveres med 1 spyd og med fleres slags salat og hummus.
Kafta (børn)
Med ris, bulgur eller pommes frites
Kylling (børn)
Kalv (børn)
Brødretterne kan fås som menu, med lille sodavand & lille pommes frites (+29kr.-)
Med salat, tomat, pickles, & dressing
Shawarma Rulle
Med salat, tomat, løg, agurk & dressing
Shishtawook(Kylling) Rulle
Valgfri spyd i Rulle
Kafta, Kylling, Kalv eller Grøntsagsspyd
Vi i Le Grill Spyddet fokusér meget på, at tilfredsstille vores kunder fuldt ud. Vi fokusér meget på vores madkvalitet og på vores service. Vi er rigtig glade for vores arbejde og forsøge hele tiden, at tilføje flere retter til vores menukort. Med vores brede menukort, er vi sikre på, at du som kunde lige præcis, kan finde det du har lyst til at spise.
Spyddet Le Grill - Strandbygade 29, 6700 Esbjerg
CVR : 38784560 | All rights reserved. © 2017-2018. Powered by - EatMore.dk
Vi beklager. Enten er afstanden til din leveringsadresse udover de maksimale km eller den indtastede adresse er skrevet forkert. Ring venligst til os på tlf.: 20595930, hvis du har yderligere spørgsmål!
"); $(".morelink").click(function(){ //$(".morelink").toggleClass('redColor'); $(this).closest("ul li").toggleClass('verticalAlign'); }); $('.field-loginform-rememberme').removeClass('form-group'); $('.for_pwd').removeClass('form-group'); // Selected Category var home = "site/index"; var selected_category = sessionStorage.getItem("selected_category"); var count_home=sessionStorage.getItem("count_home"); if(selected_category==="No" || selected_category===null){ $(".side_categories").text("Menu"); }else if(home==="site/index"){ if(count_home=='1'){ $(".side_categories").text(sessionStorage.getItem("selected_category")); var selected_category_id=sessionStorage.getItem("selected_category_id"); $("#"+selected_category_id).parent().addClass('active'); } sessionStorage.setItem("count_home", '2'); }else{ $(".side_categories").text("Menu"); } // Load More Demo $(".orderList ul li").slice(0, 4).show(); $("#loadMore").on('click', function (e) { e.preventDefault(); $(".orderList ul li:hidden").slice(0, 4).slideDown(); }); if ($(".orderList ul li:hidden").length == 0) { $("#loadMore").fadeOut('slow'); } else{ //$(".orderList ul li:first-child").css({"margin-bottom":"15px"}); } $('[data-toggle=confirmation]').confirmation({ rootSelector: '[data-toggle=confirmation]', // other options }); //copy code // $("#copy_code").click(function(){ // var holdtext = $("#gift_card_code").html(); // alert(holdtext); // Copied = holdtext.createTextRange(); // Copied.execCommand("Copy"); // }); //delete item from cart DB // $(".delete_item_from_db").click(function(event){ // }); $(function(){ $(document).on("click", ".delete_item_from_db", function(){ //if (confirm('Are you sure?')) { var comment = $('#comment_box_checkout').val(); var id_name=$(this).attr('id'); var id=id_name.replace("delete_item_from_db_", ""); var action_id="index"; $.ajax({ type: 'POST', url: "/takeaway/spyddetlegrill/site/delete-cart-item-db", data: { id: id, action_id: action_id, comment: comment, }, success: function(data) { json=JSON.parse(data); $("input:hidden#apply_discount").val("No"); $("#coupon_giftcard").val(""); $('#code-group div.help-block').remove(); $("#cart_item_count").html(json.quantity); $.pjax.reload({container:"#home-cart-pjax"}); $(document.body).trigger("sticky_kit:recalc"); //$('body').addClass('body-scroll'); $('.cartError-msg').fadeIn(); } }); //} }); }); //delete item from cart Session // $(".delete_item_from_session").click(function(event){ // var id_name=$(this).attr('id'); // var id=id_name.replace("delete_item_from_session_", ""); // $.ajax({ // type: 'POST', // url: "/takeaway/spyddetlegrill/site/delete-cart-item-session", // data: { // id: id, // }, // success: function(data) { // } // }); // }); $(function(){ $('body').on("click", ".delete_item_from_session", function(){ //if (confirm('Are you sure?')) { var comment = $('#comment_box_checkout').val(); var id_name=$(this).attr('id'); var id=id_name.replace("delete_item_from_session_", ""); $.ajax({ type: 'POST', url: "/takeaway/spyddetlegrill/site/delete-cart-item-session", data: { id: id, comment: comment, }, success: function(data) { json=JSON.parse(data); $("#cart_item_count").html(json.quantity); $.pjax.reload({container:"#home-cart-pjax"}); $(document.body).trigger("sticky_kit:recalc"); //$('body').addClass('body-scroll'); $('.cartError-\nmsg').fadeIn(); } }); //} }); }); //web news close $(function(){ $(document).on("click", "#close_news", function(){ $.ajax({ type: 'POST', url: "/takeaway/spyddetlegrill/site/news-close", success: function(data) { $('#newsModal').modal('hide'); } }); }); }); //web cookie accept $(function(){ $(document).on("click", ".check_cookies", function(){ $.ajax({ type: 'POST', url: "/takeaway/spyddetlegrill/site/check-cookie", success: function(data) { $('#alert_cookie').remove(); } }); }); }); //web cookie accept //clear session fb signup $(function(){ $(document).on("click", ".goto_home", function(event){ event.preventDefault(); var url = $(this).attr('href'); $.ajax({ type: 'POST', url: "/takeaway/spyddetlegrill/site/goto_home", data: { url: url, }, success: function(data) { } }); }); }); //clear session fb signup //store comments $(function(){ $(document).on("blur", "#comment_box_checkout", function(){ var comment = $('#comment_box_checkout').val(); $.ajax({ type: 'POST', url: "/takeaway/spyddetlegrill/site/store_comments", data: { comment: comment, }, success: function(data) { } }); }); }); //store comments $(function(){ $(document).on("click", "#ios_link_notify", function(){ $('#ios-download ').fadeOut(); $.ajax({ type: 'POST', url: "/takeaway/spyddetlegrill/site/ios-link", success: function(data) { } }); }); }); //web cookie accept $(function(){ $(document).on("click", "#android_link_notify", function(){ $('#android-download ').fadeOut(); $.ajax({ type: 'POST', url: "/takeaway/spyddetlegrill/site/android-link", success: function(data) { } }); }); }); //web cookie accept $(function(){ $(document).on("click", ".app-link .install-img i", function(){ $.ajax({ type: 'POST', url: "/takeaway/spyddetlegrill/site/close-app-notify", success: function(data) { $('.app-link ').fadeOut(); } }); }); }); //go paymentcheckout $(function(){ $(document).on("click", "#goto-paymentcheckout", function(){ var comment = $('#comment_box_checkout').val(); $.ajax({ type: 'POST', url: "/takeaway/spyddetlegrill/site/goto-paymentcheckout", data: { comment: comment, }, success: function(data) { window.location = "https://eatmore.dk/takeaway/spyddetlegrill/checkout"; } }); }); }); //reorder $(function(){ $(document).on("click", ".reorder", function(){ var id_name=$(this).attr('id'); var id=id_name.replace("reorder_", ""); $('.paymentLoading').fadeIn(); $.ajax({ type: 'POST', url: "/takeaway/spyddetlegrill/orders/default/re-order", data: { id: id }, success: function(data) { json=JSON.parse(data); $('.paymentLoading').fadeOut(); $.pjax.reload({container:"#home-cart-pjax"}); $('.reorder_msg').html(json.msg); $('.reorderMsg').fadeIn(); } }); }); }); // store comment in session $(function(){ $(document).on("blur", ".comment_box_checkout", function(){ alert('hiiii'); }); }); $('form#comment .comment_box_checkout textarea').blur(function () { alert('hi'); }); //add to cart without attribute, toppings & ingredient $(".add_to_cart_product").click(function(event){ var comment = $('#comment_box_checkout').val(); $("input:hidden.comment_cart").val(comment); var id=$(this).attr('id'); var p_id = id.replace("add_to_cart_product", ""); var amount= $( "span#price_product_total_"+p_id ).html(); $("input:hidden#product_amount_"+p_id).val(amount.trim()); var qty = $("#quantity_box_"+p_id).val(); var price = $("input:hidden#price_"+p_id).val(); var product_price= qty*price; $("input:hidden#product_price_"+p_id).val(product_price.toFixed(2)) event.preventDefault(); var $form = $("#enduser_product_form_cart_"+p_id), url = $form.attr( 'action' ); var posting = $.post( url, $form.serialize() ); posting.done(function( dte ) { fbq('track', 'AddToCart'); json=JSON.parse(dte); $("#cart_item_count").html(json.count); var reload=json.success; if(reload=="yes"){ $('.cartSuccess-msg').fadeIn(); window.location = "https://eatmore.dk/takeaway/spyddetlegrill/"; }else{ $.pjax.reload({container:"#home-cart-pjax"}); $(document.body).trigger("sticky_kit:recalc"); //$('body').addClass('body-scroll'); $('.cartSuccess-msg').fadeIn(); } }); }); //main login $(".login_btn").click(function(event){ event.preventDefault(); var $form = $("#login-form"), url = $form.attr( 'action' ); var comment = $('#comment_box_checkout').val(); $("input:hidden.comment_cart").val(comment); var posting = $.post( url, $form.serialize() ); posting.done(function( data ) { $('.form-group').removeClass('has-error'); // remove the error class $('#login-form .help-block').remove(); // remove the error text json=JSON.parse(data); if ( ! json.success) { // handle errors for name --------------- if (json.errors.username) { $('.field-loginform-username').addClass('has-error'); // add the error class to show red input $('.field-loginform-username').append('
'); // add the actual error message under our input } }else{ window.location = "https://eatmore.dk/takeaway/spyddetlegrill/"; //alert("https://eatmore.dk/takeaway/spyddetlegrill/checkout"); } }); }); //signup at checkout $("#loader_signup").hide(); $("#signup_checkout").click(function(event){ $("#loader_signup").show(); $('.form-group').removeClass('has-error'); $('#checkout_login .help-block').remove(); event.preventDefault(); var $form = $("#signup-when-checkout-form"), url = $form.attr( 'action' ); var comment = $('#comment_box_checkout').val(); $("input:hidden.comment_cart").val(comment); var posting = $.post( url, $form.serialize() ); posting.done(function( data ) { $("#loader_signup").hide(); $('.form-group').removeClass('has-error'); // remove the error class $('#checkout_login .help-block').remove(); // remove the error text json=JSON.parse(data); if ( ! json.success) { // handle errors for name --------------- if (json.errors.first_name) { $('.field-signupformpopup-first_name').addClass('has-error'); // add the error class to show red input $('.field-signupformpopup-first_name').append('
'); // add the actual error message under our input } }else{ fbq('track', 'CompleteRegistration'); window.location = "https://eatmore.dk/takeaway/spyddetlegrill/checkout"; $("#loader_signup").hide(); } }); }); //forgot password at checkout $("#loader_forgot_password").hide(); $("#forgot_password_checkout").click(function(event){ $("#loader_forgot_password").show(); $('.form-group').removeClass('has-error'); $('#checkout_login .help-block').remove(); event.preventDefault(); var $form = $("#forget_password_when_checkout"), url = $form.attr( 'action' ); var posting = $.post( url, $form.serialize() ); posting.done(function( data ) { $("#loader_forgot_password").hide(); $('.form-group').removeClass('has-error'); // remove the error class $('#checkout_login .help-block').remove(); // remove the error text json=JSON.parse(data); if ( ! json.success) { // handle errors for name --------------- if (json.errors.email) { $('.field-passwordresetrequestform-email').addClass('has-error'); // add the error class to show red input $('.field-passwordresetrequestform-email').append('
'); // add the actual error message under our input } }else{ window.location = "https://eatmore.dk/takeaway/spyddetlegrill/checkout"; //alert("https://eatmore.dk/takeaway/spyddetlegrill/checkout"); } }); }); //login from mobile $("#login_mobile").click(function(event){ event.preventDefault(); var $form = $("#login_from_mobile"), url = $form.attr( 'action' ); var comment = $('#comment_box_checkout').val(); $("input:hidden.comment_cart").val(comment); var posting = $.post( url, $form.serialize() ); posting.done(function( data ) { $('.form-group').removeClass('has-error'); // remove the error class $('#mobile_login .help-block').remove(); // remove the error text json=JSON.parse(data); if ( ! json.success) { // handle errors for name --------------- if (json.errors.username) { $('#username-group-mobile').addClass('has-error'); // add the error class to show red input $('#username-group-mobile').append('
'); // add the actual error message under our input } }else{ window.location = "https://eatmore.dk/takeaway/spyddetlegrill/"; //alert("https://eatmore.dk/takeaway/spyddetlegrill/checkout"); } }); }); //apply coupon/giftcard $("#apply_coupon_giftcard").click(function(event){ event.preventDefault(); $('.paymentLoading').fadeIn(); var code = $('#coupon_giftcard').val(); $.ajax({ type: 'POST', url: "/takeaway/spyddetlegrill/site/apply-code", data: { code: code, }, success: function(data) { $('.paymentLoading').fadeOut(); $('#code-group').removeClass('has-error'); // remove the error class $('#code-group').removeClass('has-success'); // remove the success class $('#code-group > .help-block').remove(); // remove the error text json=JSON.parse(data); if ( ! json.success) { $("input:hidden#apply_discount").val("No"); $.pjax.reload({container:"#home-cart-pjax"}); $(document.body).trigger("sticky_kit:recalc"); // handle errors for name --------------- if (json.message.code) { $('#code-group').addClass('has-error'); // add the error class to show red input $('#code-group').append('
'); // add the actual error message under our input } } } }); }); // additional charges as per payment type //apply coupon/giftcard $("#checkout_payment_method").change(function(event){ event.preventDefault(); $('.paymentLoading').fadeIn(); var checkout_payment = $(this).val(); $.ajax({ type: 'POST', url: "/takeaway/spyddetlegrill/site/additional-charge", data: { checkout_payment: checkout_payment }, success: function(data) { $('.paymentLoading').fadeOut(); $('.payment_logo').hide(); $('#payment_logo_'+checkout_payment).show(); if(checkout_payment==2){ $('#confirm_btn_submit').html("Bekræft"); }else if(checkout_payment==1){ $('#confirm_btn_submit').html("Betal"); } json=JSON.parse(data); if (json.success) { $("input:hidden#apply_discount").val("No"); $("#coupon_giftcard").val(""); $('#code-group div.help-block').remove(); $.pjax.reload({container:"#home-cart-pjax"}); } } }); }); // calulate shipping charge $("#calulate_shipping_charge").click(function(event){ event.preventDefault(); var temp_address=$("input[name=yesNo]:checked").val(); var ship=$("input[name=ship]:checked").val(); $('.form-group').removeClass('has-error'); // remove the error class $('#shipping_method_form .help-block').remove(); // remove the error text var error_count=0; if(temp_address=="yes"){ var first_name=$("input[name=first_name_temp]").val(); var house_no=$("input[name=house_no_temp]").val(); var street_name=$("input[name=street_name_temp]").val(); var telephone_number=$("input[name=telephone_number_temp]").val(); if(first_name==""){ var first_name_error="First Name cannot be blank."; $('#first_name_temp').addClass('has-error'); // add the error class to show red input $('#first_name_temp').append('
'); error_count++; } } if(error_count<1){ $('.paymentLoading').fadeIn(); var comment = $('#comment_box_checkout').val(); $("input:hidden.comment_cart").val(comment); var $form = $("#shipping_method_form"), url = "/takeaway/spyddetlegrill/site/calulate-shipping-charge"; var posting = $.post( url, $form.serialize() ); posting.done(function( data ) { $('.paymentLoading').fadeOut(); json=JSON.parse(data); if ( json.success) { $("input:hidden#apply_discount").val("No"); // if(!$('#tos input[type="checkbox"]').is(":checked")){ // $('#tos').removeClass('has-error'); // remove the error class // $('#tos > .help-block').remove(); // remove the error text // var tos_error=""; // $('#tos').addClass('has-error'); // add the error class to show red input // $('#tos').append('
'); // } $("#coupon_giftcard").val(""); $('#code-group div.help-block').remove(); $.pjax.defaults.timeout = 10000; $.pjax.reload({container:"#home-cart-pjax"}); $(document.body).trigger("sticky_kit:recalc"); $("input:hidden#shipping_charge").val(json.shipping_charge); $("#collapseTwo").collapse('show'); $("#collapseOne").collapse('hide'); var id=$('.payment_checkout_page').removeAttr('id'); //$('#headingOne').removeClass('active'); $('#headingTwo').addClass('panelactive'); if(json.cannot_ship=="max"){ $('.cantShiftMax').fadeIn(); }else if(json.cannot_ship=="postal"){ $('.postalNotFound').fadeIn(); } }else{ if(json.show_pop=="Yes"){ $('.delivery-pickup-time').fadeIn(); $(document.body).trigger("sticky_kit:recalc"); }else{ $.pjax.reload({container:"#home-cart-pjax"}); $('.cantShift').fadeIn(); $(document.body).trigger("sticky_kit:recalc"); } } }); } }); //add to cart without attribute, toppings & ingredient (featured product) $(".add_to_cart_product_featured").click(function(event){ var comment = $('#comment_box_checkout').val(); $("input:hidden.comment_cart").val(comment); var id=$(this).attr('id'); var p_id = id.replace("add_to_cart_product_featured", ""); //alert(p_id); event.preventDefault(); var $form = $("#enduser_product_featured_form_cart_"+p_id), url = $form.attr( 'action' ); var posting = $.post( url, $form.serialize() ); posting.done(function( dte ) { fbq('track', 'AddToCart'); json=JSON.parse(dte); $("#cart_item_count").html(json.count); var reload=json.success; if(reload=="yes"){ $('.cartSuccess-msg').fadeIn(); window.location = "https://eatmore.dk/takeaway/spyddetlegrill/"; }else{ $.pjax.reload({container:"#home-cart-pjax"}); $(document.body).trigger("sticky_kit:recalc"); //$('body').addClass('body-scroll'); $('.cartSuccess-msg').fadeIn(); } }); }); //price calculation main page $('.leftN').click(function(e){ var fieldName=$(this).attr('field'); var currentQty = parseInt($('input[id=quantity_box_'+fieldName+']').val()); var currentPrice = parseInt($('input[id=price_'+fieldName+']').val()); $.ajax({ type: 'POST', url: "/takeaway/spyddetlegrill/site/price-calculate-quantity", data: { status: 'minus', currentQty: currentQty, currentPrice: currentPrice, }, success: function(data) { json=JSON.parse(data); $('input[id=quantity_box_'+fieldName+']').val(json.qty); $("#price_product_total_"+fieldName).html(json.eu_price); } }); }); // This button will decrement the value till 0 $('.rightN').click(function(e){ var fieldName=$(this).attr('field'); var currentQty = parseInt($('input[id=quantity_box_'+fieldName+']').val()); var currentPrice = parseInt($('input[id=price_'+fieldName+']').val()); $.ajax({ type: 'POST', url: "/takeaway/spyddetlegrill/site/price-calculate-quantity", data: { status: 'plus', currentQty: currentQty, currentPrice: currentPrice, }, success: function(data) { json=JSON.parse(data); $('input[id=quantity_box_'+fieldName+']').val(json.qty); $("#price_product_total_"+fieldName).html(json.eu_price); } }); }); //contact us $(function(){ $(document).on("beforeSubmit", "#contact_us_form", function () { var form = $(this); // return false if form still have some validation errors if (form.find('.has-error').length) { return false; } // submit form $.ajax({ url: form.attr('action'), type: 'post', data: form.serialize(), success: function (response) { $("#contact_us_form_formAjaxLoader").hide(); if (response.success) { $('.contact_mail').fadeIn(); form[0].reset(); } }, error: function () { console.log('internal server error'); }, beforeSend: function () { $("#contact_us_form_formResult").html(''); $("#contact_us_form_formAjaxLoader").show(); } }); return false; // Cancel form submitting. }); }); // Display select category value $(".menuSlide li a").click(function(){ $(".side_categories").text($(this).text()); }) if ($(window).width() <= 1089) { $('.navbar').addClass('mobnav'); $('body').addClass('bodypad'); $(".userLog").addClass('mobuserlogin'); $('#user_login').removeClass('fadeIn'); $(".userLog").addClass('mobuserlogin'); } else{ $('.navbar').removeClass('mobnav'); $('body').removeClass('bodypad'); $(".userLog").removeClass('mobuserlogin'); } // Dotdot JS For Read More $('.product-desp').dotdotdot(); $('#207').hide(); // Shipping Radio Button Click if($('input[name=ship]:checked').val()=="pickup"){ $("div.address_checkout").hide(); } $(".home-time").fadeOut(); $('.funkyradio-success input[type="radio"]').click(function(){ if($(this).attr("value")=="pickup"){ $(".pickup-time").fadeIn(); $(".home-time").fadeOut(); } }); // Pophover /*$('[data-toggle="popover"]').popover({ placement : 'right', trigger : 'hover' });*/ $('.loginFrgt').click(function(){ $('.loginUpper').slideUp(); $('.loginBtm').slideDown(); $('.login_pop .modal-header .modal-title').text("Glemt adgangskode?"); }); $('.logibback').click(function(){ $('.loginUpper').slideDown(); $('.loginBtm').slideUp(); $('.login_pop .modal-header .modal-title').text("Log ind"); }); $('#checkoutBtn').click(function(){ $('.login_pop .modal-header .modal-title').text("Log ind"); $('.loginSection').slideDown(); $('.signupSection').slideUp(); $('.loginUpper').slideDown(); $('.loginBtm').slideUp(); }); // Payment Form if($('.yesno input[type="radio"]:checked').attr("value")=="yes"){ $(".yesForm").show(); $(".noForm").hide(); } if($('.yesno input[type="radio"]:checked').attr("value")=="no"){ $(".yesForm").hide(); $(".noForm").show(); } $('.yesno input[type="radio"]').click(function(){ if($(this).attr("value")=="yes"){ $(".yesForm").show(); $(".noForm").hide(); } if($(this).attr("value")=="no"){ $(".yesForm").hide(); $(".noForm").show(); } }); // terms of services $("#confirm_btn_show_error").hide(); // Shipping Method // $(".nxtBtn").on("click", function() { // $("#collapseTwo").collapse('show'); // $("#collapseOne").collapse('hide'); // //$('#headingOne').removeClass('active'); // $('#headingTwo').addClass('panelactive'); // }); $(".bckBtn").on("click", function() { var id=$('.payment_checkout_page').attr('id', 'panel-title-disable'); $("#collapseTwo").collapse('hide'); $("#collapseOne").collapse('show'); $('#headingTwo').removeClass('panelactive'); $('#headingOne').addClass('panelactive'); }); $("#headingOne").on("click", function() { $(this).removeClass('active'); }); $("#headingTwo").on("click", function() { $(this).removeClass('active'); }); }); $('#myorders .grid-view table').addClass('table-hover'); $('#myorders .grid-view table').removeClass('table-striped'); $('.prod-detail .prod-d1').click(function(){ $(this).next().slideToggle(); $(this).toggleClass('caret-up'); }); $(function () { $('[data-toggle="popover"]').popover() }) $('.popover-dismiss').popover({ trigger: 'focus' }) $('.mobSearch a').click(function(){ $('.mobSearch-sec').fadeToggle(); }); $('.signupLink').click(function(){ $('.loginSection').slideUp(); $('.signupSection').slideDown(); $('.login_pop .modal-header .modal-title').text("Opret eatmore konto"); }); $('.loginLink').click(function(){ $('.loginSection').slideDown(); $('.signupSection').slideUp(); $('.login_pop .modal-header .modal-title').text("Log ind"); }); $('.shipcharge').click(function(){ $('.ship-charge').fadeIn(); }); $('.prod-alert .close').click(function(){ $('.alert-overlay').fadeOut(); }); $('#scroll_cart').removeAttr("style"); // $('.app-link .install-img i').click(function(){ // $('.app-link ').fadeOut(); // }); // Detect OS on mobile var isiDevice = /ipad|iphone|ipod/i.test(navigator.userAgent.toLowerCase()); if (isiDevice) { //alert('iOS'); $("#ios-download").show(); $(".app_title").text("Hent i App Store"); $('.installBtn').attr("id","ios_link_notify"); } var isAndroid = /android/i.test(navigator.userAgent.toLowerCase()); if (isAndroid) { //alert('Android'); $("#android-download").show(); $(".app_title").text("Hent - På Google Play"); $('.installBtn').attr("id","android_link_notify"); } $(document).ready(function(){ $(document.body).trigger("sticky_kit:recalc"); $("body").bind("ajaxComplete", function(e, xhr, settings){ $(document.body).trigger("sticky_kit:recalc"); setTimeout(function() { $('.prodAdd').fadeOut(); $('.prodRemove').fadeOut(); $('body').removeClass('body-scroll'); }, 1500); $('[data-toggle=confirmation]').confirmation({ rootSelector: '[data-toggle=confirmation]', }); function popup(mylink, windowname) { if (! window.focus)return true; var href; if (typeof(mylink) == 'string') href=mylink; else href=mylink.href; var w=900; var h=500; var dualScreenLeft = window.screenLeft != undefined ? window.screenLeft : screen.left; var dualScreenTop = window.screenTop != undefined ? window.screenTop : screen.top; width = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width; height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height; var left = ((width / 2) - (w / 2)) + dualScreenLeft; var top = ((height / 2) - (h / 2)) + dualScreenTop; var newWindow = window.open(href, windowname, 'scrollbars=yes, width=' + w + ', height=' + h + ', top=' + top + ', left=' + left + ', scrollbars=yes'); return false; } }); //$('#test').load("../img/logo.png", function(response, status, xhr) { }); }); /*$('#content').click(function(){ $('.cart-indi').toggle(); });*/ if ($(window).width() > 769) { var sections = $('.sidebarmenu_details'); var nav = $('#menuScroll'); var nav_height = nav.outerHeight(); $(window).on('scroll', function () { var cur_pos = $(this).scrollTop(); sections.each(function() { var top = $(this).offset().top - nav_height, bottom = top + $(this).outerHeight(); if (cur_pos >= top && cur_pos <= bottom) { nav.find('a').removeClass('active'); sections.removeClass('active'); $(this).addClass('active'); nav.find('a[href="#'+$(this).attr('id')+'"]').addClass('active'); //var menuname = nav.find('a[href="#'+$(this).attr('id')+'"]').text(); //$('.side_categories').text(menuname); } }); }); nav.find('a').on('click', function () { var $el = $(this); var id = $el.attr('href'); /*$('html, body').animate({ scrollTop: $(id).offset().top - 164 }, 500);*/ $('html, body').animate({ scrollTop: $(id).offset().top - nav_height }, 1000, 'swing'); return false; }); } if ($(window).width() < 769) { var nav_height = nav.outerHeight() + 110; } if ($(window).width() < 490) { var nav_height = nav.outerHeight() + 164; }