Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-31-2013, 02:02 PM   #1
Rate My Knockers
Confirmed User
 
Industry Role:
Join Date: Aug 2013
Posts: 100
Responsive Ad Displays! Does anyone have them? Or know how to program them?

I'm designing a site right now. Most of the traffic is mobile traffic, so I am trying to cater it to being a responsive display so it will adapt to whatever display width the user is coming from. Is there an ad service that has responsive ad displays? I'd like it to be the width of the header on all responsive displays. So it would have to know how the user is viewing. Webpage at 800 width, tablet at a certain width, and mobile at a certain width depending on how they are holding device.

Most programming has catered to the responsive design, but I can't seem to get ads to do this without creating an entirely new mobile version of the site.

Any help would be greatly appreciated.
Rate My Knockers is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-31-2013, 03:22 PM   #2
Zeiss
Confirmed User
 
Industry Role:
Join Date: May 2012
Location: With your mom
Posts: 5,189
http://php.net/manual/en/control-structures.switch.php
__________________


Adult Webmasters Guides
Zeiss is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-31-2013, 09:47 PM   #3
BSleazy
Confirmed User
 
Industry Role:
Join Date: Aug 2002
Location: USA
Posts: 6,721
Are you talking about using 3rd part ad providers like juicyads or whatever? Probably not yet then. If you're using your own ads like banners from affiliate programs than there are simple solutions.
__________________
icq 156131086
BSleazy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-01-2013, 10:42 AM   #4
porndotnet
Confirmed User
 
porndotnet's Avatar
 
Join Date: Nov 2008
Posts: 317
you could use css media queries to show and hide content based on the viewport width. Probably isn't ideal seeing as you'll still have both the normal ads / mobile specific ads technically on page (unless you did a ajax load of the script) thus making it a bit more on the heavy side. But it would accomplish what you are trying to do.

@media screen and (max-width: 400px) { // or whatever you want to target
.mobile-ad {
display:block
}

.desktop-ad {
display:none;
}
}

I didn't test this. But in theory should work.
porndotnet is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-01-2013, 12:25 PM   #5
Zeiss
Confirmed User
 
Industry Role:
Join Date: May 2012
Location: With your mom
Posts: 5,189
You gotta tell more how you made it, so we can tell you. I am interested in this, too, cause I plan something with responsive themes in the future. I have themes ready.
__________________


Adult Webmasters Guides

Last edited by Zeiss; 09-01-2013 at 12:27 PM..
Zeiss is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.