how to intercept mouse clicks ... ads.
Posted: Fri Apr 09, 2004 11:02 pm
I'm looking for a way to make ads dissapear once visitors have clicked on them...
here's something similar:
http://www.nukephotogallery.com/modules.php?name=Forums
.. see the '+' and '-' for the blocks?
I was just looking through this site's code.. and thinking maybe someone already got this figured...
now.. how do I intercept the click on the add?
Thank you!
Please pitch in with remarks, thoughts, other ideas..
maybe innovate on what I've come up with
got some ideas while searching other forums..
..I could put a "show Ads" link, and when users clicks it, a cookie deletes itself thus turning ads on again.
does anyone have this already implemented?
Also...
I could add some JavaScript Code to open a new window that loads a page that will set a cookie that says that the user has clicked on the links, the page automatically close itself again. ~ or something like that
...I like the cookie aproach. but I have little clue on how to code this. is it possible?
Cheers!
here's something similar:
http://www.nukephotogallery.com/modules.php?name=Forums
.. see the '+' and '-' for the blocks?
I was just looking through this site's code.. and thinking maybe someone already got this figured...
now.. how do I intercept the click on the add?
Code: Select all
<div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-31838509993581**";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="39426832**";
google_color_border = "7F91A6";
google_color_bg = "F7F8FC";
google_color_link = "32475F";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>Thank you!
Please pitch in with remarks, thoughts, other ideas..
maybe innovate on what I've come up with
got some ideas while searching other forums..
..I could put a "show Ads" link, and when users clicks it, a cookie deletes itself thus turning ads on again.
does anyone have this already implemented?
Also...
I could add some JavaScript Code to open a new window that loads a page that will set a cookie that says that the user has clicked on the links, the page automatically close itself again. ~ or something like that
...I like the cookie aproach. but I have little clue on how to code this. is it possible?
Cheers!