Skip to main content
GameDev.net gamedev.net
🔒 Locked

[java] Webpage Javascript

Started by LeeIsMe May 15, 2000 at 7:13 PM 3 replies 1k views
Original Post
LeeIsMe
LeeIsMe
This isn't about games, but it is about my game programming web page. I have a java-script file on my web page that keeps track of when the page on the right frame changes. I would like it to execute a counter script (either in asp, cgi, or server side java) whenever the page in the right frame changes. How would I go about doing that? http://www.gamedev.net/hosted/3dgraphics/ Edited by - LeeIsMe on 5/15/00 7:16:13 PM
Tiso
Tiso
Sorry, but I can''t help you. I''m just starting to look into Java, I just wanted to say, your web page looks GREAT!!
LeeIsMe
LeeIsMe
I solved my problem. I had wanted a solution where I wouldn''t need to include html on every page that I wanted to count. My web page has frames, so I set up a java-script in the left frame to check whenever the url in the right frame changes. There was already a java-script in place to update the links frame to reflect the right page, so it was fairly easy. When the right frame changes the java-script sends the info to a perl script that show the relevant links for the page and records hits. This solution seems incredibly in-elegant, but it works.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.