Results 1 to 2 of 2

Thread: Sticky Content script

  1. #1
    Join Date
    Jul 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Sticky Content script

    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.

  2. #2
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    46
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    well the reason the images move when the page is scrolled, is because of the rule in the css saying:
    Code:
    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?
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
    Anime Views Forums
    Bernie

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •