GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   help with Iframes height setting (https://gfy.com/showthread.php?t=684873)

spacedog 12-08-2006 06:18 AM

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.

DjSap 12-08-2006 08:34 AM

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.

aico 12-08-2006 09:12 AM

what happens if you just leave the height tag out?

spacedog 12-08-2006 09:18 AM

Quote:

Originally Posted by aico (Post 11487557)
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


All times are GMT -7. The time now is 11:37 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123