Enhancing Web Pages Use Notepad to open any html file Adding an Animation Google search ‘free animation’ After saving one, add it to the web page Add a counter script Locate ‘Basic Date Display’ from left menu and click on it Follow the instruction (copy codes and paste it inside the part of html file Search for a script to add a counter
Hover button Rename any two pictures in C:/100/pics to pic1.jpg and pic2.jpg Copy codes below and paste it within part <img src=“pics/pic1.jpg" alt="News" style="border-style:none" onmouseover="this.src = ’pics/pic2.jpg';" onmouseout=“this.src = ‘pics/pic1.jpg';" />
Rotating banners Insert the following BEFORE tag Replace by the following <!-- var bannerNum=1; function rotateBanner() { if (++bannerNum>3) bannerNum=1; document.getElementById("ttbanner").src = ”pics/pic" + bannerNum + ".jpg"; window.setTimeout('rotateBanner();', 3000); } //--> <img src=“pics/pic1.jpg" alt="Tall Tales" id="ttbanner" sytle="border-style:none;float:right" />
Download Save to your C:\100 Open fishtank.html in the Notepad View the source code, and see which parts need to be modified to have your xxx.gif shown in the background of xxx.jpg.