1 0 Archive | formatting RSS feed for this section
post icon

How to refresh page after loading

While making a mobile friendly page i need to readjust the page to make it center align. As with load of the page it was not being centered, when user click double click on the page, it get’s align centered. so we implemented auto refresh which do exactly what we after…


< script language=” JavaScript” >
< !– function LoadOnce() { window.location.reload(); } //– >
< /script>

Call this function on body tag

< body onLoad=” LoadOnce()” >

Leave a Comment
post icon

How to change, switch between two images for anchor tag?

< a href="index.php">

< img src="images/home-grey.png" onmouseover="this.src='images/home-white.png'" onmouseout="this.src='images/home-grey.png'" />

< div class="big-text">Home< /div>

< /a>

Leave a Comment