plik


JavaScript Source Code 3000: User Details: Resolution Image Resolution Image (Version 4.0+ Browsers) Loads an image with different dimensions based on the users screen resolution setting. Higher resolution browsers see an image with increased dimensions and lower resolution browsers see an image with decreased dimensions. This separation ensures that each browser sees the image size that looks best in their browser. Great use of JavaScript1.2 also! The size of this image depends upon the screen resolution you are using! JavaScript Source Code 3000: User Details: Resolution Image Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!      <!-- ONE STEP TO INSTALL RESOLUTION IMAGE: 1. Copy the coding into the BODY of your HTML document --> <!-- STEP ONE: Paste this code into the BODY of your HTML document --> <BODY> <SCRIPT LANGUAGE="JavaScript1.2"> <!-- Original: Daniel Farmer (danfarmer@hotmail.com) --> <!-- Web Site: http://www.mp3.com/protoculture --> <! > <! > <!-- Begin if (screen.height >= 768 && screen.width >= 1024) { document.write("<img src='http://your-web-site-address-here.com/image.gif' width=850 height=11 border=0>"); } else { if (screen.height == 600 && screen.width == 800) { document.write("<img src='http://your-web-site-address-here.com/image.gif' width=600 height=11 border=0>"); } else { document.write("<img src='http://your-web-site-address-here.com/image.gif' width=475 height=11 border=0>"); } } // End --> </script> <!-- Script Size: 0.96 KB -->

Wyszukiwarka

Podobne podstrony:
image
function pdf execute image
resolution05
G28 Mirror Image
java awt image IndexColorModel
java awt image ImageConsumer
image
image

więcej podobnych podstron