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
/** | |
* Equal Heights Plugin | |
* Equalize the heights of elements. Great for columns or any elements | |
* that need to be the same size (floats, etc). | |
* | |
* Version 1.0 | |
* Updated 12/10/2008 | |
* | |
* Copyright (c) 2008 Rob Glazebrook (cssnewbie.com) | |
* |
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(){ | |
$("a.switch_thumb").toggle(function(){ | |
$(this).addClass("swap"); | |
$("ul.display").fadeOut("fast", function() { | |
$(this).fadeIn("fast").addClass("thumb_view"); | |
}); | |
}, function () { | |
$(this).removeClass("swap"); | |
$("ul.display").fadeOut("fast", function() { |
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
[[!IfNotInList? &list=`48,51,52,53` &show=`<p>whatever I want</p>`]] |
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
/* IfNotInList - Exclude Resources based on ID */ | |
[[!IfNotInList? &list=`48,51,52,53` &show=`<p>whatever I want</p>`]] | |
/* THE SNIPPET FOR MODX */ | |
<?php | |
/* IfNotInList snippet */ | |
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
/* phpthumbof image */ | |
[[+tv.mainImage:default=`images/news-blank.gif`:phpthumbof=`w=380&h=165&zc=1`]] |
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 Formatting */ | |
[[+publishedon:strtotime:date=`%a %b %e, %Y`]] |
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
.NetworkBar | |
{ | |
height: 55px; | |
position: fixed; | |
width: 100%; | |
background-position: 0 0; | |
z-index: 99999; | |
top: 0; | |
-webkit-animation: dropin .8s ease; | |
-moz-animation: dropin .8s ease; |
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() { | |
//When page loads... | |
$(".tab_content").hide(); //Hide all content | |
$("ul.tabbed-content li:first").addClass("active").show(); //Activate first tab | |
$(".tab_content:first").show(); //Show first tab content | |
//On Click Event | |
$("ul.tabbed-content li").click(function() { |
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
/* Tabbed Box */ | |
.tabContainer { | |
display:block; | |
margin:0; | |
padding:0; | |
} | |
.tabDesc { | |
display:block; | |
margin:0; | |
padding:10px 10px 0 10px; |
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
[[!getResources? &parents=`2` &tpl=`thumbnail` &includeContent=`1` &showUnpublished=`1` &showHidden=`1` &processTVs=`1` &includeTVs=`1` &tvPrefix=`` &sortdir=`ASC` &sortby=`[[!getResourcesTree? &parents=`2`]]` &limit=`0` &depth=`0`]] |