View Full Version : Javascript Ad Removal

02-26-2008, 01:37 AM
Hello I have a freewebsite, and of course on it are ads. On the ads however there is a link that when clicked will remove the ad. the like path is 'javascript:void%20(sideFrameOff())'

My question is on my navigation is there a way I can make it perform that action as well.

For instance say a user wants to go to the page 'contact.htm' the link is <a href="contact.htm">Contact Us</a> And when they get to that page the ad (side frame) will be on. So what I'm asking is, is there a way I can make that same link 'Contact Us' also perform the javascript function to turn the ad off?

02-26-2008, 03:57 AM
Read the forum rules: http://www.codingforums.com/rules.htm

More specifically rule 1.4.

02-26-2008, 08:14 PM
But your allowed to disable the side ad. Why else would they have a button that says "Close Side Ad"

02-26-2008, 08:18 PM
Because once you've closed it, you've seen it and has served it's purpose.