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
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-10-2015, 08:03 AM   #1
suesheboy
Confirmed User
 
suesheboy's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: FL - TN/NC
Posts: 5,211
Simple I-frame scrolling problem I have not licked.

I am working on a new way to keep some sponsors honest and have more control by I-framing sites in domains I am sitting on.

The issue I have is I have multiple scroll bars and remove one or both won’t let the whole site be seen. Some sites are worse than others. Code I am using is real simple and one of these sites can be seen at: Real Sex Glass Toys: Glass Adult Products (I know the sponsors site looks like shit)

I spent hours on this problem and the answer must be real simple and right in front of my face.

The I-frame also allows social media sharing and a really cool live chat feature which works like a champ and starts at $15 a month. Highly recommend as it has improved sales and retention in adult and mainstream. When you are not logged on to chat it turns it into an email.
suesheboy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-10-2015, 08:10 AM   #2
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 24,820
iframe {
overflow: hidden;
}

In your CSS should work...
EddyTheDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-10-2015, 08:31 AM   #3
suesheboy
Confirmed User
 
suesheboy's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: FL - TN/NC
Posts: 5,211
Long pages like this one still have 2 bars: Real Sex Glass Toys: All Glass Sex Toys
suesheboy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-10-2015, 08:37 AM   #4
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 24,820
Quote:
Originally Posted by suesheboy View Post
Long pages like this one still have 2 bars: Real Sex Glass Toys: All Glass Sex Toys
I am not great on this stuff - However, setting height to 100% makes sense...
EddyTheDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-10-2015, 08:38 AM   #5
RazorSharpe
Confirmed User
 
RazorSharpe's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Scotland
Posts: 2,238
Quote:
Originally Posted by suesheboy View Post
Long pages like this one still have 2 bars: Real Sex Glass Toys: All Glass Sex Toys
Smart iframe, auto adjusting height ? Tech Forum
__________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
RazorSharpe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-10-2015, 08:45 AM   #6
suesheboy
Confirmed User
 
suesheboy's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: FL - TN/NC
Posts: 5,211
Quote:
Originally Posted by RazorSharpe View Post

"Important! This 'smart iframe' will not work if you're pulling content in from something that isn't within the same hosting as the page requesting the data."

Man it looked good though!
suesheboy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-10-2015, 08:49 AM   #7
suesheboy
Confirmed User
 
suesheboy's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: FL - TN/NC
Posts: 5,211
Quote:
Originally Posted by EddyTheDog View Post
I am not great on this stuff - However, setting height to 100% makes sense...
Sure does but it doesn't work - have the long page set that way now. Shows only a 150px long frame.

Like I said I have been banging my head against the wall.
suesheboy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-10-2015, 09:07 AM   #8
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,224
If the iframe
{
overflowdden;
}
mentioned by ETD doesn't work, it's probably because the overflow happens in the iFrame, which can't be edited because of XSS.

Try putting it in a div:
<div id="whatever" seamless="seamless" scrolling="no" style="width:100%; height: 100%;">IFRAME</div>
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-10-2015, 09:16 AM   #9
RazorSharpe
Confirmed User
 
RazorSharpe's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Scotland
Posts: 2,238
Quote:
Originally Posted by Colmike7 View Post
If the iframe
{
overflowdden;
}
mentioned by ETD doesn't work, it's probably because the overflow happens in the iFrame, which can't be edited because of XSS.

Try putting it in a div:
<div id="whatever" seamless="seamless" scrolling="no" style="width:100%; height: 100%;">IFRAME</div>
the seamless attribute won't work in all browsers. In fact, I think it currently only works on Chrome. Using it was my first thought ...
__________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
RazorSharpe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-10-2015, 09:17 AM   #10
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,224
Quote:
Originally Posted by RazorSharpe View Post
the seamless attribute won't work in all browsers. In fact, I think it currently only works on Chrome. Using it was my first thought ...
Aw :/ What about non-seamless but still edit the height in the div?
Edit: nvm, I'll keep thinking..

Or clone the part you want from their site on your server, then iFrame that so that you can change attributes without being XSS anymore..
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-10-2015, 09:31 AM   #11
suesheboy
Confirmed User
 
suesheboy's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: FL - TN/NC
Posts: 5,211
Quote:
Originally Posted by Colmike7 View Post
Aw :/ What about non-seamless but still edit the height in the div?
Edit: nvm, I'll keep thinking..

Or clone the part you want from their site on your server, then iFrame that so that you can change attributes without being XSS anymore..
Good attempt.

Didn't mention I am a stickler for HTML complainant and cross browser capable.

I swear I lost an entire day on this.

The idea of cloning including processing, databases etc won't go over too well I am sure!

Once this is working you can see what a huge advance it would be to any affiliate.
suesheboy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-10-2015, 04:46 PM   #12
suesheboy
Confirmed User
 
suesheboy's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: FL - TN/NC
Posts: 5,211
Last bump for new eyes to see...

Anyone else see what we are missing?
suesheboy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-10-2015, 05:07 PM   #13
daddy_fu
Registered User
 
daddy_fu's Avatar
 
Industry Role:
Join Date: Aug 2015
Location: NYC
Posts: 15
I'm not 100% sure what you're trying to do, but it you want the iframe to be essentially hidden. So the visitor to the site doesn't see the iframe. There are a couple css changes you need to make.

html, body {
height: 100%;
overflow: hidden;
}

iframe {
height: 100%;
}

Be sure to get rid of this:

iframe {
height: 100em;
}

The trick with getting an iframe to completely fill the page and look natural, is setting the html, body height to 100%.
daddy_fu 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

Tags
simple, sites, chat, i-frame, sponsors, real, site, feature, live, social, media, sharing, cool, http://www.sharethis.com, found, starts, mainstream, adult, email, retention, logged, sales, program, highly, month



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.