scroll

Trouble using GWT ScrollPanel

Hello all. I'm trying to show a large image inside of a ScrollPanel. The ScrollPanel is one of the tabs of a TabPanel. All this is inside of a VerticalSplitPanel. I expected to have the ScrollPanel doing the scrolling but instead is the VerticalSplitPanel that has the scrollbars. Can anybody help me achieve the desired behavior. Than...

IE6 scroll event not working inside Iframe

So here is our scenario... We have a old website and from that website,on click of a button, we launch our newly developed application from within an IFrame. Now In IE6 , I am trying to catch the scroll event (ie catch the scroll of the browser). However,it dosent either the event isnt getting fired or i am not tapping into the right obj...

HTML anchor link with no scroll or jump

I have various links which all have unique id's that are "pseudo-anchors." I want them to affect the url hash value and the click magic is all handled by some mootools code. However, when I click on the links they scroll to themselves (or to the top in one case). I don't want to scroll anywhere, but also need my javascript to execute and...

How to force VIM/GVIM show last buffer line at the bottom (instead of top)?

If using mouse wheel (or scrollbar) to scroll to the bottom of current buffer, then VIM allows to "scroll bellow" the bottom of the file. So that the last line appears at the top of current buffer. This brings much pain for me as for VIM newbie used to deal with other editors (especially MS VS). Is there any way to disable "scrolling ...

Flex scrolling the canvas to its top

Is there a way to programmatically scroll the canvas to its topmost position? ...

jquery validation plug-in and scrolling

I'm using the jquery validation plug-in. When there are invalid fields, it focuses on the first invalid field. However, my labels are on top of my fields and I want to scroll up just a bit so the user can see both the label and the field. I've looked at the scrollTo plug-in, but haven't figured out an easy way to integrate it. Maybe some...

Adding Slide-to-Anchor to Hide effect

In jQuery: I'd like to create an link to on click shows a hidden div (got that working by now) but also slides to it with a smooth-scroll effect. How do I combine the two? Thanks so much. ...

How to prevent a jquery Ajax call from scrolling a form with an input to the top of browser window

First, I'm not totally sure what is causing this behavior. JQuery, Ajax, default browser behavior (happens in IE, FF & Chrome). But, I have a tab control with 5 tabs on a web page. Each tab is loaded via a jquery ajax call. Four of the tabs load without any issue. The fifth tab, the only one that contains a textbox input control scrol...

Scrolling Dialog in MFC on Win CE / Windows Mobile

Hi, I'm building a dialog based Windows Mobile application. My main container dialog has a tab control which alternates between different child dialogs (as separate tab sheets). As I have limited display real-estate I need my dialogs to scroll vertically. Following some online example, I added a vertical scroll bar, and the appropriate...

Intuitive scroll for embedded browser in WPF

Hi, I am working on a project built in WPF, which includes an embedded WebBrowser. The Browser that comes with WPF did not meet our needs, so we are using a WinForms WebBrowser in a WindowsFormsHost element. This all works fine, except the application is to be used on a touch screen, and the users are having a hard time using the tiny ...

jQuery Accordion: divs with scrollbars not sliding nicely

I am using the following code to get an accordion happening: $(".accordion h2").eq(2).addClass("active"); $(".accordion-content").eq(2).show(); $(".accordion h2").click(function(){ $(this).next(".accordion-content").slideToggle("slow") .siblings("div:visible").slideUp("slow"); $(this).toggleClass("active"); $(this).sibli...

browser issue for scrolling 50px from top

i need to scroll specific text(say Tooltip1 ) on some event,it has name=tooltip_1. i dont want to scroll it all the way to top but 50 px from top(for better view). the code below work very fine for safari but is not working for Mozilla and IE. $("body").animate({scrollTop: $("a[name=tooltip_"+posid_num+"]").offset().top-50},1000); ple...

Facebook-like anchor scroll

Facebook has a nice scroll effect which I would like to replicate with jQuery. When you load a page it starts at the top then scrolls to the selected anchor. I've tried doing this (page.html#anchor) and using the scrolling plugin for jQuery however it just goes straight to that anchor without using the scroll effect. So can I delay the...

SwingBuilder: scrollPane

Hi, What's the proper way to set up a scroll pane using groovy's SwingBuilder? I'm using griffon and I'm having a hard time adding and removing components dynamically... Here's a snippet I've tried within SwingPad. It works ok, but the remove only take immediate effect if my scroll pane has scrollbars. If not, it takes 4-5 secs. Here'...

How to get a correct visible rect during a validateTree?

First to describe the problem: During a re-layout due to a change in width or height, Java's ScrollPaneLayout requests the preferredSize of it's children BEFORE setting the bounds of it's viewport. On Text-Components calling getPreferredSpan can change the layout since this getPreferredSpan calls setSize internally. The effect is, that n...

Refresh UITextView's Scroll Position on iPhone

I'd like to do some type of refresh of a UITextView to set the textview back to it's original state. I have a paragraph that gets dynamically populated depending on which TableViewCell the user clicks on. So when they scroll the text field, then go back and select another cell and return, the text changes, but the scroll position remains...

jQuery drag n' drop won't let me drag outside of a scrollable div?

ok i've got a table with drag and drop classes in a div that has it's overflow set to "auto", this allows me to hide part of a schedule and only puts a scroll bar on the bottom. however, i just created some droppable elements outside of the scrollable div and my draggable elements can't leave the scrollable div. any ideas? ...

Got a scrollable div, draggables still get dropped on hidden elements?

ok i've got a scrollable div, but when i drag my draggable outside of that overflowed div and try and drop it on a different drop zone. it gets dropped onto the hidden elements underneath the drop zone i want it to get applied to. is there any to give the drop that i can see "priority" ? ...

Scroll panel based on mouse position in vb .net

I'm trying to make an autoscroll enabled panel that will scroll if the mouseposition.x > panel.location.y However, I cannot seem to find a panel.scroll() function. Is there a way to programable make the control scroll? Thanks ...

Creating a Scroll Follow function but need to prevent it from overlapping the Footer Div

I've created a function that changes the 'position' of a DIV to 'fixed' after a certain point of scroll. The purpose is to keep it visible on the screen while page is scrolled. Works great (although not in IE6). Problem is that when I get to the bottom of a page, I don't want the DIV to overlap the footer. I'm guessing I'll need to c...