Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Fixed element on screen
Old 06-02-2009, 05:49 AM Fixed element on screen
Skilled Talker

Posts: 95
Trades: 0
The element is in the middle of the screen. How to make it stick on the top of the page when you scroll page down. I know there is something similar, but I don't have an idea how to find it. Help is much appreciated! Thanks!
igorsa is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-02-2009, 06:41 AM Re: Fixed element on screen
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
the css "position: fixed" attribute should do.
At least, for everything except ie, whose bugs make it fairly difficult to work.

http://www.google.com/search?hl=en&l...=Google+Search
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 06-02-2009, 07:09 AM Re: Fixed element on screen
Skilled Talker

Posts: 95
Trades: 0
ok guys, i found a solution in jquery, thanks
igorsa is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Fixed element on screen
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.16877 seconds with 12 queries