Hi,
If i preload images like this:
<script language="javascript" type="text/javascript">
<!--
if (document.images)
{
pica= new Image(100,100);
pica.src="cline3.gif";
picb= new Image(100,100);
picb.src="image0031.jpg";
picc= new Image(100,100);
picc.src="image007.jpg";
}</script>
Does it matter if the pics are 400x400. What parameters should i pass to Image(w,h)?
Do I need any at all?
Should they be the exact size of pic?
THX
If i preload images like this:
<script language="javascript" type="text/javascript">
<!--
if (document.images)
{
pica= new Image(100,100);
pica.src="cline3.gif";
picb= new Image(100,100);
picb.src="image0031.jpg";
picc= new Image(100,100);
picc.src="image007.jpg";
}</script>
Does it matter if the pics are 400x400. What parameters should i pass to Image(w,h)?
Do I need any at all?
Should they be the exact size of pic?
THX