I have an imagemap with 3 hotspots. One downloads a .pdf, the other two redirect to two other websites. Now they want to be able to track who downloads the .pdf file with our reporting program (VisiStat). To do that, I have to add some code to the OnClick event of the .pdf hotspot.
<A ONCLICK="VSLT('MyFile.pdf')" TARGET="new" HREF="my-link.pdf">MyFile.pdf</A>
The code in the "VSLT('MyFile.pdf')" can be any name, that's just what shows up in the reports.
And I'm guessing that's where the VSLT() code is at.
I tried moving my code inline in the asp page, but it always says my sub is not a member of the page. What am I doing wrong? It seems like I'm just calling it or referencing it wrong.
The only code I have in it is an If/Else for the postback values.