Page load effects keep reloading and won't stop
I have a fake add display that is supposed to wait for a few seconds and then show an add that is in a another panel (the default panel is blank). the user can click on an x button to close the screen and then the ad should close. The problem is that the page appears to keep reloading so that the add keeps show up over and over again. I can't figure out what I am doing wrong. Can you help?