This file contains hidden or 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
| var tiiki = ["hokkaido", | |
| "aomori", | |
| "iwate", | |
| "miyagi", | |
| "akita", | |
| "yamagata", | |
| "fukushima", | |
| "ibaraki", | |
| "tochigi", | |
| "gunma", |
This file contains hidden or 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
| <!-- in head tag --> | |
| <link href="./js/jquery.fluentgallery.css" rel="stylesheet" type="text/css" media="all"> | |
| <!-- need jquery 1.4.0 ~ --> | |
| <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script> | |
| <script type="text/javascript" src="./js/jquery.fluentgallery.js"></script> | |
| <script type="text/javascript"> | |
| $(function(){ | |
| $('#target').fluentgallery(); | |
| }); |
This file contains hidden or 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
| $("input:text , textarea").each(function(){ | |
| $(this).val($(this).attr("placeholder")); | |
| }); |
This file contains hidden or 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
| [linkref]: リンクのアドレス "リンクのタイトル" |
This file contains hidden or 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
| var opts = {}; | |
| opts.delayTime = 2000; | |
| opts.delayTime = 30; | |
| //text を流す | |
| var ticker = function(selector , text){ | |
| var target = $(selector); | |
| var len = text.length; | |
| var str = text; | |
| var i = 0; |
This file contains hidden or 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
| var a = Math.random(); | |
| if(a < 0.3){ | |
| console.log("atari"); | |
| }else{ | |
| console.log("hazure"); | |
| } |
This file contains hidden or 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
| .border-images(@image) { | |
| -webkit-border-image: @image; | |
| -moz-border-image: @image; | |
| -ms-border-image: @image; | |
| -o-border-image: @image; | |
| border-image: @image; | |
| } |
This file contains hidden or 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
| var result = ""; | |
| var depth = 0; | |
| function dive(elem){ | |
| result += indent(depth) + (elem.get(0).tagName.toLowerCase() + "{\n"); | |
| //idが会ったら | |
| var id = elem.get(0).id; | |
| if(id){ | |
| console.log("id aru"); |
This file contains hidden or 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
| animation | |
| animation-delay | |
| animation-direction | |
| animation-duration | |
| animation-fill-mode | |
| animation-iteration-count | |
| animation-name | |
| animation-play-state | |
| animation-timing-function | |
| appearance |
This file contains hidden or 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
| var result = {}; | |
| function dive(elem , arr){ | |
| if(!arr)arr = {}; | |
| arr[elem.get(0).tagName.toLowerCase()] = {} | |
| elem.children().each(function(){ | |
| dive($(this) , arr[elem.get(0).tagName.toLowerCase()]); | |
| }); |
OlderNewer