%PDF- %PDF-
Direktori : /home/alliance/domains/congress-eldw.eu/public_html/js/ |
Current File : /home/alliance/domains/congress-eldw.eu/public_html/js/script.js |
$(window).load(function() { $('.image_droite, #home_droite').show(); }); $(document).ready(function() { $('.soussec').hide(); $('.souscat').hover(function() { $('#section'+$(this).attr('rel')).stop(true, false).slideDown(300); }, function() { $('#section'+$(this).attr('rel')).stop(true, true).slideUp(100); }); $('.souscat2').click(function() { $('#section'+$(this).attr('rel')).stop(true, true).slideToggle(300); }); $('.image_droite, #home_droite').hide(); $(".zoom").fancybox(); $(".inline").fancybox({ fitToView : true, autoSize: true, minHeight: 50 }); /*$('.confirm').click(function(e) { e.preventDefault(); if ( $.browser.msie || !!navigator.userAgent.match(/Trident\/7\./)) { thisHref = '../'+$(this).attr('href'); } else { thisHref = $(this).attr('href'); } if(confirm('Êtes-vous sûr(e) ?')) { window.location = thisHref; } });*/ $('.confirm').click(function(e) { if(confirm('Êtes-vous sûr(e) ?')) { return true; } else{ return false; } }); $("#sticky").stick_in_parent(); $('.flag a').click(function(){ if($(this).hasClass("selected")){ return false; } else{ var myClass = $(this).attr("class"); var id_lang=myClass.replace('flag_',''); $('.flag a').removeClass('selected'); $('.flag_'+id_lang).addClass('selected'); $(".translatable div").hide(); $(".translatable .lang_"+id_lang).show(); return false; } }); });