Hi, I am just learning Javascript and would like to change the following script to include the IE cross fade effect (which I know may not work in all browers).
Here is the code:
<script>
/*Rollover effect on different image script-
By (JsMadeEasy.com)
Over 200+ free scripts here!
*/
function changeimage(towhat,url){
if (document.images){
document.images.targetimage.src=towhat.src
gotolink=url
}
}
function warp(){
window.location=gotolink
}
</script>
Can anyone show me the revised script?
Thanks
Here is the code:
<script>
/*Rollover effect on different image script-
By (JsMadeEasy.com)
Over 200+ free scripts here!
*/
function changeimage(towhat,url){
if (document.images){
document.images.targetimage.src=towhat.src
gotolink=url
}
}
function warp(){
window.location=gotolink
}
</script>
Can anyone show me the revised script?
Thanks