Majid,

You can do that by assigning the position style of "fixed".  That will
work in all browsers except IE6.  In IE6 you need to use style
expressions.  The blockUI plugin does this so you might be able to get
some ideas from it:

http://jqueryjs.googlecode.com/svn/trunk/plugins/blockUI/jquery.blockUI.js

Mike


On 8/25/07, Majid <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> I pretty much asked my question on the subject line but If it is not
> clear, read below:
>
> I want a <div> to stay at the top of the screen when you scroll up and
> down. This container div will have two divs inside, the upper one will
> contain 'tools' (links, serchbox, etc.), the bottom one will just
> contain a stub picture to toggle the 'tools' dive on and off. Thus
> normally the page has a small stub fixed at a top corner, when it is
> clicked a toolbar slides down.
>
> I wondered if this could be done with jQuery
>
> Many thanks.
>
>

Reply via email to