[jQuery] Re: how to make browser ensure specific element is visible

2008-06-16 Thread Colin Manning
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

[jQuery] Re: how to make browser ensure specific element is visible

2008-06-16 Thread Hamish Campbell
Hi Colin, The dimensions plugin was recently added to the jQuery core, and you can combine with the plain javascript window.scrollTo method to do what you want. Here is a little plugin I whipped up: script language=javascript type=text/javascript $(document).ready(function(){ $.fn.extend({