var paths = document .querySelectorAll('path"); var tooltip = document.getElementById('tooltip'); paths. forEach(function (path) { path.addEventListener('mouseover', function(e) { tooltip.style.visibility = 'visible' tooltip.style.left = e.pageX + 20+ 'px'; tooltip.style.top = e.pageY + 20 + 'px'; tooltip. innerHTML = path.getAttribute('title"); }); path. addEventListener ('mouseout', function) { tooltip.style.visibility = 'hidden'; }); });
top of page
Início
Agenda da Camaleão
Política de Reservas
Blog da Camaleão
Sobre nós
Quem somos nós?
Colaboradores
Camaleão na mídia
Contato
Mais
Use tab to navigate through the menu items.
Entrar
Envie-nos uma mensagem
e entraremos em contato em breve.
Email
Assunto
Mensagem
Enviar
Obrigado(a)
bottom of page