Created
May 30, 2014 11:40
-
-
Save GerDner/43915ec74e6260c0837d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var html = "<div class='fancyboxContainer container'>\n\ | |
<div class='headline' style='font-weight:bold;font-size:15px;margin-bottom:10px;'>"+ Navigate.options.Translations.ChooseShippingCountry.yourShippingCountry + | |
"</div>\n\ | |
<p>"+ Navigate.options.Translations.ChooseShippingCountry.yourShippingCountryTextOne +"</p>"; | |
html += $(".language-select").html(); | |
html += "<div id='saveAndContinueShopping' class='button'>"+ Navigate.options.Translations.ChooseShippingCountry.saveAndContinueShopping+"</div></div>"; | |
$.fancybox(html); | |
var scrollTop = jQuery('body').scrollTop(); | |
// die Topbar muss subtrahiert werden | |
$('.fancybox-wrap').css({top:scrollTop+'px!important'}); | |
$(".fancybox-wrap #countrySelection").attr("id","countrySelection1"); | |
$(".fancybox-wrap .flag").remove(); | |
$('.fancybox-wrap #saveAndContinueShopping').click(function(){ | |
NavigateLanguageSwitcher.changeCountryPopup(); | |
}); | |
$('.fancybox-wrap .language-select-box').parent().remove(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment