I noticed that Message-ID: <qx******************@twister.rdc-kc.rr.com>
from Ken contained the following:
1. Check to see picture is an acceptable image.
a. Check image, picture1, for extension jpg. There are actually 10
images and 5 extensions. But I just listed 1.
b. If the extension in not jpg, change background color to yellow.
c. This works well in
JavaScript --document.getElementById('pt1').style.backgroundCol or='#FFF9B9';
There is no need to do this.
Because the PHP is processed by the server you can simply change the
background colour using CSS. Simply use a PHP snippet to write a
background style in the body tag. No need for JS at all.
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs
http://www.ckdog.co.uk/rfdmaker/