blogger

Post clickable in Blogger

余生颓废 提交于 2019-12-11 18:45:54
问题 Issue: To access the post page I have to click on the post title only. Objetive: Click anywhere in the post to go to the post page. Principal elements: Post form : <div class='date-outer'> Header : <h2 class='date-header'> Post description : <div class='date-posts'> The problem is in the following code: <!-- posts --> <div class='blog-posts hfeed'> <b:include data='top' name='status-message'/> <b:loop values='data:posts' var='post'> <b:if cond='data:post.isDateStart and not data:post

Blogger Static Pages Display Content on Half of the Page

試著忘記壹切 提交于 2019-12-11 18:29:25
问题 This page https://www.neuroscientia.com/p/iq.html only displays content in half of the page. It is a static page like other static pages such as ABOUT US, CONTACT US etc and all these pages do display their content in only half of the page while leaving the other half blank on all screen sizes. I have tweaked my HTML source code and couldn't get what's causing this. I am using a responsive template, set Media screens, view point already. So I'm confused why this error should occur. The blog

Javascript With Quote Causes Missing Argument In Blogger Template

情到浓时终转凉″ 提交于 2019-12-11 17:59:40
问题 When I use the following code, it works fine: <script> $(document).ready(function() { $('#article-sidebar-tabbed-archive-gadget').prepend('<nav></nav>'); }); </script> However, if I use any kind of quotes, I get the following error: Uncaught SyntaxError: missing ) after argument list Example of the code used that causes the error: <script> $(document).ready(function() { $('#article-sidebar-tabbed-archive-gadget').prepend('<nav><a href="#">Tags</a></nav>'); }); </script> What causes the error

Using JSONP to Create Blogger Site: Getting Failed to execute 'postMessage' on 'DOMWindow'

爱⌒轻易说出口 提交于 2019-12-11 14:47:32
问题 I am getting: Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://accounts.google.com') does not match the recipient window's origin ('https://www.blogger.com'). When running a blogger site using a template I purchased. The template makes extensive use of JSONP and calls JQuery v1.11.0. Here is an example of a request: if ( static_page_text === "[sitemap]" ) { var postbody = $('.static_page .post-body'); $.ajax({ url: "/feeds/posts/default?alt=json-in-script",

Display Result of Javascript & HTML in Blogger Post

旧巷老猫 提交于 2019-12-11 13:44:09
问题 This is the javascript & html code i have. function convertinput() { document.getElementById('first').value var string = document.getElementById('first').value var newString = "@@[0:1: " + string + "]]" document.getElementById('output').value = newString } ​ <input id="first"></input> <br> <input id="output"></input> <br> <input type='button' onclick='convertinput()' value='convert'> ​ the code editor in jsfiddle is http://jsfiddle.net/FEC7S/3/ I want this code to be displayed in my blog post

How can I have a script in Blogspot template that uses the Blogspot variables?

∥☆過路亽.° 提交于 2019-12-11 13:09:51
问题 I have the following Facebook iframe as part of the template: <iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=standard&show_faces=false&width=100&action=like&font=arial&colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:576px; height:24px;'/> The main feature is that it uses the Blogspot variable data:post.url as the link that the user can "Like". Unfortunately recently blogspot

Delete post with Blogger API

非 Y 不嫁゛ 提交于 2019-12-11 12:54:35
问题 I'm using the Blogger Protocol API and I'm having trouble deleting posts. I'm working on a webOS device and so I can't send DELETE directly; instead I use Google's workaround to use POST : deletePostList: function(event) { var deletePostID = event.item.id.split('.').pop().split('-').pop(); var deleteRequest = new Ajax.Request("http://www.blogger.com/feeds/" + activeBlogID + "/posts/default/" + deletePostID, { method: 'post', requestHeaders: { Authorization: 'GoogleLogin auth=' + authCode, "X

Images are SOMETIMES there

随声附和 提交于 2019-12-11 12:22:11
问题 Okay, I admit that the code is a right mess but I am an old dog who's new at this! It's a Blogger CSS template that I have been hacking around (and using with Blogger) and it now does what I want it to do ... sometimes. However, there is a pattern to the misbehaviour: First load: it's usually all there and looks good. Refresh, reload or F5 and often the top image disappears, or something else goes wonky. Retype the address in the address bar and it usually comes right. Happens in IE and in

Javascript Uncaught ReferenceError: Class is not defined

前提是你 提交于 2019-12-11 10:19:44
问题 I am trying to implement a moving photo slider that is no jQuery , it uses moo tools I want a slider like this guy http://mahusay-fbt.blogspot.com/ So I got that piece of code that is specifically designed for blogger here bit.ly/chXo9Q I implemented it on my dummy blog and it ain't working This is the error i get Uncaught SyntaxError: Unexpected number hacktheplanets.blogspot.com/:1380 Uncaught ReferenceError: Class is not defined hacktheplanets.blogspot.com/:1657 Uncaught TypeError: Object

Make Recent Posts Label Box using Li childs - JavaScript

左心房为你撑大大i 提交于 2019-12-11 09:14:06
问题 I need help to make RecentPosts Box show the last post for the tag that I defined for the 5 li:nth-childs. This is for my blog about tech news. Thah one is on site appears the recent posts but I would like to have the latest posts but by tag.TRITEK Hope that you guys can help me please. Thanks a lot. function FeaturedPost(a) { (function(e) { var h = { blogURL: "", MaxPost: 5, idcontaint: "#featuredpost", ImageSize: 500, interval: 10000, autoplay: false, loadingClass: "loadingxx", pBlank: