Hi

Solved my own problem ... found jQuery.scrollTo 
(http://flesler.blogspot.com/2007/10/jqueryscrollto.html) which solves this 
nicely.


.. Colin


At 22:08 16/06/2008, you wrote:


>Hi
>
>Newbie user and I guess this probably has a simple answer.
>
>I have a hidden div on the page that is shown when user clicks a button.
>Its a help text, in a div, for the page that is only to be shown when the
>user wants it. But the page is long and when I un-hide the div I also want
>the browser to scroll the document so as to ensure this div actually
>visible within the browser window.
>
>Is there an easy way in jQuery to ensure a given element is actually
>visible on screen and not scrolled off the bottom?
>
>
>Thanks
>Colin
>
>
>--
>No virus found in this outgoing message.
>Checked by AVG.
>Version: 7.5.523 / Virus Database: 270.3.0/1503 - Release Date: 14/06/2008 
>18:02
>
>
>
>
>
>
>--
>No virus found in this incoming message.
>Checked by AVG.
>Version: 7.5.523 / Virus Database: 270.3.0/1503 - Release Date: 14/06/2008 
>18:02


-- 
No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.523 / Virus Database: 270.3.0/1503 - Release Date: 14/06/2008 18:02


Reply via email to