FAQ Database Discussion Community


How does this site hide the iframe scrollbar?

html,css,iframe,scrollbar
I'm trying to reproduce how this mobile emulator site renders a page in an iframe without scrollbars. I've tried copying all the CSS for the iframe and .frame-scroller containers, but no luck. I'm viewing on OSX Chrome. Can anybody explain how these guys are doing it, or suggest a CSS-only...

overflow: auto does not work as expected

html,css,scrollbar,overflow
I searched in Google and also on this site before but didn't found any solution for my problem. I have a shoutbox on my page and a teamspeak viewer with a specific height for the outer div. However, the scrollbars look terrible on our new design and I tried to...

Scroll through a tkinter frame or window [duplicate]

python-3.x,scroll,tkinter,scrollbar
This question already has an answer here: Adding a scrollbar to a grid of widgets in Tkinter 1 answer I am creating a window that will be quite long, and I want to have a scrollbar to be able to scroll vertically through the window (it's a settings window)....

Styling chrome scroll bar like facebook chat scroll bar? [closed]

facebook,google-chrome,scrollbar
I tried many ways but they are not good as i want. I want srcoll bar auto hide when inactive, show when scrolling. Can you help me? Thanks!

Tkinter weird scrollbar

python,tkinter,scrollbar
I'm trying to do a little script that has two listboxes with their respective scrollbars. But the scrollbars are acting weird. Consider the following code: from Tkinter import * class App: def __init__(self, master): self.mylist = Listbox(master, height = 30) self.mylist.grid(row = 0, column = 0) for i in range(200):...

FlowLayoutPanel shows horizontal scroll bar with inner panel's width being the same as client size width

c#,resize,scrollbar,flowlayoutpanel
I'm experiencing a problem with FlowLayoutPanel while its children being resized on FlowLayoutPanel's ClientSizeChanged event. I'm trying to make the children resize horizontally when the FlowLayoutPanel resizes. The problem is that even tough the margin of the child is 0 and the padding of FlowLayoutPanel is also 0, after the...

How can I implement a Zoom Panel with Java Swing libraries

java,swing,dictionary,scrollbar,zoom
I've implemented a JFrame with Java Swing libraries to visualize a map. I'd like to realize a zoom function within this frame. This is the code of my JFrame: package components; import java.awt.BorderLayout; import java.awt.Container; import javax.swing.JFrame; import javax.swing.JScrollPane; public class MyFrame extends JFrame { private static final long serialVersionUID...

Python Tkinter Scrollable Frame Class?

python,tkinter,scrollbar,tkinter-canvas
I would like to make a Tkinter class, based on the answer here, which is a Frame that automatically shows/hides Scrollbars around the content as necessary. The answer that I linked to above works perfectly for my needs, with the caveat that because it's not contained within a class, it's...

Where is the viewport “connected to” the scrollbar in JScrollPane?

scrollbar,jscrollpane
I may need to create my own JScrollPane subclass. I've looked at the JScrollPane and ScrollPaneLayout source and believe I understand how it works. However, I can't see where the scrollbar(s) (when present) are "connected to" the viewport. In other words, I was expecting to see the viewport listening to...

ScrollBar Windows Store App

c#,xaml,scrollbar,custom-controls
I'm trying to create my own control. And i'm stuck on adding scroll bars to it. For test purposes i hardcoded the scroll bar values. Here is my class: public sealed class BarrelPanel : Control { public static readonly DependencyProperty VerticalScrollBarVisibilityProperty = DependencyProperty.Register( "VerticalScrollBarVisibility", typeof(Visibility), typeof(BarrelPanel), null); public Visibility VerticalScrollBarVisibility...

Webkit Scrollbar Width Change

css,webkit,scrollbar
I am trying to change the width of the scrollbar through -webkit-scrollbar property but Chrome rejects it saying that it is an unknown property. Any idea why ?

JavaFX - how to synchronize scrollbars of two elements declared in FXML file

java,javafx,scrollbar,bind,fxml
I am developing IDE and I just stucked in the following problem: I want to create TabPane, load into some place in the program (to VBox), then add TAB on use some addFile hanler and BUILD TAB content by code_workspace.fxml file (That all is working for now). But I just...

delphi get actual full height/Width off a component that has scrollbar

delphi,scrollbar,components
this Question is similar to how-to-find-the-actual-width-of-grid-component-with-scrollbar-in-delphi but i couldn't get the CalcDrawInfo(DrawInfo); to work with a StringGrid For example if you add a StringGrid and randomly set the RowCount and ColCount values at FormCreate Can you get the actual size of this component so that if you set the Width...

Firefox and IE9 different handling of scrollbars when overflow:auto

html,css,cross-browser,scrollbar,overflow
Hope you can help me. I am wanting my div with max-height and overflow:auto to render the scrollbars inside the element div { overflow:auto; max-height:700px; } Firefox and Chrome are, as desired, putting the vertical scrollbar inside the overflowing div, however IE9 is putting the scrollbar outside of the div....

Expect an element to have a scroll

testing,selenium,selenium-webdriver,scrollbar,protractor
In one of our internal angular applications, there is a license text box displayed. Since there is a lot of text inside, the license box, represented as a div element, has a scroll. Question: How to test whether an element has a scroll or not in protractor? Here is an...

Kendo UI Grid virtual scroll hiding some records

kendo-ui,scrollbar,kendo-grid
We're using lots and lots of Kendo grids, many of which have virtual scrolling set up with a server-side data source. Sometimes, one of them will hide records beyond the "reach" of the virtual scrollbar. We can see what's going on by using Developer Tools to make the internal scrollbar...

Datagridview Scroll bar going back when content updated with timer every interval

vb.net,winforms,datagridview,timer,scrollbar
I am reading data from textfile to datagridview(which is created on runtime) with comma separated. My text file data is actually a event log of my process contains timestamp and status which is dynamically updating every 3 or 4 seconds. i need to show the data dynamically updating in datagridview....

How can I put a vertical scrollbar in extjs

extjs,scrollbar
I am using extjs to build a portal and I have the following problem. The images are more than the height of the tab (on the right size). What I want is to add a vertical scroll bar on this tab. How can I do this in extjs? This is...

How do I add a vertical scrollbar to a textbox?

vb.net,textbox,scrollbar
Adapted from this question, my answer no longer applies there anymore so I created a new question for it. I am using a theme from the web for my vb.net application and the textbox does not have scrollbars or a scrollbar property. The theme did come with a VScrollBar Control,...

Replace Content Scrollbar with Body Scrollbar

javascript,html,css,replace,scrollbar
I want to know if there is a possibility to replace the scrollbar of a container (exp. <div>) with overflow-y: scroll to the <body> scrollbar. So an example: If I click on a <button>, a modal pops out containing a <div> with height: 300px and an inner content <p> with...

HTML table with scrollbar inside bordered container

html5,css3,scrollbar,html-table
I'm trying to design an HTML table, with a scroll. The design I'm trying to make is a scrollbar inside its own container, which has a border of itself. I've tried lots of examples and didn't come up with a solution. I couldn't change the view of the scrollbar. The...

Add a vertical scrollbar to a wxFrame accross multiple wxPanels

python,wxpython,scrollbar,gnuradio
I want a vertical scrollbar throughout the frame (Top Block). I am able to get vertical scrollbars for the individual panels - Here both the plots are threads plotted by the same class. Here is the code which sets up the top block in gnuradio - class top_block_gui(gr.top_block): def __init__(self,...

How do i make my divs scrollable ONLY when the content is full?

php,html,css,scroll,scrollbar
i am making a group type page thing, and i have a div on the side of my webpage, which gets its members from the database, and so when there is like 5 members showing, i would like no scrollbars on the side but if the box fills up say...

Open a new site, scrollbar at the bottom

javascript,html,ajax,scrollbar
I will at my forum-system when I'm opening a new site that the scrollbar is at the bottom of the site, so that I don't have to scroll down. I have no ideas how to make a code for this, because I'm not the pro in JavaScript..

Add Scrollbar in AutoCompleteExtender in ASP.NET 4.5

c#,asp.net,.net,scrollbar,autocompleteextender
now I have a question for adding scrollbar in autoCompleteExtender in ASP.NET 4.5. I want to develop textbox with autocomplete System added scrollbar. But, as following code, I can't make scrollbar added autocomplete system my code is following aspx&cs file <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AutoCompletEextender.aspx.cs" Inherits="AutoCompleteTest6.AutoCompletEextender" %> <!DOCTYPE html> <html...

Tcl/Tk: horizontal xscrollbar can not shrink as y scollbar

scrollbar,tcl,tk
In the following example code: proc push_button {} { set name [.ent get] .txt insert end "Hello, $name." } frame .frm -relief groove label .lab -text "Enter name:" entry .ent button .but -text "Push Me" -command "push_button" frame .textarea text .txt -width 20 -height 10 \ -yscrollcommand ".srl_y set" -xscrollcommand...

JFrame Scroll bar and Canvas

java,canvas,jframe,scrollbar
I'm having trouble trying to add a horizontal scroll bar to a JFrame that has a canvas. I draw an images onto the canvas and sometimes these images over-run the screen so I want a scroll bar to enable the user to see them. Here is the key section in...

How do I add standard scroll bars to a SurfaceView?

android,scroll,scrollbar,surfaceview
I got a SurfaceView, in which I display a bitmap that is much larger than the actual area of the SurfaceView, so I have implemented a way for the user to slide their finger on the bitmap and move it up and down. When doing so, I would like to...

How to fix Auto Vertical Scrollbar space in ItemsControl

wpf,xaml,listview,scroll,scrollbar
Very simple scenario But I have wasted lots of time, so I am asking here. I have a wpf application. A listview is there with vertical scrollbar visibility to Auto and horizontal scrollbar visibility disabled. Now when I start adding item in it, like there is 2 items and no...

GXT ToolBar is scrolled

gwt,scrollbar,toolbar,ext-gwt,treepanel
I'm developing a simple GXT widget - it's a TreePanel with a ToolBar added using setTopComponent. The problem is that as soon as the tree is large enough so that it can be scrolled, the scroll-bar doesn't scroll the tree only, but scrolls the ToolBar as well. What should be...

Python Tkinter Scrollbar Shaky Scrolling

python,canvas,tkinter,resize,scrollbar
Introduction: My Python Tkinter application is designed to have a scrollbar on the side so that if the window is resized, the application can still be viewed via the scrollbar. I do this by putting a frame with all my content inside a canvas, with a scrollbar controlling the canvas....

Div to follow scrollbar proportionally on a page

javascript,jquery,css,scrollbar,sticky
I'm now struggling on a sticky element that should scroll proportionally on a page. From top to the footer despite the page's height. So it's actually stick to the top of the scrollbar in the beginning and then to the bottom at the end. Or it just follows the scroll...

Enable scrollbar for a fixed positionated container

css,scroll,scrollbar,fixed
I have a fixed positionated sidebar which contains some links: <nav id="fixedNav"> <div class="anchors"> <ul> <li><a href="#">test 1</a></li> <li><a href="#">test 2</a></li> <li><a href="#">test 3</a></li> <li><a href="#">test 4</a></li> <li><a href="#">test 5</a></li> <li><a href="#">test 6</a></li> <li><a href="#">test 7</a></li> <li><a...

jqGrid - vertical scrollbar not showing

jquery,jqgrid,scrollbar
I'm working on jquery jqgrid plugin. In this grid, I have 1,000,000 records with scroll: 1 option. and also I have rowNum: 10 option in my grid. But just first 10 row displayed in the grid and vertical scroll bar is missing. in the caption, I have "display 1-10 from...

CListCtrl: single column without column headings?

list,view,report,scrollbar,clistctrl
If I set View = Report, then you get a single column and a vertical scrollbar (what I want). However you also get an area at the top reserved for column headings even if you don't have column headings (not what I want). If I set View = List, then...

Undesirable scrollbar when sliding mobile menu is displayed

css,scrollbar
When viewport width goes below 1068px, my page (login = "mmt" | pass = "mmt_nv2014") hides top menu and enables a mobile menu triggred by hamburger icon top left. When mobile menu appears the whole page goes right to make room for it. Problem: this creates an horizontal scrollbar. Question:...

Ttk scrollbar's thumb won't resize

tkinter,scrollbar,tk,ttk
It seems that ttk's scrollbar's thumb automatically fills up the whole trough when elements can fit within the view-able area.. Even after I add more elements such that the treeview extends past the view-able area, the scrollbar's thumb still doesn't resize. I've tried updating tk itself but it doesn't seem...

scroll issue of scrollable dynamic content in fixed container

html,css,scrollbar
I have a fixed container in which I placed a list (ul) with dynamic number of items. at the top of the container there's a title. It seems that the presence of the title messes the list scroll. i.e. one cannot scroll to the last item on the list, since...

Chrome scrollbars always visible now

osx,google-chrome,scrollbar,scrollbars
I might be late to the party, but did chrome just change their browser (Version 42.0.2311.90 (64-bit)) on Mac (OS 10.10.3) now to default to visible scrollbars? The scrollbars were not there previously.

jquery scrollbar plugin conflicts with jquery pagination plugin

javascript,jquery,jquery-plugins,pagination,scrollbar
first time asking a question here, so thank you in advance and please excuse me if I violate any rules. I'm trying to use this jquery pagination plugin from this site: http://www.script-tutorials.com/how-to-create-easy-pagination-with-jquery/ and some how it's just not working with the jquery scrollbar plugin I'm using, which is from here:...

Android Custom Scrollbar and fastScrollEnabled

android,xml,scrollbar,xml-drawable,custom-scrolling
I just want a custom scrollbar in my Listview with fastScrollEnabled but this doesn´t work! With fastScroll enabled, the custom scrollbar is not visible when scrolling normal and when scrolling fast, it's the default scrollbar. Without fastScrollEnabled is does work like it should be. res\values\Styles.xlm: <resources> <style name="AppTheme" parent="Theme.AppCompat.Light"> <item...

How to make the horizontal scrollbar visible in DT::datatable

r,datatables,scrollbar,shiny,horizontal-scrolling
Using R shiny & DT package, I am creating certain tables. The number of columns vary as per user input & is not fixed. I have included the following code snippet to include a horizontal scrollbar so that when the number of columns is large, the user can scroll through...

Custom horizontal scrollbar logic

jquery,scrollbar,tweenlite,tweenmax
I made a custom div scroller based on TweenMax easings and jQuery mousewheel events. The scroll works like a charm but I need to move the scrollbar handler to show the scroll progress. I made some tests based on calcs of parent width, scrollLeft and total div width, but didn't...

Set large value to div's height

javascript,html,browser,scroll,scrollbar
I have a problem with height limitation of <div></div> in some web browsers, like Firefox. I have javascript code like this: $('#MyDiv').css("height","20000000px"); // 20,000,000 pixel height But I see height: 2e+7px; rule in the firebug. This problem exist in IE too, But in google chrome everything is ok and I...

RichTextBox scroll to end not working when not visible

wpf,wpf-controls,scrollbar,richtextbox,vertical-scrolling
I have a WPF RichTextBox in my application that sits in Grid. It gets updated every second or two as it displays logs (though sometimes there are no logs for up to a minute depending on the load). The grid is not always visible, as it sits in its own...

Prevent adding class without browser scroll

javascript,jquery,scroll,scrollbar
This js add class only while Scroll Up the browser page. But problem is after Scroll Up browser to top of the page .darkHeader class are not remove, means i want to remove this class after page Scroll Up to top. JS lastScroll = 0; $(window).on('scroll',function() { var scroll =...

Horizontal scrollbar not working asp.net

html,css,scrollbar
The css for my scrollbar is as below: ::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); border-radius: 4px; background-color: transparent; } ::-webkit-scrollbar { width: 5px; background-color: #F5F5F5; } ::-webkit-scrollbar-thumb { border-radius: 10px; -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3); background-color: #555; } The changes are properly reflected in the vertical scrollbar...

Is there a way to detect reflows instantly in Angular, without using $timeout?

html,angularjs,canvas,scrollbar,reflow
I'm working on a site with a scrollable list of canvases for plotting data, and I need to resize the canvases whenever the width of the div they're in changes. I have it working in most cases, but if I delete a plot such that the scroll bar goes away,...

Enabling horizontal scroll on Table using Jquery Template

javascript,jquery,html,table,scrollbar
I'd like to enable horizontal scroll on my table using Jquery Template. The table structure (HTML) is : <div class="col-sm-12"> <div class="shadow-wrapper"> <div class="tag-box tag-box-v1 box-shadow shadow-effect-2 km-table-container"> <script id="tblScriptMember" type="text/x-jquery-tmpl"> <tr class="pointer"> <td>${MemberCode}</td> <td>${MemberName}</td> <td>${MemberCardNo}</td> <td class="text-center">{{if MemberType == 'A'}} <input type="checkbox"...

how to add scrollbar in div

html,css,scrollbar
I want to add a scrollbar to div id="kryesore" in mainpage,when i try it doesnt work.Can you tell me what can i do and how can i fix it? below 2 screenshot how it look like : l...

How to stack Charts with amchart?

graph,stack,scrollbar,amcharts
is it possible to stack 2 or more graphs in one chart? with the same Scrollbar / Chartcursor? I tried it with the live editor, but havn't found any option to make this possible. Here som pictures for explaination: At the moment i have this graph: http://imgur.com/XpU42xK But i want...

Stick vertical scrollbar to bottom only when dragged to bottom

c#,wpf,scrollbar,scrollviewer
tI've got a Textbox inside a Scrollviewer: <ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto"> <TextBox IsReadOnly="True" TextWrapping="Wrap" Text="{Binding Messages, Converter={StaticResource TimedStringListToStringConverter}, UpdateSourceTrigger=PropertyChanged}"/> </ScrollViewer> I want to set the vertical scrollbar to bottom only when i manually drag it to the bottom, otherwise it mustn't move from its position. Ideas?...

how to attatch scrollbar to dropdown list in tkinter?

python,tkinter,scrollbar,optionmenu
from Tkinter import * master = Tk() variable = StringVar(master) variable.set("one") # default value w = OptionMenu(master, variable, "Carrier 19EX 4667kW/6.16COP/Vanes", "Carrier 19EX 4997kW/6.40COP/Vanes", "Carrier 19EX 5148kW/6.34COP/Vanes", "Carrier 19EX 5208kW/6.88COP/Vanes", "Carrier 19FA 5651kW/5.50COP/Vanes", "Carrier 19XL 1674kW/7.89COP/Vanes", "Carrier 19XL 1779kW/6.18COP/Vanes", "Carrier 19XL 1797kW/5.69COP/Vanes", "Carrier 19XL 1871kW/6.49COP/Vanes", "Carrier 19XL 2057kW/6.05COP/Vanes", "Carrier 19XR...

scroll bar tkinter not scrolling

python,tkinter,scrollbar,tkinter-canvas
#declare gui object and classes app = Tk() #creates instance of Tk() app.title('Check sort DCA') # sets title of gui #--------------------------------------- def keepSuggested(): #button press actions es.JournalOut('test2') def UseNew(): es.JournalOut('test1') #------------------------------ frame=Frame(app,width=500,height=500) frame.grid(row=0,column=0) canvas=Canvas(frame,bg='#FFFFFF',width=500,height=500,scrollregion=(0,0,500,500)) hbar=Scrollbar(frame,orient=HORIZONTAL) hbar.pack(side=BOTTOM,fill=X)...

CSS Overflow scroll only appears when needed [duplicate]

css,scrollbar
This question already has an answer here: CSS hide scroll bar if not needed 1 answer Hey I have just added the following code to one of my span: overflow-y : scroll; height: 200px; This is kind of working fine. The only issue is that the scroll bar does...

how to avoid horizontal scroll caused by absolute positioned div

html,css,position,scrollbar
I am using animate.css to add some animations to a wesite. Some animations like "fadeInLeft/Right" or "bounceInLeft/Right" make the horizonatl scroll to appear. This has easy fix, adding overflow-x:hidden to the parents. But now I have an absolute positioned button, placed to be in the middle of two parents divs....

Using overflow-y with height auto in css

css,scrollbar
I do have a div where I want a scrollbar (overflow-y: auto; height: 300px;) to appear if the text inside it is to big. However, my div already contains the property height:auto; (for some vertical alignment sake). Is there anyway I can keep height:auto and still having the scrollbar appearing...

C# Winforms event for both scrollbar buttons?

c#,winforms,events,widget,scrollbar
Is there an event for each of the two buttons in the vertical scrollbar widget? I'm using Winforms in C#....

OS X WebView scrollbar redrawing/flickering/flashing issue

osx,cocoa,webkit,scrollbar
I'm having an issue with scrollbar of an WebView on OS X Yosemite. The WebView is setup in a XIB file, kept default settings. And then load the content with: [self.webView.mainFrame loadHTMLString:html baseURL:nil]; But when scrolling I see redrawing/flickering/flashing issue of the scrollbar: example video. (This happens with all kind...

Use mobile scrollbar in Polymer

scrollbar,polymer,desktop
I am working in a demo using Polymer and when I access the app using the browser (Google Chrome for Desktop) the scrollbar are very ugly. I was searching for a alternative scrollbar and found a good example using only CSS: http://stackoverflow.com/a/22907848 How can I use this CSS inside my...

Removing scrollbar from horizontal navigation with a dropdown menu

html,css,drop-down-menu,scrollbar
I have my horizontal navigation, and one of the links has a dropdown menu. I'm having trouble removing my the vertical scrollbar from my horizontal navigation. Because of this, you have to scroll down to see the dropdown. If I remove the scrollbar, you cannot see the dropdown menu. I've...