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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body { | |
background: #fff; | |
} | |
#wrapper { | |
width: 700px; | |
height: 30px; | |
margin: auto; |
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
<canvas id='c'></canvas> |
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
/*HUE API*/ | |
body { | |
background: #fff; | |
} |
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 | |
$images = array(); // Array-Variable definieren | |
$folder = "assets/images/about/"; | |
$dir = openDir($folder); | |
while ($file = readDir($dir)) { | |
if ($file != "." && $file != ".." && !is_dir($file) && strpos($file, ".") > 0) { | |
if (strstr($file, ".gif") || | |
strstr($file, ".png") || | |
strstr($file, ".jpg")) { | |
$folder_file = $folder . $file; |
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
<select> | |
<optgroup label=""> | |
<option value="" selected="selected">Select Country</option> | |
</optgroup> | |
<optgroup label="common choices"> | |
<option value="United Kingdom">United Kingdom</option> | |
<option value="United States">United States</option> | |
<option value="France">France</option> | |
<option value="Germany">Germany</option> | |
<option value="Spain">Spain</option> |
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 | |
function create_thumb($img_src, $thumb_width, $thumb_height, $thumb_dir, $id, $setW = false, $setH = false) { | |
$image_infos = @getimagesize($img_src); | |
$width = $image_infos[0]; | |
$height = $image_infos[1]; | |
$type = $image_infos[2]; | |
$name = basename($img_src); | |
if ($setW == true || $setH == true) { | |
if ($setW == true) { |
NewerOlder