Menu
Ive got some preloading image code similar to this,
image1=new Image
image1.src=”picture1.bmp”
image2=new Image
image2.src=”picture2.bmp”
but i need to use a varible in the code like this:
image1″ + varible + “=new Image
image1″ + varible + “.src=”picture1.bmp”
image2″ + varible + “=new Image
image2″ + varible + “.src=”picture2.bmp”
how would i do this?
also i have a <div> that has some text in it and a link on the whole <div> how do i make it so the link goes for the whole <div> and not just the length of the text with out using the css background color tag?