...

View Full Version : What's wrong??



carweb
07-17-2003, 11:06 AM
I've made this Javascript:

<html><head><script language="javascript">
<!--
function visa_bild()
{


bild=new Array("system/top_carw_001.jpg","system/top_carw_002.jpg","system/top_carw_003.jpg","system/top_carw_004.jpg","system/top_carw_005.jpg","system/top_carw_006.jpg")

visa_bilden=bild[Math.floor(Math.random()*bild.length)]
visa_bilden="<IMG SRC=\""+visa_bilden+"\" HSPACE=0 VSPACE=0>"
return visa_bilden
}
//-->
</script>
</head><body bgcolor=white scroll=no topmargin=0 leftmargin=0>
<script language="javascript">
<!--
document.write(visa_bild())
//-->
</script>


something is wrong.
HSPACE=0 and VSPACE=0 doesn't works
why?

Sorry for my bad english.

Spudhead
07-17-2003, 01:45 PM
Because it's HSPACE and VSPACE (http://www.scit.wlv.ac.uk/encyc/img.html)

:thumbsup:

carweb
07-17-2003, 05:19 PM
:rolleyes: thanks:p ;) :thumbsup:

carweb
07-17-2003, 05:21 PM
What now?:(
It doesn't works:eek: :confused: :mad: :( :(

arnyinc
07-17-2003, 05:40 PM
That is the most gratuitous, excessive use of smiley faces in the history of the Internet.

Your script works for me. What is wrong?

carweb
07-17-2003, 05:44 PM
Originally posted by arnyinc
That is the most gratuitous, excessive use of smiley faces in the history of the Internet.

Your script works for me. What is wrong?

I've got at table under my image and it is more than 0 pixels under



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum