Hi Folks, I come up with another technical blog which will be quite interesting. I did this in my training period. You might have heard of the Opacity which means transperancy. Now, I have added an image to my HTML code and on clicking the image its opacity will be reduced. Usually the rating will be between 1 to 100 for IE and 0.1 to 1 for Firefox. We have to write differently for different browsers. Lets see a example for it. Here is my HTML code with an image tag which has a image. Here goes the coding…. <html> <head> <title>Change the Opacity of the image</title> <script type=”text/javascript”> function lightup(imageobject, opacity){ if (this.img){ Opacity(this.img, 100); } Opacity(imageobject, opacity); this.img=imageobject; } function Opacity(obj,opc){ if (opc<0||opc>100) return; obj.style...
I am so clever that sometimes I don't understand a single word of what I am saying... FR33KiLL's BL0G