Jquery.glance.js

With this jquery plugin , you can put text and effects hasty glance.

Download .zip Download .tar.gz View on GitHub

What is jquery.glance.js ?

テキストをチラリと表示するJqueryプラグインです。指定の要素に対して、任意の文字列を表示する事ができます。

how to use

下記のサンプルでタイトルに適用しています。タブのキャプションを10秒程度見てみてください。
チラリと文字が表示されます。
タイトル属性で使う事を強くオススメします。


//sample code
//plase look at tab. 
$(function(){
  $('title').glance();
});

custom

←Glance looks


//sample code
$(function(){
  $('#demo').glance({
    //表示する文字列をArrayで宣言する。
    texts: [["(」・ω・)」うー!" , 2000 ] ,
            "(/・ω・)/にゃー!" , //,各要素はString or Array["text]["waittime"]の要素にしてください。
            ],
    loop: 10, //何回繰り返すか
    delay: 1000 //次の表示の間隔
    waitTime: 1200 //defaultでの文字表示間隔(ms)
  });
});

Support or Contact

http://twitter.com/yamitake