PHP WEB SCRIPTS    Support Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Responsive Banner Ad
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PHP Web Scripts Forum Index -> Ad Manager Pro Support & Discussion
View previous topic :: View next topic  
Author Message
inthanet



Joined: 17 Mar 2008
Posts: 55
Location: London

PostPosted: Thu Sep 01, 2016 10:16 pm    Post subject: Responsive Banner Ad Reply with quote

Hi,
how i get banner ads responsive?
_________________
Best Regards,

Uwe Inthanet
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 6233

PostPosted: Thu Sep 01, 2016 11:42 pm    Post subject: Reply with quote

To make banners responsive, use the img ad code (which is available in the code generator), remove the height variable in it and add this:
style="max-width:100%"
Back to top
View user's profile Send private message
inthanet



Joined: 17 Mar 2008
Posts: 55
Location: London

PostPosted: Fri Sep 02, 2016 5:43 am    Post subject: Reply with quote

PHPWebScripts wrote:
To make banners responsive, use the img ad code (which is available in the code generator), remove the height variable in it and add this:
style="max-width:100%"


Thanks,
I use an image Ad max-width="712" height="auto"
and for the reload interval jquery setInterval(function() {...

All works now, the image change without reload the page and
is responsive as well
_________________
Best Regards,

Uwe Inthanet
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 6233

PostPosted: Fri Sep 02, 2016 8:48 am    Post subject: Reply with quote

It's great Very Happy
Thank you very much for letting me know.
Back to top
View user's profile Send private message
Vinny



Joined: 09 Sep 2016
Posts: 2

PostPosted: Sat Sep 10, 2016 12:10 am    Post subject: Reply with quote

PHPWebScripts wrote:
To make banners responsive, use the img ad code (which is available in the code generator), remove the height variable in it and add this:
style="max-width:100%"


Hi, where abouts do I put the style code and does this make it responsive on mobile devices too?
Back to top
View user's profile Send private message
Vinny



Joined: 09 Sep 2016
Posts: 2

PostPosted: Sat Sep 10, 2016 12:12 am    Post subject: Reply with quote

Oh wait a sec, I figured it out lol. Same question about mobile though, thanks.
_________________
I believe you can get vigrx plus here as well.
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 6233

PostPosted: Sat Sep 10, 2016 4:14 am    Post subject: Reply with quote

The way which I described works in all browsers, incl. phones.
Back to top
View user's profile Send private message
adknock



Joined: 19 Dec 2016
Posts: 19
Location: India

PostPosted: Mon Jun 26, 2017 6:06 am    Post subject: How in Adsense Reply with quote

Which you told ,I understand that but I need to know that how I will make that as Responsive for for Google Adsense?
As google adsense provides auto resize ads and when I create some ad and put the adsense code insted of link and banner then how I also can provide responsive ad to the publishers?
_________________
Adknock Pvt. Ltd.
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 6233

PostPosted: Mon Jun 26, 2017 7:57 am    Post subject: Reply with quote

You can use the popup ad type for these ads. There is the option to enter a javascript code. It will work as you need so, only make sure to add javascript document.write commands to the code received from google.

Alternatively also the banner ad types could be used but it needs some changes. I can modify it for you.
Back to top
View user's profile Send private message
adknock



Joined: 19 Dec 2016
Posts: 19
Location: India

PostPosted: Wed Jun 28, 2017 8:41 pm    Post subject: Reply with quote

No actually the ad is already responsive...I just want to remove the height and width option from a particular zones.
As the ad is responsive already from their end so I just have to remove the height and width option from my end so that its will be actually a responsive ad.

Thank you.
_________________
Adknock Pvt. Ltd.
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 6233

PostPosted: Thu Jun 29, 2017 2:14 am    Post subject: Reply with quote

I understand what you need to do. Please use the ad type which I suggested, it will work. If you can't use it and need to use some of the banner ad types, I can modify the files for you.
Back to top
View user's profile Send private message
adknock



Joined: 19 Dec 2016
Posts: 19
Location: India

PostPosted: Thu Jun 29, 2017 8:04 pm    Post subject: Reply with quote

I need to use in banner type not any popup...
How this may be possible?
_________________
Adknock Pvt. Ltd.
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 6233

PostPosted: Thu Jun 29, 2017 11:02 pm    Post subject: Reply with quote

It will not create a popup. It will work as you need it. Please test it. If you will need some changes, email me.
Back to top
View user's profile Send private message
adknock



Joined: 19 Dec 2016
Posts: 19
Location: India

PostPosted: Fri Jun 30, 2017 5:54 am    Post subject: Reply with quote

I created new ad type like from /administration/ad_types.php
and create a new Ad Type Onclick popup window named as "Responsive ad" but I see that in Publisher panel that ad code type is not showing...From where I can generate these new ad style?
_________________
Adknock Pvt. Ltd.
Back to top
View user's profile Send private message
adknock



Joined: 19 Dec 2016
Posts: 19
Location: India

PostPosted: Fri Jun 30, 2017 5:58 am    Post subject: Reply with quote

I do not understand how to do that?
Can you please do that?
_________________
Adknock Pvt. Ltd.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PHP Web Scripts Forum Index -> Ad Manager Pro Support & Discussion All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group