<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
As part of the ongoing transition towards the new Blogger Dynamic View template, the result of which you are currently eyeballing, here is another addition:<br />
<br />
Blogger users cannot embed pictures in their about-info, which is set through their google+ Profile. To overcome this, embed the following code into your template ( <i>Blogger -Backend > Template > Edit HTML</i>) as follows:<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://3.bp.blogspot.com/-olyi6BKOr-o/UnpDCajZZxI/AAAAAAAACPs/EUsYMtN1ty0/s1600/Capture117-20131106-142334-blogger-stackoverflow-templates.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="227" src="http://3.bp.blogspot.com/-olyi6BKOr-o/UnpDCajZZxI/AAAAAAAACPs/EUsYMtN1ty0/s400/Capture117-20131106-142334-blogger-stackoverflow-templates.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Showing the template setup</td></tr>
</tbody></table>
<br />
<br />
<br />
<label onclick="code[data-store=profileaboutmejs]" style="display: inline-block; font-weight: bold; width: 100px;">Image url:</label><input id="profileimageurl" placeholder="http://stackexchange.com/users/flair/485574.png" style="width: 70%;" type="text" /><br />
<label style="display: inline-block; font-weight: bold; width: 100px;">Copy this to the template:</label><textarea disabled="" id="profile-aboutme-generateoutput" style="height: 100px; width: 70%;">click generate...</textarea><br />
<button onclick=" $('#profile-aboutme-generateoutput').html( $('code[data-store=profileaboutmejs]').html().replace('{{URL}}',$('#profileimageurl').val().trim()) ); ">Generate Code</button>
<br />
<br />
Copy and paste the following, generated code anywhere within your HTML body-tags:
<br />
<pre><code data-store="profileaboutmejs">
// <![CDATA[
<script type="text/javascript">
setTimeout(function() {
$('.profile-aboutme')
&& $('#profile-aboutme-generateoutput').html(
$('.profile-aboutme > div:last-of-type')
.after('<br><img src="{{URL}}">'));
}, 3500);
</script>
// ]]>
</code>
</pre>
</body>
</html>
Output
You can jump to the latest bin by adding /latest
to your URL
Keyboard Shortcuts
Shortcut | Action |
---|---|
ctrl + [num] | Toggle nth panel |
ctrl + 0 | Close focused panel |
ctrl + enter | Re-render output. If console visible: run JS in console |
Ctrl + l | Clear the console |
ctrl + / | Toggle comment on selected lines |
ctrl + ] | Indents selected lines |
ctrl + [ | Unindents selected lines |
tab | Code complete & Emmet expand |
ctrl + shift + L | Beautify code in active panel |
ctrl + s | Save & lock current Bin from further changes |
ctrl + shift + s | Open the share options |
ctrl + y | Archive Bin |
Complete list of JS Bin shortcuts |
JS Bin URLs
URL | Action |
---|---|
/ | Show the full rendered output. This content will update in real time as it's updated from the /edit url. |
/edit | Edit the current bin |
/watch | Follow a Code Casting session |
/embed | Create an embeddable version of the bin |
/latest | Load the very latest bin (/latest goes in place of the revision) |
/[username]/last | View the last edited bin for this user |
/[username]/last/edit | Edit the last edited bin for this user |
/[username]/last/watch | Follow the Code Casting session for the latest bin for this user |
/quiet | Remove analytics and edit button from rendered output |
.js | Load only the JavaScript for a bin |
.css | Load only the CSS for a bin |
Except for username prefixed urls, the url may start with http://jsbin.com/abc and the url fragments can be added to the url to view it differently. |