Name your fiddle

Description

by Chace

HTML

<div id="ticketTotals">Blah blah
    <br/>Some more stuff
    <br/>This and that
    <br/>
</div>

CSS

#ticketTotals {
    position: fixed;
    top: 100px;
    right: -95px;
    display: block;
    margin-right: auto;
    margin-left: auto;
    color: Navy;
    font-size: 0.9em;
    width: 100px;
    font-family: Segoe UI, Century Gothic, Tahoma, Arial;
    background-color: navy;
    text-transform: uppercase;
    color: #fff;
    opacity: 0.90;
    filter: Alpha(opacity=90);
    z-index: 101;
    border-radius: 5px;
    box-shadow: 0px 1px 5px #000;
    padding: 15px 0px 15px 10px;
}

JavaScript

$("#ticketTotals").hover(numbersIn, numbersOut);

function numbersIn() {
    $("#ticketTotals").stop(true,false).animate({
        right: "-5px"
    }, {
        duration: 500,
        specialEasing: {
            width: "linear",
            height: "easeOutBounce"
        },
        complete: function () {

        }
    });
}

function numbersOut() {
    $("#ticketTotals").stop(true,false).animate({
        right: "-95px"
    }, {
        duration: 500,
        specialEasing: {
            width: "linear",
            height: "easeOutBounce"
        },
        complete: function () {

        }
    });
}