Is there a easy way of counting the hits for pdf files? On my website I have lot of PDF files as it requires no maintenance at all. However I think this will reduce the hitcount to the website. Any suggestions/ideas?
Thanks.
Nita
Is there a easy way of counting the hits for pdf files? On my website I have lot of PDF files as it requires no maintenance at all. However I think this will reduce the hitcount to the website. Any suggestions/ideas?
Thanks.
Nita
Note: JavaScript for mouse up button action:
if (global.nagCount != null)
global.nagCount = 0
Note: Document Level Javascript (name = nag)
if (global.nagCount == null) { // Does nagCount exist?
global.nagCount = 1 // No: create it
global.setPersistent("nagCount", true)
}
else { // Otherwise: increment it
global.nagCount++
}
if (global.nagCount > 2) { // nagCount greater than 2?
// Yes: display alert
app.alert("You haven’t paid for this document.\n Pay me.")
}
Note: Change the entry app.alert to a URL to store nagCount
My favorite quote - "Success is the ability to go from one failure to another with no loss of enthusiasm.