Making progress bars work verticaly

Making progress bars work verticaly

Hello!

I achieved a vertical progress bar by changing js to this :

// Progress Bar
$(function() {
$(".vertical-meter > span").each(function() {
$(this)
    .data("origHeight", $(this).height())
    .height(0)
    .animate({
        height: $(this).data("origHeight")
    }, 1200);
});
});

but it works from top to bottm and I want it to work reverse (bottom to top).

How should I do that?

thanks.




















    • Topic Participants

    • vblig