Skip to content
Extraits de code Groupes Projets
Valider 21ae96d8 rédigé par Juliana's avatar Juliana
Parcourir les fichiers

add contact adress

parent cd6d66e8
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -49,6 +49,36 @@ odoo.define('pylote_website.scroll_totop', function (require) {
}
});
$("#techno-button").click(function() {
// $("html, body").animate({ scrollTop: $('#nav-techno').offset().top - 170}, 1000);
// window.open("/our-differenciation#our-techno");
// console.log(window.location);
var
yPos,
yInitPos,
target = ($($(this).attr("href")));
window.location = "/our-differenciation";
window.location.reload(true);
yInitPos = $(window).scrollTop();
window.location.hash = "/our-differenciation#our-techno";
$(window).scrollTop(yInitPos);
target = ($("a[name=#our-techno]"));
yPos = target.offset().top;
$('html,body').animate({ scrollTop: yPos - 40 }, 1000)
// yInitPos = $(window).scrollTop();
// window.location.hash = "#our-techno";
// $(window).scrollTop( $(window).scrollTop() - 40 );
// $(window).scrollTop(yInitPos);
// target = ($($(this).attr("href") + ":first"));
// if (target.length == 1) {
// yPos = target.offset().top;
// $('html,body').animate({ scrollTop: yPos - 40 }, 1000);
// }
});
$("#myBtn").click(function(ev){
document.body.scrollTop = 0; // For Chrome, Safari and Opera
document.documentElement.scrollTop = 0; // For IE and Firefox
......
......@@ -75,8 +75,9 @@
<t t-esc="res_company.city"/> -
<t t-esc="res_company.country_id.name"/><br/>
<t t-esc="res_company.website"/> - <t t-esc="res_company.email"/><br/>
Contact press: <a href="mailto:press@pylote.com">press@pylote.com</a><br/>
Tel: <t t-esc="res_company.phone"/>
Tel: <t t-esc="res_company.phone"/><br/><br/>
Press contact: <a href="mailto:press@pylote.com">press@pylote.com</a><br/>
Jean-Christophe Huertas: +336 16 99 47 05
</div>
</div>
</div>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter