Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
|
|
Preloading Images |
Page: 1 | Reply |
May 20th 2001 | #3914 Report |
Member since: Apr 13th 2001 Posts: 956 |
This has probably been answered before but how do you preload images?
|
Reply with Quote Reply |
May 22nd 2001 | #3965 Report |
Member since: Mar 27th 2001 Posts: 2237 |
in the head: [code] func tion MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i } [/code] in the START body tag: [code] MM_preloadImages('images/image1.jpg','images/image2.jpg','images/image3.jpg') [/code] The word "function" in the head part has a space between the "c" and the "t" delete it for the script to work |
Reply with Quote Reply |
May 26th 2001 | #4318 Report |
Member since: Apr 13th 2001 Posts: 15 |
means is it a java code or vbcode ? if it is under the two how v do the coding with them on r pages? |
Reply with Quote Reply |
May 26th 2001 | #4352 Report |
Member since: Mar 27th 2001 Posts: 2237 |
Huh?....lol Ok, lets see... It is javascript. and you paste it in your page by putting the first part in the head section of your html page and the second part in the "start" then add as many images to the image1, image2 image3 thing as you need to preload. just keep adding images like ,'images/yourimagename.jpg' does that help? *crosses fingers* Also if you have Dreamweaver its as easy as adding a behaviour and marking a checkbox |
Reply with Quote Reply |
Page: 1 | Back to top |
Please login or register above to post in this forum |
© Web Media Network Limited. All rights reserved. No part of this website may be reproduced without written permission. Photoshop is a registered trademark of Adobe Inc.. TeamPhotoshop.com is not associated in any way with Adobe, nor is an offical Photoshop website. |