Eat Your Books text widget help needed
-
Hi guys, I am trying to add a EYB widget to my blog which shows the number of books I have and when clicked, shows the actual books in a list. I’ve followed the instructions on creating a text widget but the code (HTML) doesn’t produce a widget. Can anyone help please? Here is the code I was instructed to paste into the widget on EYB’s site:
<div id=”eyb-book-widget”></div>
<script type=”text/javascript”>
(function(d,u){
var j=d.createElement(“script”),s=d.getElementsByTagName(“head”)[0];
j.src=u+”bookshelf/bookwidget/33321?jsoncallback=eyb_c”;j.async=1;s.parentNode.insertBefore(j,s);
})(document,”http://www.eatyourbooks.com/”);
function eyb_c(d){document.getElementById(“eyb-book-widget”).innerHTML=d;}
</script>The blog I need help with is: (visible only to logged in users)
-
JavaScript isn’t supported here. There may however be a workaround for this, but one of the other volunteers will have to provide that, as it’s not my area of expertise.
-
-
@jobakes
Hi there,
There is no help to be had. We bloggers cannot post any JavaScript, without having the software strip the code out for security reasons. http://en.support.wordpress.com/code/ -
-
-
Hi, this is Jane from Eat Your Books. I have emailed jobakes with a widget without JavaScript that she can add to her blog.
- The topic ‘Eat Your Books text widget help needed’ is closed to new replies.