I want to simulate click (js) to banner code (random linked banners).
function simulateClicks();
echo bannerCode;
How can this be done?
details :
When user open website user automatic click on x,y diagrams definied in function simulateClicks(); or direct on
definied bannerCode; - bannerCode; is full code of random linked banners centered on site. (400x200). Example:
pokit.org/get/img/c183f22c67d2c7827a93c2bd442f288a.jpg When user open this question automatic opening my profile
(auto click on my linked profile name). In my case that is random banner linked to locations, and i definied it as
bannerCode;
mission : Only simulate click with javascript on banner.. that's all I need.
如果您知道如何使用CSS选择器选择“横幅”,则可以使用jquery .trigger()
来“触发”它
$("#the_id_of_the_banner").trigger('click');
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.