开发者

want to fix a div after scrolling of a page upto a particular position

开发者_如何学运维I am a beginner to the UI ,so I need a sample code.


Check out:

changing an elements css position after scrolling down the page

Replace the ul stuff with whatever your div's name is and the fixed stuff with whatever your classes name is for the div when it's scrolled (and supposed to be fixed).

Hope this helps.


you can do this by css also...use position:absolute

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜