Reblog Notes Script
cxx:
I wrote a script that allow visitors to access the reblog-notes in my tumblelog. This post describes the method of setting up the script in your tumblelog.
First, insert the following code in the head element of your custom HTML.
<script type="text/javascript">
function show_notes(post_uri) {
var key = '/uIojWsJsR';
var post_id = post_uri.substring(post_uri.lastIndexOf('/') + 1, post_uri.length);
var notes_uri = 'http://www.tumblr.com/dashboard/notes/' + post_id + key;
window.open(notes_uri, '_blank', 'width=500,height=600,scrollbars=1,resizable=1');
}
</script>Here, the value of the variable “key” is user-specific (‘/uIojWsJsR’ for me). The value is found by searching for the source code of http://www.tumblr.com/show/everything/by/me by “/dashboard/notes/”.
Next, insert the following code in the div element of “post” class.
<a href="#" onclick="show_notes('{Permalink }');return false;">reblog notes</a>Here, actually delete the blank at the right of “Permalink.”
Update (01-May-2008):
Now, you can use theme variable “{postID }” and simply write as follows
<a href="http://www.tumblr.com/dashboard/notes/{postID }/uIojWsJsR">reblog notes</a>or<a href="http://www.tumblr.com/dashboard/notes/{postID }/uIojWsJsR"Of course, “uIojWsJsR” is different in each user.
onclick="window.open('http://www.tumblr.com/dashboard/notes/{postID }/uIojWsJsR',
'_blank','width=500,height=600,scrollbars=1,resizable=1');return false;">reblog notes</a>See Also
Tumblr - Reblog Notes Styler by dobbydog
関連:Untitled Shanti - Reblog notes script » Reblog notes variables
Reblogged & Liked (14 notes) | Tumblr Reblog Tree
-
syoichi
reblogged this from
cxx
and added:
関連:Untitled Shanti...notes script » Reblog notes variables
-
sparo liked this
-
xplanes liked this
-
none00
reblogged this from
cxx
-
iboong liked this
-
lukes liked this
-
alicia
reblogged this from
cxx
-
tsupo
reblogged this from
plasticdreams
-
thomyou-deactivated20081113
reblogged this from
plasticdreams
-
plasticdreams
reblogged this from
cxx
-
lo9kid4xt6yduhv
reblogged this from
cxx
-
hypertext
reblogged this from
cxx
-
cxx
posted this
