javascript - I can't get the JQuery fading permalink to to show up on my posts -
i'm making tumblr theme , code got tumblr blog.
div.fade { display: none; }
and jquery.
<script> //jquery fader code $(document).ready(function(){ settimeout(function(){ // slow can number of ms $("div.fade").fadein('slow', function () { // nothing }); }, 2000); // fade in after 2000 ms (2 secs) }); </script>
here's fade div.
<div class="fade"> <a href="{permalink}"><time datetime="{timeago}">{timeago}</time> / {block:notecount}<a class="notecount" href="{permalink}#notes">{notecountwithlabel}</a>{/block:notecount} / {block:contentsource} <a href="{sourceurl}">{lang:source}:{block:nosourcelogo}{sourcetitle}{/block:nosourcelogo}</a> / {/block:contentsource} <div class="my-like" data-reblog="{reblogurl}" data-id="{postid}" title="like">♥</div> / <a href=”{reblogurl}” target=”_blank”>{reblogbutton size="15"}</a> </div>
is there anyway can work properly?
jsfiddle: http://jsfiddle.net/8vnr4/
Comments
Post a Comment