[thelist] OnLoad Event to touch file on server

VOLKAN ÖZÇELİK volkan.ozcelik at gmail.com
Wed May 4 15:04:04 CDT 2005


> <img src="mytimestamp.asp" height="1" width="1">

Simply use css.

<img src="mytimestamp.asp" height="1" width="1" style="display:none;">

will make it as if it weren't there. So no 1px layout element at all.

Alternatively, you can have an iframe and you can trigger the iframe's
src on page load. But I have always disliked frames, so img trick is
better imho.

Third alternative, you may try to open an XMLHTTP connection in
javascript. (The original article is on webmonkey.com, and there is a
recent thread discussing it - I cannot quote it exactly even so)

HTH,
Volkan.


More information about the thelist mailing list