Log in

View Full Version : Sticky Content script



munirvazir
07-11-2012, 05:44 PM
Hello,

I want to embed social network icons on webpage. I want it to be sticky on a page i.e. not moving when we scroll the page. (Refer: www.ibm.com) On this site you will see the icons on the right side, which remains fixed when page scroll.

I found a code on Dynamic Drive but it has text in it, and I wish to have image instead of it.

Can anyone help me?
Thank You All in advance.

bernie1227
07-12-2012, 12:25 AM
well the reason the images move when the page is scrolled, is because of the rule in the css saying:


position: fixed;

taking that out and changing the positioning will make it 'sticky'. Could you please give us a link to the page on Dynamic Drive?