• Today I am going to demonstrate here, how can we hide or show div with pure JavaScript?. Here is step by step procedure: 1) CREATE A HTML FILE FOR BROWSER VIEW AND SAVE IT AS INDEX.HTML   <!doctype html> <html>  <head>   <title>Show and hide div with JavaScript</title>   <script src=”show.js”></script>  </head>  <body> <div id=”newpost”> This div […]

    Read More

  •   What is an image rollover? When you put the mouse pointer over the image (hover) the image changes. It’s pretty easy to have this kind of mouseover effect…!! All you need to do is copy and paste the following code into your page or post: <a href=”Destination URL” target=”_top” onmouseover=”document.sub_but.src=’http://yourdomain.com/onroll.jpg‘” onmouseout=”document.sub_but.src=’http://yourdomain.com/normal.jpg‘”> <img src=’http://yourdomain.com/normal.jpg‘ style=”width:200px; […]

    Read More