SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Dec 2008
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Too Cute! How to do this button?

    Here is the site where the button is:

    VIDEO - Kid Rock And Wynonna - "Bawitdaba" / "Til My Dying Day" - Blog Detail - KidRock.com

    There is a button on the side leading to feedback.

    I can figure out how to get it to stay stationary and to the side of the browser but how do they get it to pop up and down?

    Gif images? Javascript?

    Ideas anyone? Thanks.

  2. #2
    SitePoint Wizard
    Join Date
    Dec 2003
    Location
    USA
    Posts
    2,582
    Mentioned
    29 Post(s)
    Tagged
    0 Thread(s)
    If you use position: fixed to do that, and use right to position it, all you have to do is add a :hover to decrease it's right a bit.

    Code:
    .btn { position: fixed; right: -5px; }
    .btn:hover { right: 0 }
    Simple as that. =)

  3. #3
    SitePoint Member
    Join Date
    Dec 2008
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank You!!

    So simple but I would have never gotten it. This is why it's good to have knowledgeable people like you around. I'm so thankful for this site.


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
  •