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 12-08-2006, 06:18 AM   #1
spacedog
Yes that IS me. Bitch.
 
Industry Role:
Join Date: Nov 2001
Posts: 14,149
help with Iframes height setting

I'm trying to Iframe a plugin since php include won't work because of the anti-hotlinking of the plugin..

anyway.. instead of setting the height attribute to a numerical pixel value, is there a way I can code it so that iframe autosizes to size of page being iframed? I'm only concerned with the height. I tried height="100%", but this does not work.
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-08-2006, 08:34 AM   #2
DjSap
Confirmed User
 
Join Date: Jul 2002
Posts: 3,869
The only way I am aware of requires you to add code to the page being iframed, other than that there doesn't seem to be a way to autosize an iframe.
__________________
Blog Themes, TGP Design, Writing Services, Grunt Work
ICQ: 66871495
DjSap is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-08-2006, 09:12 AM   #3
aico
Moo Moo Cow
 
Join Date: Mar 2004
Location: Washington State
Posts: 14,748
what happens if you just leave the height tag out?
aico is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-08-2006, 09:18 AM   #4
spacedog
Yes that IS me. Bitch.
 
Industry Role:
Join Date: Nov 2001
Posts: 14,149
Quote:
Originally Posted by aico View Post
what happens if you just leave the height tag out?
It has to have height tag unless one wants a scrollable frame, but I set scrolling=no.. no point of having it scrollable


I'm just going to have to set height tag for fixed size

Last edited by spacedog; 12-08-2006 at 09:19 AM..
spacedog 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.