I am trying to adapt a small app. web that uses some jQuery functions and I have found that it does not hide elements of the page when with another browser if it does well.
jQuery(function() {
// Handler for .ready() called.
jQuery('.dock').hide(); //esta linea no funciona
jQuery('#menu a').on('click', function(e){
jQuery('.dock').hide();
var target = jQuery(this.hash);
console.log(target);
jQuery(target).show();
e.preventDefault();
});
});
Something about html:
<div id="docker" class="clearfix">
<div id="enfermera" class="dock">
<a target="_blank" class="dock-item" href="http://lauca3/certificasc"><img src="images/icons/icons8-Nurse_Female_100.png" alt="Panel" /><br/><span>Panel de enfermería</span></a>
<a target="_blank" class="dock-item" href="http://pabellones.alemana.cl/"><img src="images/icons/pabellon.jpg" alt="Pabellón" /><span>Pabellón</span></a>
<a target="_blank" class="dock-item" href="file:///C:/cliexe/shc/Atn.exe"><img src="images/icons/fce.png" alt="Fícha Clínica" /><span><br/>Fícha Clínica</span></a>
</div>
</div>