1
recupsoft
Displaying stats into the footer...
  • 2003/11/15 17:24

  • recupsoft

  • Friend of XOOPS

  • Posts: 151

  • Since: 2003/10/30


I'd like to display...
how much time the page did to load
and if possible
how many hits did it cost.
Thanx

2
svaha
Re: Displaying stats into the footer...
  • 2003/11/17 10:29

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


This script gives you an indication of the time that the page takes to load :
Quote:
><SCRIPT language=VBScript>
<!--
Dim Bar, Line, SP
Bar = 0
Line = "|"
sP = 100

Function Window_onLoad()
Bar = 95
sP = 10
END Function

Function Count()
If Bar < 100 Then
Bar = Bar + 1
Window.Status = "Aantal sec + voortgang: " & Bar & "%" & " " & String(Bar, Line)
setTimeout "Count()", SP
Else
Window.Status = "Alles geladen"
Document.Body.Style.Display = ""
End If
End Function

Call Count()
-->
</SCRIPT>

Btw: I'm not the author of this script.
You can see it on my old site
Amevita
But I don't think this works if you place it in the footer, for this you may have to put it in the theme.html file.
(this is being discussed somewhere else--> search for theme)

You can display stats in your footer, by inserting the code of for instance a stats 'provider' like Nedstat This is free for private users.

Aloha

3
recupsoft
Re: Displaying stats into the footer...
  • 2003/11/18 12:23

  • recupsoft

  • Friend of XOOPS

  • Posts: 151

  • Since: 2003/10/30


Thanx.
But finally, after test, that's not what i'm lking for.

Login

Who's Online

142 user(s) are online (87 user(s) are browsing Support Forums)


Members: 0


Guests: 142


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits