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
$(document).ready(function() { | |
$('#iframe00').load(function(){ | |
$(this).contents().find('#dc_sisan1').css('height','424px'); | |
$(this).contents().find('#dc_sisan2').css('height','404px'); | |
$(this).contents().find('#dc_sisan3').css('display',''); | |
}); |
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<title>文書のタイトル</title> | |
<style type="text/css"> | |
div.example { | |
width: 100%; | |
} |
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
<div id="page"> | |
<h1>アイススプレー【使用上の注意】</h1> ← 見出し1 | |
<p>使用前に次の説明を必ずお読みください。</p> | |
<div id="section1"> | |
<h2>してはいけないこと</h2> | |
<p>守らないと現在の症状が悪化したり、副作用が起こりやすくなる。</p> | |
<p>次の部位には使用しないこと。</p> | |
<ul> ← 順序のないリスト | |
<li>目や目の周囲、粘膜。</li> | |
<li>湿疹。</li> |
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
date("Y/m/d H:i:s", time()) |
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
<?php | |
require_once 'Zend/Registry.php'; | |
Zend_Registry::set('foo', $data); // set()メソッドを使い(キー, 値)をセット | |
$data = Zend_Registry::get('foo'); // get()メソッドを使いキーを指定して値取得 | |
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
$nSess = new Zend_Session_Namespace("piyo"); | |
$nSess->setExpirationSeconds(10); // ここから10秒 | |
$nSess->setExpirationSeconds(10); // 更にここから10秒伸びる |
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
$actionName = $this->getRequest()->getActionName(); |
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
$test03=array( | |
array('111', '222'), | |
array('333', '444') | |
); | |
foreach ($test03 as $key1 =>$val1) { | |
foreach ($val1 as $key2 => $val2) { | |
debug($key2 . "=>" . $val2); | |
} |
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
include 'ChromePhp.php'; | |
ChromePhp::log('Hello console!'); | |
ChromePhp::log($_SERVER); | |
ChromePhp::warn('something went wrong!'); | |
<?php | |
// demo.php | |
include 'ChromePhp.php'; | |
ChromePhp::log('Hello console!日本語もOK'); |
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
<form method="post" action="/プロジェクト/public/コントローラー/アクション"> |