View Full Version : link click counter
04-30-2007, 03:34 PM
04-30-2007, 03:46 PM
04-30-2007, 05:41 PM
well you can count how many times the user clicks on anything, so long as the windows location doesnt change. so, if you are using links that dont go anywhere, or links that target a new window, you can count all day long. but if the link changes the location value of the window, no such luck, you would need server side script as BonRogue stated above.
this will work as long as the link doesnt do anything:
this will owrk if the link targets a new window:
<a href="path/file.html" target=_blank onclick="count()">
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.