2
голосов
2ответов
3754 просмотров

WPF ListBox control horizontal scrolling in code

How can I set the horizontal scroll position of a list box in code? I have a list box with a wrap panel in the items template and I want to implement a 'page right' function that behaves like a page down down in a normal list but works sideways. Thanks!

1
голосов
1ответов
1363 просмотров

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 ...

0
голосов
1ответов
565 просмотров

Flex renderer recycling with browser scrollbars?

Is it possible to get flex renderer recycling while using browser scrollbars? I have a flex tree control with custom item renderers for rich editing of a server-side data structure which may have any number of child nodes. If at all possible, I'd like to avoid using a flex scrollbar if the cont...

0
голосов
1ответов
1261 просмотров

Resize background-image to fill the page height-wise, but allow elements on either side

I'm having a lot of issues trying to do this, and I'm now wondering if it's even possible in css. (Maybe I will need to find some other way using PHP, Flash or Javascript!) Basically, I have 3 images. Each are 1920x1200 (x*y) in size. When placed from left-to-right they form an image of a landsc...

1
голосов
1ответов
1290 просмотров

JavaScript: Find vertical pixel position of particular string in textarea

I have an HTML textarea as a basis for a small text editor running inside Chrome, which includes search functionality (as I need search features beyond what the browser offers). For longer texts, this means I need the JavaScript to scroll to the correct position after selecting the found text. Th...

28
голосов
2ответов
89210 просмотров

A DIV that stays at the top while a web page scrolls

How would I have a DIV stay at the top of the page visually as the user scrolls down a web page? A simple Javascript framework would be great! it's for this web site: http://BiblePro.BibleOcean.com

0
голосов
3ответов
1009 просмотров

JQuery scrolling issue when submiting a form

I'm building an ASP.NET website and I'm puzzled with the behavior of one page, I've got a long form and a submit button, I've got the piece of javascript below in the page to handle scrolling the page back up upon submiting the form, the first time I click the submit button it works all the seque...

20
голосов
3ответов
21501 просмотров

Java JList scroll to selected item

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? String[] data = {"one", "two", "three", "four", /* AND A LOT MORE */}; JList dataList = new JList...

1
голосов
2ответов
2399 просмотров

Using Jquery Scroll Follow plugin with Cookie plugin

I'm using the Jquery Scroll Follow plugin to allow a box to follow along as a user scrolls down the website. Scroll Follow allows users to disable or enable the scrolling feature and uses the cookie plugin to remember the users choice across pages. Scroll Follow works great, but the code enabl...

0
голосов
1ответов
409 просмотров

iPhone Implement a list of customized styled text in a scrollview

I need a small FAQ page with Question in bold font and answer in normal. And the list if long enough to span out of iPhone Length so it should be scrollable. I considered implementing a UITextView which gives me scroll functionality automatically. However it does not allow me to custom style the ...

2
голосов
1ответов
752 просмотров

moveFocus is not called

I have a custom object list field with implemented scrolling routine. public int moveFocus(int amount, int status, int time) { invalidate(getSelectedIndex()); int unused = super.moveFocus(amount, status, time); return Math.abs(unused) + 1; } public boolean navigationMovement(int dx, ...

2
голосов
2ответов
1738 просмотров

window.scrollto javascript call to uiwebview misbehaving

i have several uiwebviews with a considerable amount of text. when making a window.scrollto (as well as a window.scroll) javascript call to the webviews, they scroll to an incorrect location. e.g. i want to scroll to 12000 but the webview will scroll to 10149 every time instead. while another one...

3
голосов
2ответов
734 просмотров

middle-button scrolly thing in textbox

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?

0
голосов
3ответов
2929 просмотров

How to get CEdit to scroll properly?

I have a CEdit control that's used to display a diagnostics output. Sometimes the data overflows the screen size, so naturally I set the Vertical Scroll property to true (MFC dialog editor). But then, when I tried to scroll the text that was in the window before isn't cleared and the new text ...

2
голосов
3ответов
3916 просмотров

Avoiding weird automatic scrolling in IE

I'm maintaining a web page and need to fix a very weird behavior under IE. The page has a table that displays a menu for each cell as the mouse moves over. Everything runs fine as long as you have the browser window 800px height at least. If you browse this page with Chrome, Opera or Firefox and ...

10
голосов
2ответов
15950 просмотров

How to scroll div continuously on mousedown event?

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...

7
голосов
3ответов
6079 просмотров

Tableview scrolling bounces back and hides the bottom cells

I have a view that is shown under a navigation controller. The view contains one subview at the top portion and a table view at the bottom. The table might have rows that extend beyond the visible height based on data. When I have rows that are below the last visible row, if I scroll the view up,...

0
голосов
1ответов
675 просмотров

setContentOffset:animated: shows view background

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 proble...

6
голосов
3ответов
11013 просмотров

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 elemen...

0
голосов
1ответов
197 просмотров

html frames sizing parent according to child size

i have 2 frames in my parent frame say 1.htm ie left frame and 2.htm ie right frame now this 1.htm is quite a long frame and has a scrollbar and 2.htm is a short one i dont the scroll bar beside my frame 1 but want it to be for my entire parent window ie i wont to scroll both my left and right fr...

0
голосов
1ответов
1545 просмотров

HTML scroll to bottom on a table

So I have a table set up that has a cutsy little javascript running in it, however it will not auto scroll to the bottom. So my question is, how the heck do I have it automatically do it?

3
голосов
9ответов
1124 просмотров

Very Tricky CSS Scrolling Question

I am not sure how to achieve a certain effect in CSS. I have the following HTML: <div id="container" name="container"> <div id="scroll" name="scroll"></div> </div> The scroller loads with one image inside the scroller which has a width: 715px; [ [1] ] W...

13
голосов
4ответов
24024 просмотров

JQuery Scrolling/Paging Tabs

I am trying to create a simple tab bar for a site that has the ability to scroll for tabs that do not fit on the page. This is quite simple and does not need to have any ajax or dynamically loaded content...it simply displays all the tabs, and when you click one, it takes you to another page. I ...

0
голосов
2ответов
1843 просмотров

jQuery Scrolling box cancel interval on mouseup

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 functions work as planned (moving the box left and right)...

9
голосов
2ответов
6272 просмотров

Scrolling & zooming SVG Viewer on Windows?

We need to view some very large (7200+ pixels) SVGs. Every SVG viewer I've found, including modern web browsers, does not allow us to view the entire image. There aren't any scrollbars, and we do not have the option to zoom. Is an open source / free application available that could help with vi...

6
голосов
4ответов
9973 просмотров

Correct time to call viewDidAppear manually?

I have a UITableViewController in my app, which is added to the view hierarchy directly. After the view appears, I want to scroll to a specific cell. My solution would be to call the code for scrolling in -[viewDidAppear]. According to Apple's docs I have to call the method manually: If the ...

60
голосов
15ответов
50661 просмотров

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 som...

1
голосов
3ответов
10176 просмотров

How to catch a scroll event in a CListCtrl?

I subclassed CListCtrl into my own class, and I use it in several dialogs and views. What I want to do is execute some code when the ClistCtrl is being scrolled vertically. I need this to be in the CListCtrl subclass itself. I can detect the scrolling triggered when interacting with the scrollba...

1
голосов
2ответов
3375 просмотров

Actionscript 3 TextField scrollH property gets set to 0 on click

I am populating a textfield programmatically and scrolling to the maxScrollH as the new text is added so the user can see the progression of text. This works fine, until I click the TextField, which sets scrollH back to 0 and places the caret in the text at the equivalent position. textField.set...

0
голосов
1ответов
154 просмотров

Scroll with no backward with IE

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...