Images Displayed Neatly

[Total: 0    Average: 0/5]

This shows how to have images put on the page neatly for presentation.

Body Code:

<SCRIPT>
document.bgcolor = 'linen'
document.text = 'darkslateblue'
document.link = 'coral'
document.vlink='peach'
document.alink='red'
bstr = '/js/pic'
kstr = ''
for (i = 1 ; i <= 4 ; i++)
{
     var xstr = bstr + i + '.gif'
     kstr += '<IMG SRC="' + xstr + '" alt="Put Your Picture here"'
     kstr += 'HEIGHT=100 WIDTH=100 VSPACE=5 HSPACE=5 BORDER=2 ALIGN=LEFT>'
     kstr += '<H3><BR><H3>'
     kstr += '<CENTER><FONT SIZE=3 COLOR="coral">' + xstr   + '</FONT></CENTER>' 
     kstr += '<HR><BR CLEAR ALL>'
}
document.write(kstr)
document.write('</B></CENTER>')
document.write('')
</SCRIPT>

Times Viewed: 0

Leave a Reply

Your email address will not be published. Required fields are marked *