Posted by Oli Filth on 04/04/06 04:12
mouseit101 said the following on 04/04/2006 01:43:
> 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="" />
What? So rather than use a server-side randomly-generated image, you'd
use a client-side selection from a pre-defined list of images? In
JavaScript?
--
Oli
Navigation:
[Reply to this message]
|