Untitled Shanti

Your search for "shuffle script" returned 6 result(s).

Random 用画像。
( http://14.media.tumblr.com/OY9NpboAIkyw2cdwbDGPvnX4o1_100.png )

IndexページではShuffleにして、Permalinkページで Random として使用しています。

参照 - “Untitled Shanti - search ‘shuffle+script’”

海外の人がテーマでshuffle画像を使ってくれてるみたいで、うれしいです。

Thanks! “Simplify  by thebronzemedal”

Random 用画像。
( http://14.media.tumblr.com/OY9NpboAIkyw2cdwbDGPvnX4o1_100.png )

IndexページではShuffleにして、Permalinkページで Random として使用しています。

参照 - “Untitled Shanti - search ‘shuffle+script’

海外の人がテーマでshuffle画像を使ってくれてるみたいで、うれしいです。

Thanks! “Simplify by thebronzemedal

cxx:

Tumblr Shuffle Anywhere – Userscripts.org
ShantiさんのTumblr shuffle scriptのGreasemonkeyスクリプト版です。shuffle scriptが設置されていないTumblrでもshuffleできます。

素晴らしい! やりたいとずっと思ってたので嬉しいです。早速インストールさせてもらいました。

ソースを見させてもらったら自分でもカスタム出来そうだったので、見栄えだけ少しカスタマズしてみました。見慣れた感じにしたかったので、インストールしたtumblrshuffleanywhere.user.jsを開いて、CSSのところを以下のように変更してみました。

var style = [
  'position: fixed',
  'top: 3px',
  'left: 3px',
  'background: transparent url(http://data.tumblr.com/OY9NpboAI5k99ruwwRS7l61l_500.png) no-repeat 0 0',
  'display: block',
  'width: 70px',
  'height: 20px',
  'text-indent: -9999px'
].join(';');

スクリプトで書き出されるShuffle部分にイメージを直接埋め込むとaタグに対するborderスタイルがそれぞれのサイトの影響を受けるので、CSSで文字部分をマイナスインデントして、背景にいつものShuffle画像を埋め込んだだけです。
自分がわかって設置しているものなので、UI的に大きさはもう少し小さくてもいいかもしれませんね(幅70pxもいらない)。文字もいらなくてShuffleの記号部分だけとか。かなり自由度が高いので感動しています。
それとすでに自前で設置してあるサイトには表示しないようにしてあるんですね。素敵です。ありがとうございました。> cxxさん

Reblog notes script 改 一応書いておくとスクリプトの中身を関数に移したりとかは最初の post の後に俺が変更して自分のところに設置してたものなので Shanti さんが添削して改と名付けたということではない。しかし俺の文章は余計な文言が散りばめられてて分かりづらい(*)のに対して Shanti さんのは明確だ。

*注釈にでもすればよかった。

追記:

というか、丸パクリです。わかりにくい表現でした。ごめんなさい cxx さん。

あー、違うんです。端から見ると勝手に添削みたいなノリに見えるかなと思って補足のつもりで書いただけなんです。こちらこそすみません。 — cxx

いえ、こちらこそ簡素に書きすぎてましたので、誤解を招く記述の部分は改訂いたしました。>Untitled Shanti - Reblog notes script

ここから蛇足です。

shuffletools も含め、自分用のメモ代わりに残す目的のをどうせなら “World Wide Web” に post しようということだったので、誤解も多々受けてるとは思うのですが、悪意も他意もないのを、ご了承いただければと思います。各位。
慣れてるのと今回はフォーマットに合わせて日本語で書いたのがいけなかったかな。母国語はニュアンスに対する注意が散漫になったり、無駄に“自分”が出過ぎるような気がします。

100% transparent PNG image

http://data.tumblr.com/OY9NpboAI2s341ccHnGYcjf0_500.png

Please rewrite the image url. Script → Untitled Shanti - Tumblr shuffle script

Custom script & css when image is not used.

Script

function shuffle() {
    var s1='<p class="shuffle"><a href="http://***.tumblr.com/';
    var s2='</a></p>';
    Total=0+{ TotalPages };
    if(Total>0) {
        var r=Math.ceil(Math.random() * Total);
        document.write(s1+'page/'+r+'">'+s2);
    }
}
shuffle();

“TotalPages” is custom theme variable. (link Tumblr) Please delete space in braces.

CSS (e.g.)

p.shuffle {
    position: fixed;
    top: 3px;
    left: 3px;
    _position: static;
    _margin: 3px;
    _text-align: right;
    z-index: 1;
    margin: 0;
    padding: 0;
}

p.shuffle a {
    display: block;
    width: 80px;
    height: 20px;
}

p.shuffle a:hover {
    background: transparent url("***.png") no-repeat 0 0;
}

link Untitled Shanti - Tumblr shuffle script

(2009-06-03 revision)

人間の潜在意識を利用した数値変換術「シャフリング」(計算士) (via 世界の終りとハードボイルド・ワンダーランド - Wikipedia)


 (http://data.tumblr.com/OY9NpboAI5k99ruwwRS7l61l_500.png) The border processing was given to the image.

Tumblr shuffle script

&lt;!-- shuffle (http://shanti.tumblr.com/post/19454866) --&gt;
&lt;script type="text/javascript"&gt;
&lt;!--
function shuffle() {
    var s1='&lt;p class="shuffle"&gt;&lt;a href="http://***.tumblr.com/';
    var s2='&lt;/a&gt;&lt;/p&gt;';
    Total=0+{TotalPages};
    if(Total&gt;0) {
        var r=Math.ceil(Math.random() * Total);
        document.write(s1+'page/'+r+'"&gt;'+'&lt;img src="http://data.tumblr.com/OY9NpboAI5k99ruwwRS7l61l_500.png"&gt;'+s2);
    }
}
shuffle();
//--&gt;
&lt;/script&gt;
&lt;!-- /shuffle --&gt;

&#8220;TotalPages&#8221; is custom theme variable. (link Tumblr) Please delete space in braces.

css (e.g.)

p.shuffle {
    position: fixed;
    top: 3px;
    left: 3px;
    _position: static;
    _margin: 3px;
    _text-align: right;
    z-index: 1;
    margin: 0;
    padding: 0;
}

Tumblr Shuffle Anywhere – Userscripts.org
A user script version. Thanks!!! cxx. (Untitled Shanti - Tumblr Shuffle Anywhere)

Relations

Untitled Shanti内のshuffle関連エントリー

タンブラーの画像をランダムに並び替えるぐりもん - Muibrog (アイコン画像のデータスキーム化)

Random Dashboard - cxx Tumblr
	The Whole World is peaceful. - 一億総gkojaxlabo化大作戦


Endless Summer on Tumblr Dashboard - The Whole World is peaceful. (link gist: 26170 - GitHub)

Other icons
 ( http://14.media.tumblr.com/OY9NpboAIkyw2cdwbDGPvnX4o1_100.png )Untitled Shanti - Random 用画像。 (&#8230;

 ( http://14.media.tumblr.com/OY9NpboAIn0a64spzMRrhdUuo1_100.png ) Simple

* ( http://assets.tumblr.com/images/tumblupon_controls_random.png ) (via TumblUpon)

(2009-08-06 revision [mark *])

人間の潜在意識を利用した数値変換術「シャフリング」(計算士) (via 世界の終りとハードボイルド・ワンダーランド - Wikipedia

(http://data.tumblr.com/OY9NpboAI5k99ruwwRS7l61l_500.png) The border processing was given to the image.

Tumblr shuffle script

<!-- shuffle (http://shanti.tumblr.com/post/19454866) -->
<script type="text/javascript">
<!--
function shuffle() {
    var s1='<p class="shuffle"><a href="http://***.tumblr.com/';
    var s2='</a></p>';
    Total=0+{TotalPages};
    if(Total>0) {
        var r=Math.ceil(Math.random() * Total);
        document.write(s1+'page/'+r+'">'+'<img src="http://data.tumblr.com/OY9NpboAI5k99ruwwRS7l61l_500.png">'+s2);
    }
}
shuffle();
//-->
</script>
<!-- /shuffle -->

“TotalPages” is custom theme variable. (link Tumblr) Please delete space in braces.

css (e.g.)

p.shuffle {
    position: fixed;
    top: 3px;
    left: 3px;
    _position: static;
    _margin: 3px;
    _text-align: right;
    z-index: 1;
    margin: 0;
    padding: 0;
}

Tumblr Shuffle Anywhere – Userscripts.org

A user script version. Thanks!!! cxx. (Untitled Shanti - Tumblr Shuffle Anywhere)

Relations

Other icons

( http://14.media.tumblr.com/OY9NpboAIkyw2cdwbDGPvnX4o1_100.png )
Untitled Shanti - Random 用画像。 (…

( http://14.media.tumblr.com/OY9NpboAIn0a64spzMRrhdUuo1_100.png ) Simple

* ( http://assets.tumblr.com/images/tumblupon_controls_random.png ) (via TumblUpon)

(2009-08-06 revision [mark *])