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
jQuery(function($) { | |
var WIDTH = 80; | |
var HEIGHT = WIDTH; | |
var SIZE = 5; | |
var timer = null; | |
var field; | |
var canvas; | |
var generation; | |
var speed; |
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
jQuery(function($) { | |
var WIDTH = 80; | |
var HEIGHT = WIDTH; | |
var SIZE = 5; | |
var field; | |
var canvas; | |
var Field = function(width, height){ | |
this.width = width; |
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(){ | |
$.datepicker.setDefaults( $.datepicker.regional[ "ja" ] ); | |
$(".datepicker").datepicker({ | |
beforeShow: function (input, inst) { | |
var $this = $(input); | |
var begin = $this.data('begin') || ''; | |
if (begin) { | |
$this.datepicker("option", "minDate", $(begin).val()); | |
} | |
var end = $this.data('end') || ''; |
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
<form class="form-inline"> | |
<div class="form-group"> | |
<div class="input-group"> | |
<input type="text" id="begin" class="form-control datepicker" data-end="#end" value="2014/08/10" size="12"> | |
<span class="input-group-btn"> | |
<button class="btn btn-default" type="button" data-toggle="datepicker" data-target="#begin"> | |
<span class="glyphicon glyphicon-calendar"></span></button> | |
</span> | |
</div> | |
</div> |
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(){ | |
$('[data-toggle=datepicker]').each(function () { | |
var target = $(this).data('target') || ''; | |
if (target) { | |
$(target).datepicker({ | |
"showOn": "" | |
}); | |
$(this).bind("click", function () { | |
$(target).datepicker("show"); | |
}); |
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(){ | |
$('[data-toggle=datepicker]').each(function () { | |
var target = $(this).data('target') || ''; | |
if (target) { | |
$(target).datepicker(); | |
$(this).bind("click", function () { | |
$(target).datepicker("show"); | |
}); | |
} | |
}); |
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
<form role="form"> | |
<div class="form-group"> | |
<div class="input-group"> | |
<input type="text" class="form-control" value=""> | |
<span class="input-group-btn"> | |
<button class="btn btn-default" type="button" data-toggle="datepicker" data-target="#datepicker"> | |
<span class="glyphicon glyphicon-calendar"></span></button> | |
</span> | |
</div> | |
</div> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Insert title here</title> | |
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> | |
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css"> | |
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.0/themes/smoothness/jquery-ui.css"> | |
<body> | |
<div class="container"> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Insert title here</title> | |
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> | |
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css"> | |
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.0/themes/smoothness/jquery-ui.css"> | |
<body> | |
<div class="container"> |
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
<?php | |
/* | |
Plugin Name: [ws] random post | |
Plugin URI: http://webspace.jp/ | |
Description: ランダムにエントリーを返す | |
Author: hukinotou | |
Version: 0.1 | |
*/ | |
include_once 'ws-widget-random-post.php'; |
NewerOlder