CINXE.COM
Shopping Cart - Checkout - DL Services - UNESCO, OECD & UN publication store
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Shopping Cart - Checkout - DL Services - UNESCO, OECD & UN publication store</title> <meta name="ROBOTS" content="NOINDEX, NOFOLLOW, NOARCHIVE" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <script type="text/javascript" src="/themes/default/js/jquery.cookie.js"></script> <script type='text/javascript' src='/?pf=homePage/flexslider/jquery.flexslider-min.js'></script> <script type="text/javascript"> var core = {"blog":{"lang":"en"},"cart":{"products":[]},"custom":[],"customer":[],"eventBus":null,"mounted":false,"templateConfig":[],"url":{"type":"checkout"}}; </script><script type="text/javascript"> jQuery.extend( jQuery.easing, { bounceout: function(x, t, b, c, d) { if ((t/=d) < (1/2.75)) { return c*(7.5625*t*t) + b; } else if (t < (2/2.75)) { return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b; } else if (t < (2.5/2.75)) { return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b; } else { return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b; } } }); jQuery.extend({ parseQueryString: function(){ var nvpair = {}; var qs = window.location.search.substring(1); var pairs = qs!=""?qs.split("&"):[]; $.each(pairs, function(i, v){ var pair = v.split("="); nvpair[pair[0]] = pair[1]; }); return nvpair; }, buildQueryString: function(nvpair){ var pair = []; $.each(nvpair, function(i, v){ pair.push(i+"="+v); }); return "?"+pair.join("&"); } }); jQuery.fn.extend({ contentHeight:function(){ var height=0; $(this).children().each(function(){ height+=$(this).outerHeight(true); }); return height; } }); function showProductList(type){ $(".show > span.active").removeClass("active"); $(".show > span."+type).addClass("active"); if(type=="grid"){ $("#content .product_list").removeClass("list_detail"); } else{ $("#content .product_list").addClass("list_detail"); } } function initProductList(){ if($(".top_bar").length>0){ if($.cookie("product_list")=="grid" || $.cookie("product_list")=="lines"){ showProductList($.cookie("product_list")); } $(".show > span").click(function(){ if(!$(this).hasClass("active")){ var type=$(this).hasClass("grid")?"grid":"lines"; $.cookie("product_list",type,{path:"/"}); showProductList(type); } }); } } function columnsHeight(){ if($("#page").hasClass("no_column")) return; var lh=$("#blognav").length>0?$("#blognav > .sidebar").contentHeight():0; var rh=$("#blogextra").length>0?$("#blogextra > .sidebar").contentHeight():0; $(".sidebar").css("min-height",Math.max($("#main").height(),lh,rh,parseInt($("#wrapper > div").css("min-height")))+"px"); } $(function(){ $(".NavigationSelect").change(function(){ window.location = $(this).find("option:selected").val(); }); columnsHeight(); initProductList(); $("#list_order").change(function(){ var query=$.parseQueryString(); query["or"]=$(this).val(); document.location.href=document.location.pathname+$.buildQueryString(query); }); $.post("/log.php", { "url" : document.location.href, "referrer" : document.referrer }, function(result){} ); $(window).load(function() { columnsHeight(); }); $(window).load(function() { columnsHeight(); }); }); </script> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/js/select2.min.js"></script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/js/i18n/en.js"></script><link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/css/select2.min.css" rel="stylesheet"/><style>select.hidden + .select2{display:none;}</style> <script type="text/javascript">window.settings={"cookie_alert":true}; </script><!--[if (gt IE 9)]><!--><link type="text/css" href="/styles/main.css" media="screen" rel="stylesheet" /><!--<![endif]--> <!--[if (lte IE 9)]><link type="text/css" href="/styles/mainIE.css" media="screen" rel="stylesheet" /><![endif]--> <link type="text/css" href="https://en.dl-servi.com/themes/default/print.css" media="print" rel="stylesheet" /> <script type="text/javascript" src="/?pf=ecommerce/js/jquery.form.min.js"></script> <script type="text/javascript" src="/?pf=ecommerce/js/ecommerce.min.js&v=m7"></script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-78254984-4']); _gaq.push(['_setDomainName', 'en.dl-servi.com']); _gaq.push(['_setAllowHash', false]); _gaq.push(['_trackPageview']); document.addEventListener('DOMContentLoaded', function() { (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();}); </script><script type="text/javascript" src="/themes/k000/js/themek.min.js"></script><script type="text/javascript" src="/themes/default/js/jqueryslidemenu.js"></script><script type="text/javascript" src="/?pf=lightbox/js/jqModal42.min.js&v=2"></script> <script type="text/javascript"> //<![CDATA[ $(function() { var lb_settings = { loader_img : '/?pf=lightbox/img/loader.gif', prev_img : '/?pf=lightbox/img/prev.png', next_img : '/?pf=lightbox/img/next.png', close_img : '/?pf=lightbox/img/close.png', blank_img : '/?pf=lightbox/img/blank.gif' };$("div#new-product").each(function() { $(this).find("a[href$='.jpg'],a[href$='.jpeg'],a[href$='.png'],a[href$='.gif'],a[href$='.JPG'],a[href$='.JPEG'],a[href$='.PNG'],a[href$='.GIF']").modalImages(lb_settings); }) $(".productDetail").each(function() { $(this).find("a[href$='.jpg'],a[href$='.jpeg'],a[href$='.png'],a[href$='.gif'],a[href$='.JPG'],a[href$='.JPEG'],a[href$='.PNG'],a[href$='.GIF']").modalImages(lb_settings); }) $(".productInList").each(function() { $(this).find("a[href$='.jpg'],a[href$='.jpeg'],a[href$='.png'],a[href$='.gif'],a[href$='.JPG'],a[href$='.JPEG'],a[href$='.PNG'],a[href$='.GIF']").modalImages(lb_settings); }) $("div.post").each(function() { $(this).find("a[href$='.jpg'],a[href$='.jpeg'],a[href$='.png'],a[href$='.gif'],a[href$='.JPG'],a[href$='.JPEG'],a[href$='.PNG'],a[href$='.GIF']").modalImages(lb_settings); }) }); //]]> </script> <link rel="shortcut icon" type="image/jpeg" href="/pub/design/favicon.jpg" /> <script type="text/javascript" src="/?pf=ecommerce/js/checkout.2.min.js&v=3"></script> <script> $(document).ready(function(){ $('body').on('cartLoad cartRefresh',function(){ $("#shipping-table .error:contains('Aucun mode de transport disponible')").html("<td>Veuillez choisir votre pays.</td>"); }); }); </script> <script type="text/javascript"> $(function(){ $('body').on('cartLoad cartRefresh',function(){ var shippings=$('#shipping-table').find('input.shipping_radio'); if(shippings.filter(':checked').length==0 && shippings.length>0){ shippings.eq(0).prop('checked',true).trigger('change'); } }); }); </script> </head> <body id="page-cart"> <div id="page" class="no_column identification-step-todo"> <div id="top"> <div id="top-nav"> <div class="wrapper"><div> <div class="top_liens"> <ul> </ul> </div> <div class="top_social"> </div> <hr/> </div></div> </div><!-- End top-nav --> <div id="top-main"> <div class="wrapper"><div> <div class="lang"> <a href="https://en.dl-servi.com/"><img src="/pub/design/drapeau-en.jpg" style="max-width: 30px;margin-right: 5px;"></a> <a href="https://www.dl-servi.com/"><img src="/pub/design/drapeau-fr.jpg" style="max-width:30px;"></a> </div> <div id="top_logo"> <a href="/"> <img src="/pub/design/LogoWhite-New.png" title="DL Services" alt="DL Services" /> </a> </div> <div id="top_recherche"> <form method="get" action="/"> <div class="input-search"><input title="Search" type="text" name="q" id="q" maxlength="255" size="10" placeholder="Search ..." class="rechercher" /></div> <div class="btn-search"></div> </form> </div> <div class="pictos-right-holder"> <div id="top_panier"> <a class="btn btn-large" href="/checkout"><span id="cart-img"></span><em>Cart</em><span id="cart-nb-products"></span></a> <div id="cart-top" class="cart-container cart-ajax-container"></div> </div> <div id="top_account"> <a class="btn btn-large" href="/account"><span id="account-img"></span>Account</a> </div> </div> </div></div> </div><!-- End top-main --> <div id="top-menu"> <div class="wrapper"><div> <div id="HorizontalMenu"> <div id="myslidemenu" class="slidemenu"> <ul> <li> <a href="/pages/iLibraries" class="">iLibraries</a> </li> <li> <a href="/store/just-published" class="">Just Published</a> </li> <li> <a href="/contact" class="">Contact</a> </li> </ul> </div> <div id="myslidemenu2" class="slidemenu"> <ul> <li> <a href="/" class="">Our selection</a> </li> <li> <a href="/pages/guide" class="">Guide</a> </li> <li> <a href="/pages/about-us" class="">About us</a> </li> </ul> </div> <div id="myslidemenumobile" class="slidemenu"> <ul> <li id="menu-item"><a href="#"><span></span> Menu</a> <ul> <li> <a href="/pages/iLibraries" class="">iLibraries</a> </li> <li> <a href="/store/just-published" class="">Just Published</a> </li> <li> <a href="/contact" class="">Contact</a> </li> <li> <a href="/" class="">Our selection</a> </li> <li> <a href="/pages/guide" class="">Guide</a> </li> <li> <a href="/pages/about-us" class="">About us</a> </li> </ul> </li> </ul> </div> <div style="clear:both"></div> </div> </div></div> </div><!-- End top-menu --> </div><!-- End top --> <div id="breadcrumbs"> <div class="wrapper"> <div> <div class="breadcrumbs"> <a href="/" class="home">Home</a> › Checkout </div> </div> </div> </div> <div id="wrapper"><div> <div id="main"> <div id="content"> <div id="content-info"> <div class="title">My Cart</div> </div> <div id="checkout" class="checkout"> <div id="cart-review" class="cart-bloc"> <noscript><p style="color:red;font-size:16px;text-align:center;">ATTENTION : You cannot finish your order<br>Javascript is disabled in your browser, enable it to continue your order.</p></noscript> <p style="text-align: center;padding-top:50px">Cart loading<br/><img src='https://en.dl-servi.com/themes/k001/../default/ajax-loader.gif' alt="Cart loading" align='absmiddle'/></p> </div> <form action="https://en.dl-servi.com/checkout" method="post" class="std_form" name="cart-form" id="cart-form"> <div id="address-bloc" class="cart-bloc"> <div> <div class="title">Identification</div> <fieldset class="cart-bloc-content"> <div id="identification-choices"> <label class="identification-choice identification-step-ok" data-target="identification-guest"> <input type="radio" name="identification-choice" value="guest" > Order as guest </label> <label class="identification-choice" data-target="identification-login" data-url="/account/login?back=checkout"> <input type="radio" name="identification-choice" value="login" > Log in </label> <label class="identification-choice identification-step-ok" data-target="identification-signup" data-url="/account/signup?back=checkout"> <input type="radio" name="identification-choice" value="signup" > Create an account </label> </div> <hr/> <div id="identification-guest" class="identification-bloc hidden"> <p class="infos">You will be notified by email and you could create an account later.</p> <p class="field email required"><label for="c_mail1">Email address :</label> <input id="c_mail1" name="c_mail" type="text" size="30" maxlength="255" class="focus" disabled="disabled" value="" /> </p> </div> <div id="identification-login" class="identification-bloc hidden"> <p class="infos"> Use this form to log in if you already have an account, otherwise please click on "Create an account". </p> <p class="field email required"><label for="c_mail2">Email address :</label> <input id="c_mail2" name="c_mail" type="text" size="30" maxlength="255" class="focus" disabled="disabled" value="" /> </p> <p class="field pwd required"> <label for="c_password">Password :</label> <input name="c_password" id="c_password" type="password" size="30" maxlength="255" value="" disabled="disabled" /> <input class="btn btn-info" type="submit" name='connect' value="Connect" /> </p> <p class="field"><label> </label> <a href="/account/password-recovery">Forgotten password?</a></p> </div> <div id="identification-signup" class="identification-bloc hidden"> <p class="infos">Create an account to order faster next times.</p> <p class="field email required"><label for="c_mail3">Email address :</label> <input id="c_mail3" name="c_mail" type="text" size="30" maxlength="255" class="focus" disabled="disabled" value="" /></p> <p class="field pwd required"> <label for="new_account_password">Choose a password :</label><input name="new_account_password" id="new_account_password" type="password" size="30" maxlength="255" disabled="disabled" value='' autocomplete="off"/> </p> </div> </fieldset> <div id="addresses" class="if_identification-step-done"> <div id="shippingaddress"> <div class="title">Shipping Address</div> <fieldset class="cart-bloc-content address"> <div class="free_address"> <p class="field"><label for="c_ship_last_name">Last name :</label> <input name="c_ship_last_name" id="c_ship_last_name" type="text" size="30" maxlength="255" value="" /> </p> <p class="field"><label for="c_ship_first_name">First name :</label> <input name="c_ship_first_name" id="c_ship_first_name" type="text" size="30" maxlength="255" value="" /> </p> <p class="field"><label for="c_ship_company">Company :</label> <input name="c_ship_company" id="c_ship_company" type="text" size="30" maxlength="255" value="" /> </p> <p class="field"><label for="c_ship_adress">Adress :</label> <input name="c_ship_adress" id="c_ship_adress" type="text" size="30" maxlength="255" value="" /> </p> <p class="field"><label for="c_ship_adress2">Adress2 :</label> <input name="c_ship_adress2" id="c_ship_adress2" type="text" size="30" maxlength="255" value="" /> </p> <p class="field"><label for="c_ship_postal_code">Postal code :</label> <input name="c_ship_postal_code" id="c_ship_postal_code" type="text" size="30" maxlength="255" value="" /> </p> <p class="field"><label for="c_ship_city">City :</label> <input name="c_ship_city" id="c_ship_city" type="text" size="30" maxlength="255" value="" /> </p> <div id="ship_state_bloc"></div> <p class="field"><label>Country :</label> <span id="c_ship_country"></span> <a id="c_ship_country_link" href="#breadcrumbs"> - Change country</a> </p> <p class="field"><label for="c_ship_phone">Phone :</label> <input name="c_ship_phone" id="c_ship_phone" type="text" size="30" maxlength="255" value="" /> </p> </div> </fieldset> </div> <div id="billingaddress"> <div class="title">Billing Address</div> <fieldset class="cart-bloc-content address"> <p><label class="no_std"><input type="checkbox" id="sameaddresses" checked='checked'> Use the same address.</label></p> <div id="sameaddresses_target" class='hidden'> <div class="free_address"> <p class="field"><label for="c_last_name">Last name :</label> <input autocomplete="off" name="c_last_name" id="c_last_name" type="text" size="30" maxlength="255" value="" /> </p> <p class="field"><label for="c_first_name">First name :</label> <input autocomplete="off" name="c_first_name" id="c_first_name" type="text" size="30" maxlength="255" value="" /> </p> <p class="field"><label for="c_company">Company :</label> <input autocomplete="off" name="c_company" id="c_company" type="text" size="30" maxlength="255" value="" /> </p> <p class="field"><label for="c_adress">Adress :</label> <input autocomplete="off" name="c_adress" id="c_adress" type="text" size="30" maxlength="255" value="" /> </p> <p class="field"><label for="c_adress2">Adress2 :</label> <input autocomplete="off" name="c_adress2" id="c_adress2" type="text" size="30" maxlength="255" value="" /> </p> <p class="field"><label for="c_postal_code">Postal code :</label> <input autocomplete="off" name="c_postal_code" id="c_postal_code" type="text" size="30" maxlength="255" value="" /> </p> <p class="field"><label for="c_city">City :</label> <input autocomplete="off" name="c_city" id="c_city" type="text" size="30" maxlength="255" value="" /> </p> <p class="field"><label for="c_country">Country :</label> <input autocomplete="off" name="c_country" id="c_country" type="text" size="30" maxlength="255" value="" /> </p> <p class="field"><label for="c_phone">Phone :</label> <input autocomplete="off" name="c_phone" id="c_phone" type="text" size="30" maxlength="255" value="" /> </p> </div> </div> </fieldset> </div> </div> </div> </div> <div id="payment-bloc" class="cart-bloc"></div> <input type="hidden" name="go_payment" value="1"/> <div id="validation-bloc" class="cart-bloc"></div> </form> </div> <div id="checkout-empty"> <div class="action-msg action-error"> Your cart is empty </div> </div> </div><!-- End #content --> </div> <!-- End #main --> <div id="sidebar"> </div> <!-- End sidebar --><hr style="clear:both;" /> </div> </div> <!-- End #wrapper --> <div id="footer"> <div id="footgets"> <div class="wrapper"><div id="foot-cols"> <div id="footget_1" style="width:33.333333333333%;"><div> <div class="categoriesstore"> <div class='footget_title title'> Catalog </div> <ul><li class="l1" ><a href="https://en.dl-servi.com/store/just-published">Just published</a></li><li class="l1" ><a href="https://en.dl-servi.com/store/Periodicals">Periodicals</a></li><li class="l1" ><a href="https://en.dl-servi.com/store/history">History</a></li><li class="l1" ><a href="https://en.dl-servi.com/store/education">Education</a></li><li class="l1" ><a href="https://en.dl-servi.com/store/sciences">Sciences</a></li><li class="l1" ><a href="https://en.dl-servi.com/store/environment">Environment</a></li><li class="l1" ><a href="https://en.dl-servi.com/store/culture">Culture</a></li><li class="l1" ><a href="https://en.dl-servi.com/store/communication">Communication</a></li><li class="l1" ><a href="https://en.dl-servi.com/store/social-science">Social Science</a></li><li class="l1" ><a href="https://en.dl-servi.com/store/economy">Economy</a></li><li class="l1" ><a href="https://en.dl-servi.com/store/Literature">Literature</a></li></ul></div> </div></div> <div id="footget_2" style="width:33.333333333333%;"><div> <div id="related"> <div class='footget_title title'> Miscl. </div> <ul><li><a href="https://en.dl-servi.com/pages/guide">Guide</a></li><li><a href="https://en.dl-servi.com/pages/iLibraries">iLibraries</a></li><li><a href="https://en.dl-servi.com/pages/about-us">About us</a></li><li><a href="https://en.dl-servi.com/pages/conditions-generales-de-vente">Terms of Sales</a></li><li><a href="https://en.dl-servi.com/pages/charte-protection-vie-privee">Privacy Protection Charter</a></li><li><a href="https://en.dl-servi.com/pages/mentions-legales">Legal Notice</a></li></ul></div> </div></div> <div id="footget_3" style="width:33.333333333333%;"><div> <div id="bloc_Contact_information" class="bloctext"> <div class='footget_title title'> Contact information </div> <div class="text"> <p>DL Services SPRL<br /> Rue Vanderborght 24<br /> 1081 Brussels Belgium<br /> <a href="mailto:info@dl-servi.com">info@dl-servi.com</a></p> </div> </div> </div></div> <hr/> </div></div> </div><!-- End footgets--> <div id="footer-text"> <div class="wrapper"><div> <div class="text"> <p style="text-align: center;"><img alt="bande-fournisseurs.png" src="/pub/bande-fournisseurs.png" /></p> </div> <div class="footer_social"> </div> </div></div> </div><!-- End footer-text--> <div id="footer-mentions"> <div class="wrapper"><div> <div class="text"><br/>DL Services SPRL Rue Vanderborght 24 1081 Brussels Belgium - <a href='/contact'><script type="text/javascript">document.write (String.fromCharCode(105,110,102,111,64,100,108,45,115,101,114,118,105,46,99,111,109));</script></a><br/> 42Stores : <span>boutique sur Internet</span></div> <div class="text credits">漏 2019 DL Services store. All rights reserved.</div> <br/> <img src="/pub/design/mastercard.png"> <img src="/pub/design/visa.png"> </div></div> </div><!-- footer-mentions --> </div> <a class="btn-up" href="#"></a> <script type="text/javascript"> function initAdvancedSearch() { $(function () { $('#advancedSearch').find('select').change(function () { if ($(this).hasClass('cat')) { var s = $(this).attr('name'); s = s.substring(5, s.length - 1); $('#change_cat_value').val(s); } $('#advancedSearch').submit(); }); $('#clean_search').click(function () { $('.cleanable').val(''); $('#advancedSearch').submit(); }); }); } $(function() { initAdvancedSearch(); }); </script> <script type="text/javascript"> function initInstantSearch() { $('#hideSearch').hide(); var lb_settings = { loader_img : '/?pf=lightbox/img/loader.gif', prev_img : '/?pf=lightbox/img/prev.png', next_img : '/?pf=lightbox/img/next.png', close_img : '/?pf=lightbox/img/close.png', blank_img : '/?pf=lightbox/img/blank.gif' }; // reg exp pour nettoyer les requ锚tes, cf m茅thode "clean" //var exp1=new RegExp("^(\\s+)|(\\s+)$","g"); var exp2 = new RegExp("(\\s+)","g"); var exp3 = new RegExp("\\s(\\S)(?=\\s)", "g"); // verrou pour n'envoyer qu'une requ锚te ajax 脿 la fois var lock=false; // temps au moment du dernier keyUp var lastKeyUp= new Date().getTime(); // tableau contenant les barres de recherche var searchBars= []; // barre de recherche ayant le focus var focus; // derni猫re valeur de recherche envoy茅e var lastQ=clean(); // savoir si on est dans un "contexte" de recherche var ctx_search=false; // num茅ro de la page de r茅sultat var page=1; // contenu de la page qu'on avait avant la recherche, pour pouvoir la r茅afficher var previousPage; var timerOn=false; // on bind ! if(ctx_search){ binds(); } function binds(){ initProductList(); $("#o, #list_order").change(ajax); $("#fuzzy").click(function(e){ $('#q')[0].value=$(this).text(); $('#q').triggerHandler('keyup'); e.preventDefault(); }); $('.page_link').click(bindPage); $('#ajaxSearchResults').find('a[href$=".jpg"],a[href$=".jpeg"],a[href$=".png"],a[href$=".gif"],a[href$=".JPG"],a[href$=".JPEG"],a[href$=".PNG"],a[href$=".GIF"]').modalImages(lb_settings); } // 茅vite de lancer plusieurs timer en m锚me temps function initTimer(){ if(!timerOn){ timerOn=true; timer(); } } //v茅rifie s'il y a besoin d'envoyer une requ锚te ajax function timer(){ var delta=new Date().getTime()-lastKeyUp; if(!lock && delta>250){ var valeur = clean(focus.value); if(lastQ!=valeur){ for(var bar in searchBars){ searchBars[bar].value=focus.value; } if(valeur.length>1){ lastQ=valeur; ajax(); } } timerOn=false; } else setTimeout(timer,100); } function clean(string){ return (' '+string+' ').replace(exp3,'').replace(exp2,' ').trim(); } // enregistre le 'time' de l'appuie sur la touche, et synchronise les "value" des barres de recherche function registerKeyUp(){ lastKeyUp = new Date().getTime(); focus=this; initTimer(); } // technique pour trouver toutes les barres de recherche malgr茅 leur m锚me id $('input').each(function(){ if(this.id=='q'){ $(this).bind('keyup',registerKeyUp); searchBars.push(this); } }); // envoie les requ锚tes ajax function ajax(){ var $container = typeof $(focus).data('result-target') !== 'undefined' ? $($(focus).data('result-target')) : $('#content'); lock=true; opacity(50); $.get('/instantsearch', {q: lastQ, or : ($('#list_order').length>0 ? $('#list_order').val() : ($('#o').length>0 ? $('#o').val() : "pertinence ASC"))}, function(data){ // pas dans un contexte de recherche, on retire donc l'ancien contenu, pour le remplacer par l'ent锚te de la recherche et les r茅sultats if(!ctx_search){ ctx_search=true; previousPage = $container.children().clone(); $container.empty().append(data); var mainBar = $container.find("#q"); if(mainBar.length==1){ mainBar.bind('keyup',registerKeyUp); searchBars.push(mainBar[0]); mainBar[0].value=focus.value; } showButton(); } else{ //d茅j脿 en recherche, on remplace juste les r茅sultats $container.find("#ajaxSearchResults").replaceWith($('<div></div>').append(data).find("#ajaxSearchResults")); } opacity(100); // on bind les liens pour changer de page, et la page courante revient 脿 1 binds(); page=1; lock=false; $('body').triggerHandler('instantSearchChange'); }); } function opacity(value){ var ie=(value==100)? 'none' : 'alpha(opacity='+value+')' ; $("#ajaxSearchResults").css({opacity : value/100, filter : ie }); } //lie les liens pour la pagination function bindPage(){ var $container = typeof $(focus).data('result-target') !== 'undefined' ? $($(focus).data('result-target')) : $('#content'); opacity(50); $.get('/instantsearch'+$(this).attr('href'), function(data){ $container.find("#ajaxSearchResults").replaceWith($('<div></div>').append(data).find("#ajaxSearchResults")); opacity(100); binds(); $('body').triggerHandler('instantSearchChange'); $('body').triggerHandler('instantSearchPageChange'); } ); return false; } // bouton "retour" pour r茅afficher le contenu d'avant la recherche (uniquement si ajax) function showButton(){ var $container = typeof $(focus).data('result-target') !== 'undefined' ? $($(focus).data('result-target')) : $('#content'); $('#hideSearch').show().bind('click',function hideSearch(){ $container.empty().append(previousPage); ctx_search=false; }); } } $(function() { initInstantSearch(); }); </script> </div> <!-- End #page --> </body> </html>