Category Archives: Web development

Simple Apache trick to increase Google Speed Test score

Google Speed Test will (unless set up) complain if you have not set up images to take use of browser caching. To get the browser to start caching static content you can add the following to your Apache vhost file: … Continue reading

Posted in Web development | Tagged , , , | Leave a comment

Show/hide a div with javascript

Looking for a simple javascript to show/hide a given text/element? Here`s all you need! <!– Simple show/hide system @author – Tor Henning Ueland –> <script language=”javascript” type=”text/javascript”> //ShowHide function – takes the div ID as argument function showHide(divId) { //Switch … Continue reading

Posted in Web development | Tagged , | Leave a comment