javascript
by "moira le roux" <mdlr(at)kingsley.co.za>
|
Date: |
Sat, 23 Jun 2001 18:24:28 +0200 |
To: |
"HWG-Basics" <hwg-basics(at)hwg.org> |
|
todo: View
Thread,
Original
|
|
Hello
I have started work on an existing site. There is a ranger diary that is
updated daily and every couple of days they are put together and there are
hundreds of pages.
At the top there is a JavaScript, that no-one remembers how it got there but
they copied it forward every page.
All it seems to do is that before the page loads - for a second there is a
row of text at the top of the page.
I am getting rid of excess FrontPage code and fixing graphics and that sort
of thing and want to delete the code.
Just to be on the safe side, as I don't know JavaScript, could someone email
me and tell me what this script does.
<script>
var axel = Math.random() + ""
var rand1 = axel.charAt(5)
var rand2 = (axel.charAt(6) == "0") ? "1" : axel.charAt(6)
var ord = rand1 + rand2 + ""
</script>
It is in the head of the page. There is no script mentioned in the body.
thanks
Moira
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA