Load ya jpeg??
Load ya jpeg??
Out of context: Reply #3
- Started
- Last post
- 3 Responses
- heavyt0
javascript:
make an empty img tag with ID="image"
add this function:
i = 0;
function imageLoader(){
cur = document.getElementById('image...
i++
if(i=1){
cur = picture1.jpg;
}else{
cur = picture2.jpg;
}
}a very simple way to do it. depending on what you want to accomplish, you are going to want to change that IF to a SWITCH or use a math.rendom or something.
TR1