How do I temporarily hide the scroll bars ?

How do I temporarily hide the scroll bars ?

I assume that your post in [[/questions/906990#answer-291125]] ended up in the wrong thread and should have appeared here.
The only thing that changes if you run the code in the Scratchpad is the disappearance and reappearance of the scroll bar in the current tab. You do not see anything in the Scratchpad. So you need to switch back to the browser window.
You can test it with this code, that should make both scroll bars appear:
<pre><nowiki>void(document.body.style.setProperty("overflow","scroll",""));
</nowiki></pre>
[[/questions/906990#answer-291125]]:
<blockquote>In Scratchpad I ran both:
<pre><nowiki>void(document.body.style.setProperty("overflow-x","hidden",""));
and
void(document.body.style.setProperty("overflow-x","hidden",""));
In the 2nd one I got:
17:48:57.826 |x unexpected end of XML source
@ Scratchpad:1'''
For the 1st one I got no activity, only a blinking cursor.
any other ideas ?
Good luck and merry Christmas, Bill
.</blockquote>

Similar Messages

  • How do I temporarily hide the horizontal scroll bar ?

    How do I temporarily hide the horizontal scroll bar ?

    cor-el: I have re-read your posts and have attempted to follow the instructions with these results:
    Firefox>tools>web developer>scratch pad(deleted the instructions so as to have a blank box)>inserted your code, vis. javascript:void(document.body.style.setProperty('overflow-x','hidden',));
    The result was: syntax error
    I then performed the same steps as above but inserted your code: javascript:void(document.body.style.setProperty('overflow-y','hidden','important'));void(document.body.style.setProperty('overflow-x','hidden','important'));
    The result was that after clicking on 'run' nothing at all happened. The cursor just kept blinking.
    I'll bet that there is just some small syntactic error.

  • How can I hide the scroll bar in TextArea?

    How can I hide the scroll bar in TextArea?

    Hi. To remove the horizontal scrollbar you can do this:
    textArea.setWrapText(true);
    To remove the vertical scrollbar you can do this:
    ScrollBar scrollBarv = (ScrollBar)ta.lookup(".scroll-bar:vertical");
    scrollBarv.setDisable(true);  and set the opacity to 0 in the css file:
    //css file
    .text-area .scroll-bar:vertical:disabled {
        -fx-opacity: 0;
    }Here is an example:
    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Node;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.ContextMenu;
    import javafx.scene.control.MenuItem;
    import javafx.scene.control.ScrollBar;
    import javafx.scene.control.TextArea;
    import javafx.scene.input.ContextMenuEvent;
    import javafx.scene.layout.StackPane;
    import javafx.stage.Stage;
    public class TextAreaSample extends Application {
        @Override
        public void start(Stage primaryStage) {
        final TextArea textArea = new TextArea();
            textArea.setWrapText(true);
            StackPane root = new StackPane();
            root.getChildren().add(textArea);
            Scene scene = new Scene(root, 300, 250);
            primaryStage.setScene(scene);
            primaryStage.show();
            scene.getStylesheets().add(getClass().getResource("style.css").toExternalForm());
            ScrollBar scrollBarv = (ScrollBar)textArea.lookup(".scroll-bar:vertical");
            scrollBarv.setDisable(true);
        public static void main(String[] args) {
            launch(args);
    }

  • HT1338 How do you consistently get the scroll bar on the right side of the page

    How do you consistently get the scroll bar on the right side of the page.

    Go into System Preferences, select General and set "Show scroll bars" to "Always".

  • How do I temporarily hide the icons at the bottom of the screen?

    How do I temorarily hide all icons at bottom of screen?

    Open Dock preferences:
    Check the box near the bottom labeled, "Automatically hide and show Dock."

  • How to make the scroll bar in flex automate to focus on the new ui component added in the canvas?

    Hi all ,
    There is a canvas container where am adding charts in separate windows.
    So whenever a new chart is added the scroll bar needs to set the focus on the present chart window.
    For this i made the functionality for the canvas container to scroll whenever a new chart is added using the below code
    canvasContainer.verticalScrollPosition = canvasContainer.maxVerticalScrollPosition;
    But the calculations for the vertical position are not precise...
    Is there anything else I should do to make the scroll happen automatically as the chart windows get added in the container ??
    Any suggestions pls
    Regards,
    Ajantha

    Many many thanks to Frank,
    In the css,use the follwing style settings to hide the scroll bar
    af|carousel::spin-bar{    
    visibility: hidden;
    af|carousel::spin-h-previous-icon-style{
    visibility: hidden;
    af|carousel::spin-h-next-icon-style{
    visibility: hidden;
    af|carousel::spin-info{
    visibility: hidden;
    }

  • Disable / hide ALV scroll bar (Navigation Pane)

    Hello,
    is there a way to disable or hide the scroll bar in an ALV table? in other words I wanna display all
    the data in an ALV table without having to scroll down.
    Thanks,
    Abdul.

    Hi, you can use the table configuration to control this. set_visible_row_count to -1.
    data:
    l_salv_wd_table type ref to iwci_salv_wd_table,
    l_table type ref to cl_salv_wd_config_table.
    l_salv_wd_table = wd_this->wd_cpifc_usage_alv( ).
      l_table = l_salv_wd_table->get_model( ).
      l_table->if_salv_wd_table_settings~set_visible_row_count( -1 ).

  • How can we remove the scroll bars from the table?

    Hi,
    I have a dynamic table. Currently the table appears with the scroll bars. But there is a requirement that the scroll bar should not appear and the table should stretch in the entire page. How can this be achieved.
    Thanks in advance
    Nita

    Thanks Mohammad for the reply.
    Was able to remove the scroll bars by using only the styleClass as AFStretchWidth. But there is a default partition in middle of the page still? Can i remove that too by any way.

  • I would like to know it it's possible to change the scroll bar from the right part of the firefox browser, to the left part and, if it's possible, how can it be done. Thank you!

    The scroll bar (the one used to scroll up and down any kind of website), that is normally in the right part of the firefox browser, would be of much help to me if it could sometimes be moved to the left part of the browser. Is this possible? How can it be done? Can anybody tell me the exact steps to take in order to do this (if it is possible of course)? This would be helpfull to me, since I think that the firefox scroll bar is overlaping the scroll part of the facebook chat sidebar, since I just can see a few people on this facebook chat sidebar and I can´t scroll along it, as I could a while ago. So my guess is that the firefox scroll bar is covering the other. In order to solve it in a simpler way, I guessed that if the firefox scroll bar could be moved to the left side of the browser, this problem could be solved. So, can anybody help me?

    http://kb.mozillazine.org/layout.scrollbar.side
    Type '''about:config''' in Location (address) bar
    filter for '''layout.scrollbar.side'''
    Right-click the Preference and Modify it to '''3'''
    You may need to reload any pages open to have scrollbar move to left after Preference change.

  • How do I get the scroll bars in iCloud Numbers Beta to appear?

    I have been playing around with Numbers iCloud and have a long spreadsheet. The only way I have figured out to make scroll bars appear is to drag on one of the spreadsheet's borders. They appear, then disappear as soon as I get done scrolling. How can I make them stay visible or make them visible in a more elegant way?

    I don't know if you're still working on this, but I finally stumbled onto a solution. I've been having the same problem using iCould Numbers on a PC in Google Chrome. I finally figured out if you 'mouse over' where they're supposed to be, they'll appear. So drag your mouse over near either the edge of that window or where the spreadsheet meets the format panel along the right edge (depends on what you have showing.) The scroll bars will faithfully appear.

  • How can I retrieve the scroll bar in Home applications using OS 10.6.8?  I don't have a general section after clicking on System Preferences.  Thanks.

    I have deleted the scroll bar twice in 4 years and I still don't know how to set it back.  Please help.

    hi Samberl
    thanks a lot for the fast reply.
    I was dragging folders from main folders on the laptop-desktop  onto the external drive icon - to copy them across....
    Your suggestion sounds very promising -  I didn't know about 'cloning'.
    Yes the idea is to backup the laptop -    I thought I would just move it all now, new - and then keep saving/dragging physically   across to the new drive myself each day or two...
    Would this be the sizeof the internal hard drive = c.500 gb  ?   =   under the HD icon on desktop is written  : 
    " 499.76gb , 311.5 gb free  " 
    I can erase and start agin on the new external drive - so this plan is to make two partititions, rather than the one at present, and make one of them 500 gb ?
    I have found CCC [carbon copy cloner] googling - looks good.
    When CCC site says it backs up  the hard drive - would this  mean all my files  [over 100 gb] that are mostly  in folders on the desktop, plus the others in itunes, iphotos etc found in the HD icon,  would all copy across successfully [wherever they are in the computer ]  ?
    thanks again, hope you can clarify these things and then I will go for it. 
    It would be great and amazing if this 'lack of permission' message doesn't show up in the process of doing this ccc transfer - hopeful!
    Julie

  • How do I keep the scroll bar from disappearing in the Mountain Lion update 10.8.5?

    When I got the prompt yesterday that there was an update for Mountain Lion I went ahead and downloaded it, and it is awful!  The scroll bar on the right side of the screen disappears too quickly now to use it easily, and is difficlut to get back, which adds extra steps (clicking on the down arrow while the cursor is in the scroll area then quickly clicking the arrow cursor while it is in the temporary scroll down bar.  Or else this is from a Firefox update I did NOT actually download, but indications when I started up my computer today are that it did download somehow by itself without my permission, as there was a notice that some of my Mozilla ad-ons might not be compatible with this version of Firefox.  I couldn't understand that since it should have been the same version of Firefox I used yesterday!  I know I didn't download the new Firefox because the pop-up box went away very quickly each time it came up so I never did click on it.  Does anyone know if the change in scrolling is a Firefox update or the OSX 10.8.5 update?  I HATE it and want it off, but don't know which one is the culprit nor how Firefox updated itself without my consent.  Aaaarrrggghhh!

    System Preferences > General > Show scroll bars:
    Make sure that "Always" is selected.
    Best.

  • All web pages appear with a blinking cursor like in a "word document". i can't scroll down or up using the buttons of my key board. i have to pull down the scroll bar. something in settings has changed. how to correct it??

    all web pages appear with a blinking cursor like in a "word document". i can't scroll down or up using the buttons of my key board. i have to pull down the scroll bar. something in settings has changed. how to correct it??
    == This happened ==
    Just once or twice
    == 2 days ago.

    See also this article about caret browsing: http://kb.mozillazine.org/Scrolling_with_arrow_keys_no_longer_works
    In Firefox 3.6 and later versions you can disable the F7 shortcut that toggles caret browsing by setting the pref accessibility.browsewithcaret_shortcut.enabled to false.
    To open the ''about:config'' page, type '''about:config''' in the location (address) bar and press the Enter key, just like you type the url of a website to open a website.
    If you see a warning then you can confirm that you want to access that page.

  • How to add the scroll bar in the vertical photo gallery?

    like this, how to add the scroll bar? http://www.flashvault.net/tutorial.asp?ID=288 Thanks,

    I want to know how to add a vertical scroll bar in the photo gallery which I copied from the tutorial. And add the event to catch MouseEvent.CLICK for each photo. Please advise. Thanks,

  • Is there any way to hide or remove the scroll bars when programming?

    I wish the vi which builded by app builder can display a interface without the scroll bars even before it runs. Thank you very much!

    As was answered here, you can only hide the scoll bars when the VI is running. If you need to enter data or set options before running, then you should redesign the application with a "Go" button or a pop-up and not rely on the user to press the run arrow. Putting the controls inside a while loop would be sufficient and should be easy to do. It's that or live with visible scroll bars.

Maybe you are looking for

  • Passing sysdate in milliseconds from OAF page to PL/Sql proc

    Hi All, I have a requirement wherein I need to pass SYSDATE in milliseconds from OAF page to the PL/SQL package. Basically I will be calling a PL/SQL api from AM . So here I need to pass SYSDATE in milliseconds as one of the PL/SQL proc parameters. H

  • Java heap size adminserver

    Hello, i would like to know the java heap memory size for adminserver by default. regards Jean marc

  • Photoshop CS6 does not recognise RAM correctly

    My MBP is contantly crashing after using PS6 fo a while. I installed a little program called "FreeMemory" and it seems that PS is eating away my memory up to the point where it makes my MBP crash. MBP Retina 15", Processor  2,3 GHz Intel Core i7, 8 G

  • Installer could not validate the contents of the "BaseSystem"

    Reference the quite volumnious "Installer could not validate the contents of the 'BaseSystem'". Given the dual-layer DVD inserted in a single-layer SuperDrive fact, I tried installing just the Base System with nothing else and got the same error. On

  • Which application do I download facetime with?

    The first question I am asked when I go to download the Facetime app is this:  choose an application.  Do I use iChat or...