|
Posted by Mumia W. (NOSPAM) on February 5, 2007, 5:46 pm
Please log in for more thread options
On 02/05/2007 01:14 PM, ipy2006 wrote:
>>> Other than the JavaScript of timing and rotating images every few
>>> seconds or minutes, is there a way to uniquely load a different
>>> picture every time a browser open a page?
>> This is a case for a server-side script. It is a matter of a few
>> minutes and will work for all your visitors (that view images).
>>
>> The "other than" is rather odd since JS will not work "every time" but
>> only some times.
>>
>> --
>> Ben.
>
> Thanks for the reply. If you look at http://www.nyu.edu everytime you
> open this url in a browser you will see a new <div> element. Do you
> think it is created by a server side script or by some Ajax code? From
> my observation I don't see any server side code there. Please comment.
>
> <div id="photography">
> <img src="/v50/images/photos/42/4x2_35980Pg20.jpg" alt="" />
> </div>
>
Server-side code is executed on the server to (typically) generate the
HTML that you see. You can probably do what you're trying to do by using
a combination of a cookie and a server-side script.
--
Windows Vista and your freedom in conflict:
http://www.securityfocus.com/columnists/420/2
|