This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @param {Array} idAry 位置を取得したい要素のID名を配列で ※必須 | |
* @param {Number} adjustPosition 位置を調整 [初期値=0] | |
* | |
* 取得したデータの呼び出し [インスタンス名].hashTalbe; | |
*/ | |
function GetElementsOffsetTop(idAry,adjustPosition){ | |
this.idAry = idAry; | |
this.len = this.idAry.length; | |
this.adjustPosition = adjustPosition || 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(window,namespace,$){ | |
window[namespace] = { | |
play: function(){ | |
var len = this.frame.length; | |
for(var i=0; i<len; i++){ | |
setTimeout(this.frame[i].scene, this.frame[i].timeline); | |
} | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){var c="",d="";if(!document.styleSheets){return;}for(var b=0;b<document.styleSheets.length;b++){a(document.styleSheets[b]);}function a(g){var h=0;if(g&&g.cssRules){for(var f=0,e=g.cssRules.length;f<e;f++){if(!g.cssRules[f].selectorText){continue;}h+=g.cssRules[f].selectorText.split(",").length;}d+="\nFile: "+(g.href?g.href:"inline <style> tag");d+="\nRules: "+g.cssRules.length;d+="\nSelectors: "+h;d+="\n--------------------------";if(h>=4096){c+="\n********************************\nWARNING:\n There are "+h+" CSS rules in the stylesheet "+g.href+" - IE will ignore the last "+(h-4096)+" rules!\n";}}}console.log(d);console.log(c);})(); |
NewerOlder