I believe the function you desire can be done simply with the CSS position
property set to 'fixed'.  Unfortunately, IE6 screws it all up for everyone,
as usual, so you'll have to resort to some hacks for that.

http://www.cssplay.co.uk/layouts/fixed.html
http://tagsoup.com/cookbook/css/fixed/
http://home.tampabay.rr.com/bmerkey/examples/fake-position-fixed.html

All demonstrate pretty much the same hack, and you'll have to use separate
stylesheet for IE<7.

--Colin

Oh, and alternately you could dissect gmail's code and find out how they do
it.

On 6/4/07, Jon Todd <[EMAIL PROTECTED]> wrote:
>
>
> I'm trying to make my ajax indicator that says 'Loading...' during an
> AJAX call to act like the indicator on gmail. Regardless of scrolling
> the indicator remains in the same spot on the page. I believe this
> would be a rather simple javascript just wondering if anyone already
> has an elegant solution.
>
> The .NET folks have AlwaysVisibleControl:
>
> http://ajax.asp.net/ajaxtoolkit/AlwaysVisibleControl/AlwaysVisibleControl.aspx
>
> We should have something similar in symfony. I'll write the plugin if
> someone has the code.
>
>
> >
>


-- 
"Doh!"  - Homer Simpson

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to