Hi,
I have a menu item at the top of my homepage that opens a specfic
target link in an iframe at the bottom of the same page. I'm now
trying to get the page to scroll down to the iframe when the menu item
is selected. With the code below I can get the menu item to open the
correct target link,
Make sure Scriptaculous is loaded, then it's simply
Effect.ScrollTo(element);
But, if the iFrame isn't as tall as the page height, you may not get
the top of the iFrame to the top of the page. It can't scroll beyond
the end of the page content.
--
You received this message because you are
On Nov 18, 2011, at 3:23 PM, greg wrote:
But, if the iFrame isn't as tall as the page height, you may not get
the top of the iFrame to the top of the page. It can't scroll beyond
the end of the page content.
You could then try this, if you wanted to force the issue:
...inside your click
Hi,
Does anyone know of a lib that can extend Prototype so it's like sencha
touch, jquery.mobile or has anyone been using scripty in production?
I presently only need to support ipad's. However over time I plan on
supporting all smart phones and tablets.
Thanks,
Jimmy
--
You received this
That's to bad .. hopefully someone will come along soon and tell us
different. ...
On Fri, Nov 18, 2011 at 6:44 PM, joe t. thooke...@gmail.com wrote:
Er, Android 2.3.7 ... D'oh!
On Nov 18, 9:43 pm, joe t. thooke...@gmail.com wrote:
i may have the wrong impression, but my tinkering on