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
<script src="http://code.jquery.com/jquery-latest.min.js"></script> | |
<script type="text/javascript"> | |
var max = 0; | |
$(".col").each(function(){ | |
if ($(this).height() > max) { | |
max = $(this).height(); | |
} | |
}); |
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 | |
// AROUND LINE 3909 in phpthumb.class.php: added >>>> header('Cache-Control:'); <<<< to the logic. | |
if (function_exists('ImageTypes')) { | |
$imagetypes = ImageTypes(); | |
if ($imagetypes & IMG_PNG) { | |
header('Content-Type: image/png'); | |
header('Cache-Control:'); | |
ImagePNG($gdimg_error); |
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
jQuery(document).ready(function ($) { | |
var $tagcloudArticles = $('#tagcloudArticles'); | |
$tagcloudArticles.imagesLoaded(function(){ | |
$tagcloudArticles.masonry({ | |
// options | |
itemSelector : '.brick', | |
columnWidth : 230 | |
}); |
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
var $container = $('#container'); | |
$container.imagesLoaded(function(){ | |
$container.masonry({ | |
itemSelector : '.item', | |
columnWidth : 240 | |
}); | |
}); |
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
.slideshow { | |
@include outerRow(); | |
@include mobileRow(); | |
@extend .white-box; | |
.slide { | |
@include column(12); | |
@include mobileColumn(4); | |
height: 400px; | |
padding: 8px; |
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> | |
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html lang="en"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8" /> |
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
$total-columns : 24; // a 24-column grid | |
$column-width : 1.875em; // each column is 30px wide | |
$grid-padding : 0.313em; // 5px grid-padding | |
$gutter-width : $grid-padding*2; // 5*2px gutters between columns | |
$desktop : 24; | |
$tablet : 16 (($column-width*16)+($gutter-width*15))em; | |
$mobile : 8 (($column-width*8)+($gutter-width*7))em; | |
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 | |
/*echo '<pre>'; | |
print_r($_GET); | |
echo '</pre>';*/ | |
if (empty($_GET['api'])) { | |
return 'Empty Request. No data saved.'; | |
} | |
else { | |
$db_water_flow = filter_var($_GET[waterFlow], FILTER_SANITIZE_STRING); |
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
<link rel="canonical" href="[[~[[*id]]? &scheme=`full`]]" /> | |
<meta property="og:image" content="[[++site_url]]pt/phpThumb.php?src=/[[*siteThumb]]&w=90&h=90&q=80&zc=T"/> | |
<meta property="og:site_name" content="[[++site_name:htmlent]]"/> | |
<meta property="og:title" content="[[*pagetitle]]"/> | |
<meta property="og:url" content="[[++site_url]][[~[[*id]]]]"/> | |
<meta property="og:type" content="article"/> | |
<meta itemprop="name" content="[[*pagetitle]]"> | |
<meta itemprop="description" content="[[*siteDescription:word_limit=`70`]]"> | |
<meta itemprop="image" content="[[++site_url]]pt/phpThumb.php?src=/[[*siteThumb]]&w=90&h=90&q=80&zc=T"> |
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
<h2>Something should show up down there</h2> | |
[[!simplx_widgeteer? | |
&dataSetUrl=`http://modxclub.com/rss-feed` | |
&useChunkMatching=`true` | |
&preprocessor=`widgeteer_preprocessor_xml2json` | |
&chunkPrefix=`modx.feed.tpl_` | |
]] | |
<hr/> |