Source
javascript:
(function(){
// config
var jq_url = 'http://labs.bitmeister.jp/moamoa/js/jquery-1.3.2.min.js';
var moa_url = 'http://labs.bitmeister.jp/moamoa/js/jquery.moatext-min.js';
// jQuery loading
var jq=document.createElement('script');
jq.setAttribute('src',jq_url);
if (!window['jQuery']){
document.getElementsByTagName('head')[0].appendChild(jq);
}
var moa=document.createElement('script');
moa.setAttribute('src',moa_url);
var isJQ = false;
var id = window.setInterval(function(){
if (window['jQuery'] &&
window['jQuery']['fn'] &&
window['jQuery']['fn']['offset']
){
isJQ = true;
// jQueryが読み込み終わったら、moatextを読み込む
if (!window['jQuery']['fn']['moatext'])
document.getElementsByTagName('head')[0].appendChild(moa);
}
if (isJQ == true &&
window['jQuery']['fn']['moatext'] &&
window['jQuery']['fn']['moatext']['class_no']
){
window.clearInterval(id);
jQuery('body').moatext();
}
},100);
})();
Source
javascript:
(function(){
// config
var jq_url = 'http://labs.bitmeister.jp/moamoa/js/jquery-1.3.2.min.js';
var moa_url = 'http://labs.bitmeister.jp/moamoa/js/jquery.moatext-min.js';
// jQuery loading
var jq=document.createElement('script');
jq.setAttribute('src',jq_url);
if (!window['jQuery']){
document.getElementsByTagName('head')[0].appendChild(jq);
}
var moa=document.createElement('script');
moa.setAttribute('src',moa_url);
var isJQ = false;
var id = window.setInterval(function(){
if (window['jQuery'] &&
window['jQuery']['fn'] &&
window['jQuery']['fn']['offset']
){
isJQ = true;
// jQueryが読み込み終わったら、moatextを読み込む
if (!window['jQuery']['fn']['moatext'])
document.getElementsByTagName('head')[0].appendChild(moa);
}
if (isJQ == true &&
window['jQuery']['fn']['moatext'] &&
window['jQuery']['fn']['moatext']['class_no']
){
window.clearInterval(id);
jQuery('body').moatext({effects:['lens','wave']});
}
},100);
})();
Source
javascript:
(function(){
// config
var jq_url = 'http://labs.bitmeister.jp/moamoa/js/jquery-1.3.2.min.js';
var moa_url = 'http://labs.bitmeister.jp/moamoa/js/jquery.moatext-min.js';
// jQuery loading
var jq=document.createElement('script');
jq.setAttribute('src',jq_url);
if (!window['jQuery']){
document.getElementsByTagName('head')[0].appendChild(jq);
}
var moa=document.createElement('script');
moa.setAttribute('src',moa_url);
var isJQ = false;
var id = window.setInterval(function(){
if (window['jQuery'] &&
window['jQuery']['fn'] &&
window['jQuery']['fn']['offset']
){
isJQ = true;
// jQueryが読み込み終わったら、moatextを読み込む
if (!window['jQuery']['fn']['moatext'])
document.getElementsByTagName('head')[0].appendChild(moa);
}
if (isJQ == true &&
window['jQuery']['fn']['moatext'] &&
window['jQuery']['fn']['moatext']['class_no']
){
window.clearInterval(id);
jQuery('body').moatext({hover:[function(target){jQuery(target).css({fontWeight:'bold',fontSize:'200%'});},function(target){jQuery(target).css({fontWeight:'normal',fontSize:'100%'});}],action_type:'hover'});
}
},100);
})();
Copyright (C) 2009 Bitmeister Inc.