> Je mozne java scriptom osetrit prichod na stranku? Chcem mat napr. stranku > "www.web.sk/1.html" na ktoru sa bude dat dostat len zo stranky > "www.web.sk/index.html". Ak by sa napisala adresa www.web.sk/1.html , > presmeruje sa na index.html. > Je toto mozne osetrit java-scriptom (nie cgi, alebo php)bez ucasti servera? Zkus neco to takhle: <script LANGUAGE="JavaScript"> <!-- if (document.referrer!="http://www.web.sk/index.html") location="index.html"; // --></script> Dej to hned do <head>, me to funguje (teda pokazde to presmeruje - nezkousel jsem ten spravnej pripad, ale jit by to _melo_ ; ) Ladislav Pelcl - Laddobar -- ---< Welcome to the Desert of the Real.. >--- ---< E-mail >---< ladislav@pelcl.cz >---< laddobar@cyber.cz >--- ---< ICQ # >---< 36366729 >--- ---< Web >---< http://laddobar.pelcl.cz/ >--- ---< Home >---< http://matrix.cyberspace.cz/ >---
This archive was generated by hypermail 2.1.2 : 04. 09. 2001, 05:03 CEST