Reply to Re: Sicky dhtml

Your name:

Reply:


Posted by Jonathan N. Little on 06/03/05 17:33

SpaceGirl wrote:
> Merlin wrote:
>
>> Hi there,
>>
>> I am wondering how it would be possible to place a graphic on the
>> browser which sticks to the top, no matter how far you scroll down. I
>> recently saw a banner and do wonder how they did this.
>> Have a look http://www.spiegel.de
>> Is this a DHTML, Flash or JS thing? I was not able to find out.
>>
>> Thank you for any hint.
>>
>> Merlin
>
>
> It uses two things; In IE it uses JS to do it. In Mozilla/FireFox is
> uses CSS (which is far simpler).
>
You can us CSS to place the element upon page rendering, but how can you
reposition upon a scroll event. That would would be a behavior and
require JavaScript, right? The only pseudo behavior that is CSS
trappable that I am aware of is 'hover'. In my site the menus 'flyout'
with CSS using pseudo hover class (except IE with JS hack) but the whole
navbar uses JavaScript to float with the page scroll....

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация