mercredi 13 juillet 2016

issue with jquery tooltips for the title attribute in tumblr theme

it was working before, but now the title tooltip just shows up as default, after i spent some time fiddling with the css. heres the code:

    <script src="http://static.tumblr.com/iuw14ew/VsQma1786/jquery.style-my-tooltips.js"></script>

    <script>
        (function($){
            $(document).ready(function(){
                $("a[title]").style_my_tooltips({
                    tip_follows_cursor:true,
                    tip_delay_time:30,
                    tip_fade_speed:300,
                    attribute:"title"
                });
            });
        })(jQuery);

    </script>
    <style type="text/css">
        #s-m-t-tooltip{
            position: absolute;
            margin-top: 15px;
            z-index: 9999;
            background: #101010;
            border: 1px solid white;
            padding: 10px;
        }

sorry if the solution is really obvious or something, i just spent hours trying to find other things but this is all i've got so. (,,and the site)

Aucun commentaire:

Enregistrer un commentaire