Web
<script> $(document).ready(function(){ $.fn.delegate = function(selector, action, callback) { $(this).on(action, selector, callback); } $.fn.undelegate = function(selector, action) { $(this).off(action, selector); } $.fn.live = function(action, ca…
<script> $(document).ready(function(){ // MSIE $.browser.msie = (navigator.userAgent.match(/(MSIE|Trident)/ig)) != null; // safari $.browser.safari = (navigator.userAgent.match(/Safari/ig)) != null; // mozilla $.browser.mozilla = (navigator.userAg…
SET PATH=C:\Program Files (x86)\OpenSSL-Win32\bin;%PATH% SET OPENSSL_CONF=C:\Program Files (x86)\OpenSSL-Win32\bin\openssl.cfg cd C:\Program Files (x86)\Apache Software Foundation\Apache2.2\conf\ openssl genrsa -des3 -out server.key 2048 o…
<script> $(document).ready(function(){ $.fn.origAttr = $.fn.attr; $.fn.attr = function(key, value) { var keys = [], i = 0; keys[i++] = "checked"; keys[i++] = "selected"; keys[i++] = "requred"; keys[i++] = "multiple"; keys[i++] = "readonly"; keys[i…
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html" encoding="EUC-JP" omit-xml-declaration="yes" /> <xsl:template match="/entrylist"> <ul class="nav navbar-nav"> <xsl:for-each select="entry"> <li> </li></xsl:for-each></ul></xsl:template></xsl:output></xsl:stylesheet>
<style type="text/css"> .globalmenu { background: rgb(128,128,128); overflow:hidden; margin: 5px; padding: 5px; width: 350px; text-align:right; display:table-cell; vertical-align:middle; } .globalmenu > ul { text-align:right; margin:5px; padding:0; } .globalmen…
<style type="text/css"> .globalmenu { background: rgb(128,128,128); overflow:hidden; margin: 5px; padding: 5px; width:calc(100% - 10); height:35px; text-align:right; display:table-cell; vertical-align:middle; } .globalmenu > ul { text-align:right; margin:5px; p…
<style type="text/css"> .globalmenu { background: rgb(128,128,128); overflow:hidden; margin: 5px; padding: 5px; width:calc(100% - 10); height:35px; text-align:right; display:table-cell; vertical-align:middle; } .globalmenu > ul { text-align:right; margin:5px; p…
<style type="text/css"> .globalmenu { background: rgb(128,128,128); overflow:hidden; margin: 5px; padding: 5px; width:calc(100% - 10); height:35px; text-align:right; display:table-cell; vertical-align:middle; } .globalmenu > ul { text-align:right; margin:5px; p…
<apex:page> <apex:includeScript value="{!$Resource.jQuery}" /> <script type="text/javascript"> jQuery.noConflict(); </script> </apex:page> jQuery.noConflict() を実行する必要がある $(selector) ではなく jQuery(selector) で処理
<script type="text/javascript"> jQuery(".ajax_id:checked").each(function(i,o){ var title = jQuery(o).attr("title"); console.log(title + ": start"); jQuery.ajax({ "url" : "/apex/pageName", "data" : { "id" : title }, "async" : false, // 非同期通信の場合 自動#はエラーにな…
<apex:page controller="jsonController" action="{!init}" contentType="application/x-JavaScript; charset=utf-8" showHeader="false" standardStylesheets="false" sidebar="false"> {!jsonString} </apex:page>
<script type="text/javascript"> function allCheck(className, object) { jQuery("." + className).prop("checked", jQuery(object).prop("checked") ).click(function(){ jQuery(object).prop("checked", false); }); } </script>
<apex:includeScript value='{!$Resource.jquery}'/></apex:includescript>
CSS .grid3 { } .grid3 > div { width: calc((100% * 1/3) ); float: left; } HTML <div class="grid3"> <div>area1</div> <div>area2</div> <div>area3</div> </div>
min-height: calc(100vh); => 1画面を最小とする height : 100%; => スクロールありで表示領域を最大とする。 margin : 0 auto; => 画面のセンターに配置する。 <html> <head> <style> * { margin: 0; padding: 0; } .header { top: 0px; position: absolute; background-colo</head></html>…
html / php <html> <head> Html->charset(); ?> <title><?php echo __d("users", $this->action) ?> | <?php echo __d("users", $this->name) ?></title> Html->meta ( 'icon' ); echo $this->Html->css ( 'Users.main' ); echo $this->fetch ( 'meta' ); echo $this-…</head></html>
TwitterBootstrap Controller array('className' => 'TwitterBootstrap.BootstrapHtml'), 'Form' => array('className' => 'TwitterBootstrap.BootstrapForm'), 'Paginator' => array('className' => 'TwitterBootstrap.BootstrapPaginator'), ); View Htm…
<style> ul.pan { } ul.pan > li { display: inline-block; padding: 0px; margin: 0px } ul.pan > li:after { padding: 5px; content: ">"; } ul.pan > li:last-child:after { content: " "; } </style> Html -> nestedList(array("home", "admins", "users"), array("cla…
Helper public function dropDown($name, $links = array()) { return $this -> Html -> tag("div", join("", array( "", $this -> Form -> button("SELECTED MOVE <span class='caret'></span>", array( "", "class" => "btn btn-default dropdown-toggle", "id" => $name, "data-toggl…
Html -> tag("div", $this -> Html -> tag("ul", $this -> Paginator -> numbers( array( "first" => "|<", "last" => ">|", "currentClass" => "active", "currentTag" => "a" ) ), array("class" => "pagination pagination-lg") ), array("class" => "te…
Html -> tag("table", $thead . $tbody, array("class"=>"table table-borderd table-striped")); table-borderd テーブルにボーダーを設定する。 table-striped テーブルを1行おきに別の背景などを設定する
<html> <head> Html->charset(); ?> <title><?php echo $this->fetch('title_for_layout'); ?></title> Html->meta('icon'); echo $this->Html->script('bootstrap.min'); echo $this->Html->css('bootstrap.min'); echo $this->Html->…</head></html>
class descript btn btn-default 標準 btn btn-primary 高優先度 btn btn-success 登録処理 btn btn-info 確認処理 btn btn-warning リセット btn btn-danger 削除処理 <a href="#" class="btn btn-info">body</a> <button class="btn btn-info">body</button> <input type="button" class="btn btn-info" value="button"/>
# HTTP_USER_AGENT : Androidのみ RewriteCond %{HTTP_USER_AGENT} ".*Android.*" [NC] # HTTP_HOST : *.example.com へのアクセスのみ RewriteCond %{HTTP_HOST} "^.*\.example\.com" [NC] # HTTP_REFERER : *.example.com からの遷移のみ RewriteCond %{HT…
htaccess RewriteEngine On RewriteCond %{TIME_YEAR}%{TIME_MON}%{TIME_DAY} ">20140800" RewriteRule (.*) - [G]
AH00526: Syntax error on line 3 of httpd-ssl.conf: SSLSessionCache: 'shmcb' session cache not supported (known names: ). Maybe you need to load the appropriate socache module (mod_socache_shmcb?). モジュール不足です。
./configure \ --with-apr=/usr/local/apr \ --with-apr-util=/usr/local/apr \ --enable-so \ --enable-load-all-modules \ --with-ssl=/usr/local/
h1, h2, h3, h4, h5, h6 { padding: 0; margin: 0; }
table.users { margin: auto; width: 90%; table-layout: fixed; } table.users th.column-1 { width: 30px; } table.users th.column-2 { width: auto; } table.users th.column-3 { width: 150px; } table.users th.column-4 { width: 150px; } table.user…