/* Author: Antoine, Ekko Communication (antoine@ekko-communication.com) */ (function($){ $(".content-twitter").tweet({ username: 'MissionsLocales', join_text: "auto", avatar_size: 34, count: 5, refresh_interval: 5, query: '@MissionsLocales OR from:MissionsLocales', auto_join_text_default: "we said,", auto_join_text_ed: "we", auto_join_text_ing: "we were", auto_join_text_reply: "we replied to", auto_join_text_url: "we were checking out", loading_text: "Chargement des tweets..." }); window.setTimeout(function() { $(document).trigger("load"); }, 1000 * 15); })(window.jQuery); // Animation Rotate $(".acces .espace-jeune").hover( function() { $(this).rotate({ duration:800, animateTo:-15 }) }, function() { $(this).rotate({ duration:1000, animateTo:0 }); } ); $(".acces .espace-entreprise").hover( function() { $(this).rotate({ duration:800, animateTo:10 }) }, function() { $(this).rotate({ duration:1000, animateTo:0 }) } ); $('#wall').facebookWall({ id:'lesmissionslocalesdubearn', access_token:'116279368428311|h2aGZA8HZsG1PpeGM8b2PzzAUHs' });