[Javascript] Re:Refresh the page only once-reg
Micha Schopman
Micha.Schopman at modernmedia.nl
Mon Oct 17 04:11:12 CDT 2005
Because the function is invoked on each page reload. You could try
setting a cookie, and only reload if the cookie has not been set yet. Or
you can do a document.replace provided url parameters to notify the
script not to reload anymore, etc.
Bottomline, the script needs to know if the current page is the result
of a reload.
Micha Schopman
Project Manager
Modern Media, Databankweg 12 M, 3821 AL Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380
------------------------------------------------------------------------
------------------------------------------------------------------------
-----
Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
de interactie met uw doelgroep.
Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer
informatie zie www.modernmedia.nl
------------------------------------------------------------------------
------------------------------------------------------------------------
-----
________________________________
From: javascript-bounces at LaTech.edu
[mailto:javascript-bounces at LaTech.edu] On Behalf Of Jai Sankar N
Sent: maandag 17 oktober 2005 8:52
To: javascript at LaTech.edu
Subject: [Javascript] Re:Refresh the page only once-reg
Hi Anthony Ettinger,
i'm put the my function in top of the script and it's called in only one
location but it is recursively running...
Jai Sankar N
________________________________
Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
<http://pa.yahoo.com/*http:/us.rd.yahoo.com/evt=36035/*http:/music.yahoo
.com/unlimited/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20051017/8064aa5a/attachment.htm>
More information about the Javascript
mailing list