Home › Forums › JavaScript › Function not being updated correctly › Reply To: Function not being updated correctly
December 27, 2015 at 5:28 am
#236187
xvilo
Participant
Ah i did not know that, but it is not working correctly. The element .leftwrapper
has a standard display:none
just to hide weird placement. After the page has been loaded and when its is resized it is being prepared with the right CSS. This explains:
`$( document ).ready(calcLeftWrapper());
$(window).resize(function(){
calcLeftWrapper();
});
`
But when you navigate, click on “Domein & Hosting” or “Contact” the same div should be recalculated and made visible, which does not happen.