TutorialMS Community Forum

Full Version: Got double scrollbars on tutorial_out?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Im not sure if anyone else has this problem but i had double scroll bars when i was viewing a tutorial. Either that or you have a nasty blank area under the frame. Like so:
[Image: problemls7.jpg]
The solution I found that worked was:
Go into admin panel, under Styles click on modify, select your style name, then click on edit templates. Once there select "tutorial_header_frame" from the drop down list.

Now, between your style tags (<style type="text/css"> and </style>) paste the following anywhere in between the open and closing tags.
Code:
body.noscroll {
    overflow:hidden;
}
Then scroll further down until you see the body tag (<body>)
replace:
Code:
<body>
with:
Code:
<body class="noscroll">
Now, scroll all the way down until you see the frame tag (<iframe>)
somewhere within that tag you'll see height="100%" change 100% to 90%

<iframe scrolling="Auto" src="$glob[tutorial_out_link]" height="100%" width="100%" frameborder="0" style="margin:0px;"></iframe>

to

<iframe scrolling="Auto" src="$glob[tutorial_out_link]" height="90%" width="100%" frameborder="0" style="margin:0px;"></iframe>

The reason i changed the iframe height from 100% to 90% is to reduce the amount of frame that goes below the browser (what caused the double scrolling). Anyway you'll see what i mean when you scroll all the way down on a tutorial.

Cheers!
Stealth 8-)
Pixel-Edit.com
I like what you did with your skin but why did you put it all in an iframe?
my whole website? Thats because my host is being silly and the name servers don't work so im temporarily using url forwarding in a frame.
Even now the domain isn't connecting.

arrgg domain issues, Ive never had them with my other domain :evil:
Reference URL's