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
<script type="text/javascript"> | |
//<![CDATA[ | |
var params = { | |
wmode: 'transparent' | |
}; | |
var flashvars = {}; | |
flashvars.brand_id = "<!--{brand_id}-->"; | |
flashvars.gender = "<!--{gender}-->"; | |
swfobject.embedSWF("images/product-explorer.swf", "productExplorerApp", "595", "477", "8.0.0", "images/expressInstall.swf", flashvars, params); |
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 | |
// source: http://spaceninja.com/2009/07/twitter-php-caching/ | |
// | |
// define $twitterUsername and $twitterTweets in functions.php | |
// | |
global $twitterUsername, $twitterTweets; | |
define("SECOND", 1); | |
define("MINUTE", 60 * SECOND); | |
define("HOUR", 60 * MINUTE); |
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
#ninja_form { | |
&.ninja-success { | |
font-size: 1.6em; | |
line-height: 1.6em; | |
} | |
} | |
/* popup overlay */ | |
.ui-widget-overlay { |
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
// change buttons in WYSWIG post editor, edit color palette | |
function change_mce_options( $init ) { | |
$init['theme_advanced_text_colors'] = 'bf2113,0f3a62,292929,000,FFF,d8d8d8,999'; | |
// $init['theme_advanced_more_colors'] = false; | |
return $init; | |
} | |
add_filter('tiny_mce_before_init', 'change_mce_options'); |
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
/*integer to roman numeral converter*/ | |
function numberToRoman($num) { | |
// Make sure that we only use the integer portion of the value | |
$n = intval($num); | |
$result = ''; | |
// Declare a lookup array that we will use to traverse the number: | |
$lookup = array('M' => 1000, 'CM' => 900, 'D' => 500, 'CD' => 400, | |
'C' => 100, 'XC' => 90, 'L' => 50, 'XL' => 40, | |
'X' => 10, 'IX' => 9, 'V' => 5, 'IV' => 4, 'I' => 1); |
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
/*=======================================================*/ | |
/* TIPTIP START */ | |
/*=======================================================*/ | |
/* TipTip CSS - Version 1.2 */ | |
#tiptip_holder { | |
display: none; | |
position: absolute; | |
top: 0; | |
left: 0; |
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 mixColors($color1, $color2, $strength = 0.5) { | |
$strengthOppose = 1 - $strength; | |
$color1_red = hexdec(substr($color1, 0, 2)); | |
$color1_green = hexdec(substr($color1, 2, 2)); | |
$color1_blue = hexdec(substr($color1, 4, 2)); | |
$color2_red = hexdec(substr($color2, 0, 2)); | |
$color2_green = hexdec(substr($color2, 2, 2)); |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>List Maker</title> | |
<script> | |
var prefix = "bingo_", // prefix | |
extension = ".bmp", // file extension | |
suffix = " 9", // output suffix | |
countStart = 10, // start number |
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
/* | |
* jQuery FlexSlider v2.0 | |
* http://www.woothemes.com/flexslider/ | |
* | |
* Copyright 2012 WooThemes | |
* Free to use under the GPLv2 license. | |
* http://www.gnu.org/licenses/gpl-2.0.html | |
* | |
* Contributing author: Tyler Smith (@mbmufffin) | |
*/ |
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
/*! fancyBox v2.1.4 fancyapps.com | fancyapps.com/fancybox/#license */ | |
.fancybox-wrap, | |
.fancybox-skin, | |
.fancybox-outer, | |
.fancybox-inner, | |
.fancybox-image, | |
.fancybox-wrap iframe, | |
.fancybox-wrap object, | |
.fancybox-nav, | |
.fancybox-nav span, |
OlderNewer