scroll

css - Displaying images with horizontal scroll bar

Hi, I'm trying to display a number of images horizontally inside of a fixed-width div. I would like to use a horizontal scroll bar to display the images which do not fit inside the div. However, the images are displaying vertically, rather than horizontally. Is there a way to force them to display side-by-side? div#event { width: 15...

Need a way to return scroll window position after page refresh

I am writing a game in PHP/Zend Framework and Facebook JavaScript. The gameboard is displayed in a scrolling window. To view the entire gameboard, the user must scroll around. Each step of the game causes a page refresh, so when the user moves on to another step, their scroll postion is lost and the window is returned to it's default pos...

add a hash with javascript to url without scrolling page?

add a hash to url without scrolling page? with javascript i open page i scroll down i click link that adds a hash (maybe with a value #test) (example: http://www.example.com/#test) the page MUST not scroll back to the top. how can this be done? note: just checking if it's possible to disable the movement even if there is some tag wi...

jquery vertical scroll

Now, I'm trying to create a vertical scroll. http://www.chohoh.com/pcs/test.scroll.html I have quite a few things nested which needs to remain like that but I think I'm unclear on how to tell the jquery file that it needs to scroll between two li classes "white-tikt" and "tan-tikt". I'm completely baffled why this isn't working. Even i...

jquery scrollto

I'm trying to figure out how to get this to scroll vertically. I have everything in place.. it's the exact same script has the one that scrolls horizontally. I feel like there is something in the jquery code i need but I can't seem to find a good explanation of it. here's my link I'm working on. http://www.chohoh.com/pcs/scroll.html ...

Scroll with no backward with IE

Hi, I am using the Mootools Fx.Scroll effect to navigate horizontally through my website sections. Everything is working properly with Firefox, but Internet Explorer gives me some trouble. First the section were a big mess, but after adding one line in the Mootools core file thanks to a lighthouseapp.com patch, the sections are now well...

prevent Scroll "bubbling" from element to window

I have a modal box window (pop-up) that contains an iframe, and inside that iframe there's a div that is scrollable. When I scroll the iframe's inner DIV, and it has reached its top or bottom limit, the window of the browser itself starts to scroll. this is an unwanted behavior. I've tried something like this, which kills the main win...

Make Vertical Scrollbar in DataGridView not Snap to Cell Top

So, I have a DataGridView that has multi-line data. I set the default cell style to have wrap turned on for cells so that the multi-line data is displayed rather than it all being on one line. However, when the data is larger than the DataGridView height the vertical scroll doesn't really work well. It snaps to the top of the cells su...

jQuery Scrolling box cancel interval on mouseup help

Sorry that i don't have an example. However i'm creating a scrolling box (scrolls left and right) I have bind mouseDown functions to 2 images (these are used to scroll the box). the functions are "scrollLeft()" and "scrollRight()". These funtions work as planned (moving the box left and right). However i have a problem with the mouseUp...

Fading Element on Scroll

I'm curious how I can create a DIV (or anything really) that I can fade (or change opacity of) when a user scrolls down the page. This DIV would sit at the top of the page, but only be clearly visible when at the very top of the page. Additionally, it would be ideal if I I could have this element fade back in onmouseover, regardless of ...

jQuery How do you scroll the droppable / sortable element from a draggable?

I have a simple setup, a div with a list of items and a second div to add those items to. The second div is sortable, and css is set to overflow: scroll. When arranging the items in the sortable div, it scrolls as expected. When adding a new item to the sortable, it does not scroll. I want the same scrolling behavior, no matter where...

setContentOffset:animated: shows view background

Hi, I have a UIScrollView with with different view controllers for each page inside it. When I use setContentOffset:animated: to scroll to a different page I can see a white line between the pages. This white line doesn't appear when I scroll by dragging the UIScrollView. Has anyone seen this problem before? Any idea of what I might be...

How to scroll div continuously on mousedown event?

Hi, I have two divs and two buttons: <div id="container"> <div id="items"></div> </div> <div id="up"></div> <div id="down"></div> How to continuously scroll '#items' until user releases the button? I tried using jquery mousedown event and animate function but couldn't make it to work. $("#up").mousedown(function(){ $("#items").an...

middle-button scrolly thing in textbox

hi all, i have a multiline textbox in my app and when i middle-click to scroll up or down, it doesn't work. It works in Notepad, but not in my textbox. Does anybody know why? or, if it is possible to programatically begin scrolling in the desired direction when the middle-button's clicked? ...

Jquery Autocomplete scroll bar not coming in IE

hi, i am using latest version of jquery autocompletion plugin. and have populated an array(input for autocomplete) abt 800 entries. now strangely when i type a letter which triggers large results(causing a scroll bar), i can see a scrollbar in mozilla but not in Internet explorer. i have only included jquery.autocomplete.css ...

Java JList scroll to selected item

Hi, I have a jlist with a lot of items in it, of which one is selected. I would like to scroll to the selected item in this jlist, so the user can quickly see which item is selected. How can I do this? thanks! String[] data = {"one", "two", "three", "four", /* AND A LOT MORE */}; JList dataList = new JList(data); JScrollPane scrollPa...

Prevent scrolling to content in jQuery tabs

I'm working on a page that uses jQuery tabs. It's pretty much completed, but I've run into one minor annoyance. If the content of the tab is longer than the available window height, it automatically scrolls down to the start of the content. This makes sense, since behind the screens it's just an tag pointing to the id of the content. Ho...

How can I scroll to a specific location on the page using jquery?

Is it possible to scroll to a specific location on the page using jQuery? Does the location I want to scroll to have to have: <a name="#123">here</a> Or can it just move to a specific DOM id? ...

c#: How do I determine if the ScrollBar for a Scrollable control is currently displayed?

Title says it all...is there a way for me to check if the Scrollbar for a control is currently displayed or not? I want to use it so I can determine how to size the children of the Scrollable control, which is somewhat dependent on whether or not the ScrollBar is displayed (the Scrollable control can be dynamically resized). ...

ASP.NET - Scrollable Panel and Placing ListView in that

Hi, We are building an ASP.NET page and in that we need place a Scrollable Panel containing a ListView. The ListView in-turn will hold different records, which are retrieved from Database. Could anyone please refer a code sample for this? Thanks and Regards. ...