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)
-   -   Iframe without a double scrollbar (https://gfy.com/showthread.php?t=425317)

Dirty F 02-01-2005 07:25 AM

Iframe without a double scrollbar
 
Code:

<body topmargin="0" leftmargin="0">

<P ALIGN=center><IFRAME SRC="http://www.site.com" width="100%" height="100%"></IFRAME></P>

This iframe stops the scrolling of the original page and puts an extra scrollbar on the right. So there are 2 scrollbars, one working and one that doesnt.

Is there a way to fix this? Just so that the original scrollbar works and a second scrollbar wont show up?

XxXotic 02-01-2005 07:48 AM

add

border="0" frameborder="0" in the same line i-f-rame source

Dirty F 02-01-2005 07:51 AM

Quote:

Originally Posted by XxXotic
add

border="0" frameborder="0" in the same line i-f-rame source

Same thing...double scrollbar :/

XxXotic 02-01-2005 07:51 AM

scratch that, scrolling="no" is what u need, my bad it's still early

XxXotic 02-01-2005 07:52 AM

otherwise, you'll need to set the frames width or height as an actual # or % to remove only one scrollbar. it would need to be as wide or high as the page you're loading inframe

Dirty F 02-01-2005 07:53 AM

Quote:

Originally Posted by XxXotic
scratch that, scrolling="no" is what u need, my bad it's still early

Extra scrollbar dissapears, which is good but now the original scrollbar wont work and it needs to work because its a long page.

Dirty F 02-01-2005 07:53 AM

Quote:

Originally Posted by XxXotic
otherwise, you'll need to set the frames width or height as an actual # or % to remove only one scrollbar. it would need to be as wide or high as the page you're loading inframe

Well that sucks because wouldnt that look different on every monitor with a different size?

XxXotic 02-01-2005 07:54 AM

Quote:

Originally Posted by Franck
Extra scrollbar dissapears, which is good but now the original scrollbar wont work and it needs to work because its a long page.

then set the scroll to "yes" and set the width to a perm size thats wide enough to load what u need, up/down scroll will happen if needed

XxXotic 02-01-2005 07:55 AM

Quote:

Originally Posted by Franck
Well that sucks because wouldnt that look different on every monitor with a different size?

your page is gonna look different with diff size monitors anyway. think of it as a table, a table 200x200 is 200x200 regardless of my resolution

Dirty F 02-01-2005 07:57 AM

Quote:

Originally Posted by XxXotic
your page is gonna look different with diff size monitors anyway. think of it as a table, a table 200x200 is 200x200 regardless of my resolution

Well no, not really...i mean. now it loads 100%, not a fixed width/height. I want it to be 100% no matter what monitor resolution.

XxXotic 02-01-2005 08:00 AM

Quote:

Originally Posted by Franck
Well no, not really...i mean. now it loads 100%, not a fixed width/height. I want it to be 100% no matter what monitor resolution.

then set frame width or height to 99 or 100% :)

u have an example of what yer trying to do? would be easier for me to figure out if i could see what it was you're doin

135887013 if u wanna hit me up

Dirty F 02-01-2005 08:02 AM

Quote:

Originally Posted by XxXotic
then set frame width or height to 99 or 100% :)

But thats what i have now...i lost you :/

psyko514 02-01-2005 08:04 AM

Ok, I'm confused (as XxXotic said, it's early). When you say double scrollbar, do you mean a vertical and horizontal scrollbar within the iframe? Or one horizontal within the iframe and one on the page containing the iframe?

What you can try is scrolling="auto". That way, only the scrollbars required by the surfer's resolution will display.

Dirty F 02-01-2005 08:06 AM

Hitting you up now

Dirty F 02-01-2005 08:12 AM

Quote:

Originally Posted by psyko514
one horizontal within the iframe and one on the page containing the iframe

Yup, that one.

Dirty F 02-01-2005 08:24 AM

Thanks for the help man, awesome!

psyko514 02-01-2005 08:24 AM

edit: nevermind :thumbsup

XxXotic 02-01-2005 08:25 AM

Quote:

Originally Posted by Franck
Thanks for the help man, awesome!

glad I could be of service :thumbsup


All times are GMT -7. The time now is 11:49 PM.

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