March 24, 2009
Ads
Related Posts:
preload images using javascript is a good idea when you have a rollover buttons, we load the over images before the user points to any button..
you can do preloading using the following code:
<SCRIPT language=”JavaScript”>
<!–
if (document.images)
{
pr_image = new Image(25,25);
pr_image.src=”http://cfood.biz/test/ar/images/s0.png”;
pr_image = new Image(25,25);
pr_image.src=”http://cfood.biz/test/ar/images/s1.png”;
}
//–>
</SCRIPT>
Related Posts:
- How to Crop a Group of Images or resize Group of Images using photoshop
Sometimes when you want to upload photos to the Web, or to send them via email , it is better to scale them down to a smaller size, so your recipient... - creating javascript popup using div
Traditional popup window my be not the suitable choice for your website.. in this case you have to use javascript to create a javascript popup using DIV. In ths example I... - Generating Random Numbers using JavaScript
To generate random numbers using JavaScript you have to use random() method which can be found in the library Math that is built in javascript. It returns a random number between 0.0 and 1.0. example:... - Auto html form validator using javascript - html validation
When you have a lot forms, you need a fast solution to make form validation, by this package I give you the fast and efficient way to do validation needs... - javascript functions problem with Ajax
I have a problem when calling a javascript function in the ajax returned fragment! I searched internet the only solution that I found is as the following: instead of writing... - Dynamically changing the page background color
it simple idea you can use the following javascript code to make change on your document backgrond color <script> document.bgColor="red" </script> Frankie Boyle: Live video 007 For Your Eyes Only... - Javascript IsNumeric validator function
This function is used to test a value stored in the parameter inputText is it numeric or not, in other words is it contains characters other than 1,2,3,4,5,6,7,8,9,0 ? if... - submit forms with ajax to html page or PHP
Here is a toolkit that can help you in submitting forms using ajax. AJFORM is a JavaScript toolkit which simply submits data from any form in an HTML page to... - PayPal ipn with php
If you are searching about a paypal IPN (Instant Payment notification) , you are in the right place. Here I show a simple PayPal IPN (Instant Payment notification) to you. There are... - ImgBurn free download
Author : LIGHTNING UK Download Size : 1872 KB ImgBurn is a smart CD, DVD, HD DVD or Blu-ray burning tool, it is an effective freeware tool by LIGHTNING...


No responses to "preload images using javascript"
No comments yet.
Leave a comment