Terminology for a "sliding" html component?
Hey All,
What's it called when you have, say an image, that stays in the exact same place on your browser, no matter how far down you scroll, or how far to the right?
TIA!
oh yeah, and can it be done with css?
timjpriebe posted this at 17:40 — 18th January 2006.
He has: 2,667 posts
Joined: Dec 2004
It's sometimes referred to as a static background image. I believe this CSS will do it:
background-attachment: fixed;
'or something like this
background: url(<a href="http://www.google.com/intl/en/images/logo.gif" class="bb-url">http://www.google.com/intl/en/images/logo.gif</a>) top left no-repeat fixed;
'Tim
http://www.tandswebdesign.com
Anita.Bonghit posted this at 18:58 — 18th January 2006.
They have: 43 posts
Joined: Sep 2005
thx for the speedy reply tim - but I guess I should have been more specific, although at first I wasn't sure how to describe this thing.
What I'm looking for is the same concept of what you described, but more flexible, and not just only for images. I meant, what is it when there's a 'spot' that stays in the same place, where I could put links, javascript, images, ads, or just about anything else?
Reason being, my site has a lot of text, and I want to make the navigation section easy to reach at all times. Instead of reading a whole page, and then having to scroll way back to the top for navigation links, the links and site announcement would always be in the browser's corner.
Do you know how to do that? TIA
timjpriebe posted this at 19:04 — 18th January 2006.
He has: 2,667 posts
Joined: Dec 2004
Ah, okay. Take a look at this page:
http://www.sivamdesign.com/scripts/navigate.html
Depending on exactly which of these best fits your design/menu system, 17, 20, 25 or 26 may be a good starting place.
Tim
http://www.tandswebdesign.com
demonhale posted this at 01:58 — 19th January 2006.
He has: 3,278 posts
Joined: May 2005
You can also go to dynamicdrive.com, they have abunch of sliding dhtml menu, floating box etc. Also visit javascriptkit...
Anita.Bonghit posted this at 03:30 — 19th January 2006.
They have: 43 posts
Joined: Sep 2005
great links guys, thanks. I didn't know javascript could do so many things. I'm gonna dive in and figure this stuff out!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.