2014ǯ01

ƥ:
̳ˤƳϤФƤޤ

ФƤߤȡʤƤȤʤ
ʤäƴȴޤ

νФȼդ
֤ϤǼޤ
ȤʤȤ⤢äꡣ

ʤߤ˶ȼǥȤǤϤʤ
ʸɮȤˤꤷΤ(ʸɮȤǶ⤬ʤ餷)
ʤ󤫿ͤùޤ줿ꤹΤȡäȥɥɥƤΤǤۤ15äۤɽܤ̤ơϥ󥳤򲡤ƽλǤ

ޤʤΤäƴǤ

111ˤޤͳ1¤ϥȤΤĤƱﵯ餷ʹ顣

Ŀο˽Фơ
ȳ꿽e-taxǤ뤿ˡ
˹Ԥäƽ𥫡ɤƤޤȤΥɤ߹ѤΥɥ꡼ʤǤ
ʤ󤫿٤Ȥ򤷤ʤȤޤ󤬡Ȥ椦ȹǤͼʬ

ޤޤȤФäǼԤ뤳Ȥ⿧뤫Ȼפޤƻ˥ĥĤäƹԤȻפޤ

̳ϻפäݤʤäƤȤϤޤ狼ޤ褫äǤ

ƥ:
Ȥ륱ˤޤȻפΤǤнȤ

[php]
/**
* Yotubeưɲäwp_oembed_getĥ
*/
function namespace_oembed_youtube_custom( $html, $url, $args ) {

// YotubeưȽ
if ( !strstr($url, 'youtube.com') )
return $html;

// URLʸʬ
$url_string = parse_url($url, PHP_URL_QUERY);
parse_str($url_string, $id);

// ǥեȤ򥻥å
$defaults = array(
'width' = 480,
'height' = 385,
'showinfo' = true,
'rel' = true
);

// ǥեͤȥޡϢ
$args = wp_parse_args( $args, $defaults );

// ѿѴ
extract( $args, EXTR_SKIP );

// ȼΥѥ顼᡼ϻɲ
if ( isset($id['v']) ) {
return '<iframe width="' . intval($width) . '" height="' . intval($height) . '" src="http://www.youtube.com/embed/' . $id['v'] . '?rel=' . intval($rel) . '&showinfo=' . intval($showinfo) . '" frameborder="0" allowfullscreen></iframe>';
}

return $html;
}
add_filter('oembed_result', 'namespace_oembed_youtube_custom', 10, 3);
[/php]

ǡλȤ

[php]
echo wp_oembed_get( 'http://www.youtube.com/watch?v=mx4xeO3Xq7g', array( 'width' = 203, 'height' = 164, 'showinfo' = false, 'rel' = false ) );
[/php]

ߤʴǤ

[php]
'rel' = false
[/php]
äƤư˴Ϣư褬ɽˤʤޤ

ʤߤ
[php]
'showinfo' = false
[/php]
ʬưΥȥʬɽˤǤޤ

ޤϹǽʤɤǤYotubeưURLŽäƤäơ
ȤiFrameɽ˻ȤȻפޤ

[php]
'width' => 203, 'height' => 164
[/php]
iFrameι⤵ȲϺǽ餫鼫ͳѤޤ

ʾ塢нǤ

SassSCSSCompassǶȤäƤ

ƥ:
Ƕᡢ륷Ȥ񤯤ȤϤäѤSassפȤäƤޤ

ǽSassפäƤʤͤ󡩤äƻפäƤޤ

顢褯Ĵ٤Ƥߤȥ륷ȤΨ褯񤯤ȤΤǤ볫ȯĶߤʤΤäǤ͡

ƤΡSassפǺ륹륷ȤSCSSפȤ褦Ǥ

伫ȡȤȥ륷ȤäƤɤʤäƻפäƤͤäΤǡ
ΡSCSSפоϴäƤʤΤǤ

ʬSCSSƳˤäơʥȤĴ٤ƻʤ鸽ߤγȯĶ줿Τǡ
ؤäȾҲ𤷤Ȼפޤ

ͤˤ
http://hayashikejinan.com/webwork/239/

ȤեȤϰʲĤȤäƤޤ

  • Netbeans7.4


  • Koala




ޤȤäƤ륨ǥϡNetbeans7.4פǤ
7.4פSCSS˥ݡȤ줿褦ǡץ饰ʤɤ
ʤƤSCSSΥǥ󥰤бƤƤ褦Ǥ
7.3װʲȥץ饰Υ󥹥ȡ뤬ɬפǤ
[caption width="320" align="alignnone"] ιNetbeansľDreamweaverȤ䤹[/caption]

ơKoalaפȤΤSCSSե̾CSSե˥ѥ뤷Ƥ
եȤǤSCSSϤΤޤޤHTMLǧޤΤǡCSSѴɬפ
ޤSCSSǸΨ褯񤤤ơCSSѴȤäήǤ͡

[caption width="600" align="alignnone"] 줬KoalaǤ[/caption]

Koala˺ȤƤեϿƤǡ
SCSS¸뤿Ӥ˼ưCSSѴƤޤ

ǽϤKoalaȤ鷺ˡNetbeansǥѥ뤹褦˻ƤߤΤǤ
꤬ޤޤǤ椳Koala󤬤ΤäΤǡ
ʤ󤫤襤ȤäƤʴǤȤȤˤޤ
[caption width="300" align="alignnone"] 줬KoalaΥǤ[/caption]

ǡSCSSǤȤ褦ˤʤˤͥˤ񤫤ƤΤǤ
Ruby򥤥󥹥ȡ뤷ꡢޥɥץץȤȤäꡢ
ǥʡˤȤäƤϤäݤ⤷ޤ

ĿŪˤƳƤ餹CSS񤯤Τڤˤʤޤ
ʥץߥ󥰤򤷤Ƥ봶Фȶᤤ󤸤CSS򤢤Ĥ褦ˤʤäʤȻפޤ

ʬŪˤäȥǥåȤˤʤΤʤȻפäƤΤ
ʤǤ⤫Ǥҹ¤ǽ񤤤äơɾάǤϤΥ쥯ޤǵҤä
ȤΥѥեޥ󥹤򲼤ƤޤǽΤʤȤϻפޤ

[css]
#main {
width: 600px;
p {
margin-bottom: 1.5em;
}
}
[/css]
SCSSȤʴҤ˥񤯤ȤǤޤ
ʤ˥ʤȤǤеˤɬפʤȤϻפޤ

ޤȤˤCSS񤯤ΤڤˤʤääƤΤϼʬˤȤäƤϤΤ礭ȤʤΤǡ
ХХȤäƤȤϻפޤ
λȤäƤаޤʤɡʤȤǤäƤȤ
줫鵭˽񤤤ƤΤǤꤤޤ

åɥ쥤ȤΥȤƤޤ

ƥ:
ǯ11ǯˤơ
䤬˷Ȥ餻ƤȤҲ𤷤Ȼפޤ
ΥȤǤ
Globridge 2014-01-08 22-13-14
http://www.globridge.co.jp/

ǥ󡦥ǥ󥰤ôƤޤ

ΥȤܤƤΤϥȥåץڡ֥åɥ쥤ȡפȤˡǺäƤȤǤʥȥåץڡǤ
ʤ󤸤ǡ
Globridge 2014-01-08 22-19-50
֥饦β˹碌ơǤưǺŬ󤹤ȤǤ
ơμˡȤjQueryΡvgridפȤץ饰ѤƤޤ

ϤơΤ褦ʡ֥åɥ쥤ȡפΥȤ餻ƤΤǤ
ϤʤȤ⥵Ȥθɤ褯ʤ뤹Ф餷ˡʤȻפޤ
ǶήԤäƤ롩ʤä뵤ˤΤ⤹ʤޤ

[caption width="400" align="alignnone"] ʤΤȤ͡[/caption]

ȤΥȤϤ٤ơHTML5פǽ񤫤Ƥޤ
ɸͤˤʤHTML5פϡФ뤳Ȥ¿Ǥ
ĿŪˤϺޤǤ⡢ʸΰ̣ŤΤˤǤΤǹǤ
ޤޤФƤʤȤ⤤äѤޤ
ͤʤɤɤۼƤȻפäƤޤ

ʬǺäƤʤ顢ʤʤǤΥȤΥǥ
桹äƤޤʤ褯ǤʤȻפäƤޤ
ʷ빽ǼûƤʤäΤǤ

줫⤳ΥǥĶ褦˥ȺǤȻפޤ

ޤ



ޤǤΥۥĶ




Ǥ͡åĤΤȤ⤢äƥ꡼ʤΤǻȤäƤߤʤޤ

ƥ:
ߤʤޤƤǤȤޤ

ǯꤤޤ

ǯ᡹IJˤäƤޤǮФƤӤ⿩٤줺
ǿ֤Ǥ
㮤äΤʤȻפäƤޤ

äµˤʤäƤϤơ򹯤ΤΤ꤬ߤ
狼ΤǤ͡

äΤˤʤƤϤȤ餿ƻפäǤޤ

ΥڡΥȥåץ

Ф