javascript - Hide Div After Click? (But what if the Div Is a banner?) -
i'm making webpage , want make multi-ads space. clicking in banner(it's link opened normally), want banner hidden , 1 shown. problem's banners out of control!!
when click on it, shown in new window (normally), no changes considering div containing banner must replaced next div containing next banner.
i need control displaying divs clicking under banners.
you can see in webpage: http://allaroundtheworldtv.eu5.org/test/new2a.html
in example, timer start when clicking in div out of banner space. want, timer start when click on ad-banner. or solution pass directly next banner.
plz me that!! want possible!!
and think you.
if banner in iframe (generally work this) can't make such actions. because in domain , dom object.
if serving banners html, possible basic "onclick" event of div.