If you can't log in to the forum, please, use the Old login form.
If you can't enter the Control Panel of your website due to the recent uID issues, please see this thread.
If you want a temporary solution to the profile login issue on your website, please see this post.
Page 1 of 11
Forum moderator: bigblog 
uCoz Community » For Webmasters » Custom Solutions » Help! Script or code to make my ADVERTISEMENT disappear...
Help! Script or code to make my ADVERTISEMENT disappear...
khen
Posts: 436
Reputation: 13

Message # 1 | 6:19 AM
I need help! I'm not an expert in coding or programming.

I have a banner ad in my article. How can I a make my banner ad disappear in mobile browsers, or to my visitors using mobile phones, tablets or androids or iphones?

In other words, make my banner ad appear only on desktop/laptop users.

bigblog
yeah, i'm still here
Posts: 1376
Reputation: 65

Message # 2 | 10:05 AM
khen, can you show an example, please? (link to an article + a screenshot)
i breathe... sometimes
khen
Posts: 436
Reputation: 13

Message # 3 | 12:33 PM
thanks for the quick response bigblog. Here's a sample of the banner ad located after the ARTICLE TITLE.... http://www.affordablecebu.com/load....0-30366
bigblog
yeah, i'm still here
Posts: 1376
Reputation: 65

Message # 4 | 1:07 PM
khen, use the following code:

Code
<?ifnot($USER_AGENT_PDA$)?>

..... code of the ad banner .....

<?endif?>

i breathe... sometimes
khen
Posts: 436
Reputation: 13

Message # 5 | 1:09 PM
bigblog, thanks. It works!
uCoz Community » For Webmasters » Custom Solutions » Help! Script or code to make my ADVERTISEMENT disappear...
Page 1 of 11
Search: