@stefan-te, great share, thanks a lot!

However, we cannot run it on IPB as it uses prototype instead of jquery. From what I've read, we need to use the noConflict function but I have no idea how to implement it. Will you be able to help?

Code: 
<style type='text/javascript'>
jQuery.noConflict();
jQuery(document).ready(function($){

// jQuery code goes here

});
</script>