Login Register

dojo/method

Controlling ContentPane Scrolling from via Method?

Is there a way to tell a ContentPane to scroll to a specific region of its contents? For instance, the IFRAME has a scrollBy(x,y) method that allows such a feature. I can't seem to find anything similar for ContentPane in the documentation.

As an example, let's say there's a large image in a ContentPane, and the ContentPane has the css style="overflow:hidden"; how could I tell the ContentPane to scroll to the right by X and down by Y?

IE: Tree onClick script events not triggered when loaded by href in ContentPane

[EDIT: Please don't use an actual script tag in a title if you can help it, it has the potential to break layouts -- trt]

Sorry for the complicated title. I just ran into this rather significant stumbling block tonight. This is only happening on IE, it works fine in Firefox.

Syndicate content