View Full Version : stopable scroll bar
patdan
11-25-2008, 07:16 PM
Hello
I am looking for a script that will allow me to have the scroll bar stop and not scroll further than I choose.
I want to have a person scroll to view the page but only so far . I want to be able to put text on my page after the scroll bar has been stopped and be sure that no one can scroll to vew.
Has anyone seen anything that will accomplish this for me?
Its okay I am not crazy I just have a plan I need this for.
johnny b
11-26-2008, 04:20 PM
I don't know much about script, but you may be able to get the result you need by using frames. i.e. a header and a footer where the scroll is disabled on the footer?
johnny b
Snookerman
11-26-2008, 04:25 PM
Could you tell us your plan? Maybe there is a simpler solution to it.
Schmoopy
11-26-2008, 04:29 PM
I don't see why you'd need this, why not just simply hide the div in the first place, or remove it all together :S
patdan
11-26-2008, 07:07 PM
I want a person to be able to view only information I want to make available to them.
I also want to put some information on a page that is not viewable to the eye. search engines I don't care about.
I just want to be able to add somethings on the page that the general public can not view.
So for example people could scroll say 3/4 of the page and then the scroll bar does not reveal the rest of the page.
I know I could hide it by color but that will not serve my purpose either.
Thanks for thinking about my problem
Thanks for the frame idea but I would rather not use frames.
Snookerman
11-26-2008, 08:50 PM
Don't know about the scroll idea, but you could use css like this:
<div id="hide">Who shot JFK</div>
CSS:
#hide {
visibility:hidden;
}
lanta99
11-26-2008, 10:42 PM
I want a person to be able to view only information I want to make available to them.
I also want to put some information on a page that is not viewable to the eye.
You could remove the scroll bar altogether so that some content would not be accessible.
<body scroll="no">
content for general public
<p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p>
Hidden Content
</body>
However, depending on the screen resolution, the user may or may not be able to view this.
Even if you find a way to disable the scroll bar 3/4 of the way, the "hidden" content would be revealed by a ctrl a, ctrl c, or by simply viewing the source.
Hope this Helps!
______________________________________
science dictionary (http://www.thesciencedictionary.com)
science bucket (http://www.sciencebucket.com)
johnny b
11-27-2008, 11:31 PM
I don't know if this may help or not, but I once altered a js file in a flash presentation, so as to hide unwanted swf content that I could not access.
In that case I increased the contentHeight from 100% to maybe 110%:
var contentWidth = "100%";
var contentHeight = "110%";
Anyway it worked - with no scrollbar - and the bottom 10% did not display.
bokanegro
12-01-2008, 08:26 AM
Hi,
If you wont to hide browser scroller you will need to insert this in your css:
html {
overflow: hidden;
}
it will work for horizontal and vertical. And user can't move mouse up and down if you don't let him.
Snookerman
12-01-2008, 01:02 PM
As I understand, he/she wants to completely hide the content. Your solution does not do that since it's dependent on the screen size of the user. It is also possible to "scroll" by marking and draging the page down.
bokanegro
12-01-2008, 10:16 PM
In my post I wrote this:
If you wont to hide browser scroller you will need to insert this in your css:
And you are right for user resolution and screen size....
It is also possible to "scroll" by marking and draging the page down.
You can only move in opera, not in FF or IE... I use it for smooth archer effect and it help me to hide vertical and horizontal browser scrollers...
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.