Posted by comp.lang.php on 04/04/06 17:41
mouseit101 wrote:
> I'd just use javascript....
> in the head section:
> <script>
> var s = new Array("imgsrc1","imgsrc2","etc.")
> document.getElementById("RandomImage").src =
> Math.round(Math.random()*s.length)
> </script>
>
> in body section:
> <img id="RandomImage" src="" />
And when javascript is turned off? Not to mention what <noscript>
option could possibly match that considering it's a federal mandate for
government sites to follow Section 508 compilance..
Phil
[Back to original message]
|