- One thing
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 | |
/* Emails in php are typically sent with the `mail()` function.You can see the | |
* details of that funciton here: | |
* http://php.net/manual/en/function.mail.php | |
* Then, to redirect the user you can use the `header()` function. You can | |
* learn more about that function here: | |
* http://us2.php.net/manual/en/function.header.php Here's a | |
* very simple solution. I'll assume you've already populated the variables I | |
* use. | |
*/ |
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
/* Copyright (c) 2009 Mustafa OZCAN (http://www.mustafaozcan.net) | |
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) | |
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. | |
* Version: 1.0.2 | |
* Requires: jquery.1.3+ | |
*/ | |
jQuery.fn.fixedtableheader = function (options) { | |
var settings = jQuery.extend({ | |
headerrowsize: 1, | |
highlightrow: false, |
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
<!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!--> | |
<html <?php language_attributes(); ?>> | |
<!--<![endif]--><?php echo "magic!" ?> |
Steps for reproducing issues with project-wide find:
- Open a project (or drag a folder onto Espresso)
- Do a project-wide find for something.
- Switch to a different application in whatever way you please.
- Switch back to Espresso
Result:
The search results go away and if a result was selected before switching to a different application, that result will not show up in subsequent searches. Re-opening the folder/project allows any affected files to appear in search results again.
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
/* Builds a list of images found in the linked style sheets | |
* | |
* Adapted from stackoverflow.com/questions/2430503/list-of-all-background-images-in-dom/2453880#2453880 | |
* | |
* This method has the advantage of finding URLs for background images that no | |
* element in the DOM uses yet. | |
* | |
* @return {array} | |
* List of unique image URLs as specified in the style sheets. | |
------------------------------------------------------------------------- */ |
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
/** A carousel plugin | |
@author Donovan Mueller ([email protected]) | |
@url https://gist.github.com/1303150 | |
------------------------------------------------------------------------ */ | |
;(function donutCarouselPlugin($){ | |
var $methods = {} | |
, $settings = { frameSelector: '.slides' | |
, listSelector: 'ul' | |
// Assumed to be a child of `frameSelctor`. | |
// The list of slides will be built from the direct |
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
// Is this a touch-based device? | |
window.navigator.isTouchDevice = | |
( window.navigator.userAgent && | |
window.navigator.userAgent.search( | |
/iPod|iPad|iPhone|IEMobile|BlackBerry|webOS|Android|Fennec/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
// Try to guess if the current window is a "popup" | |
window.isPopup = | |
window.isPopup || window.opener || | |
(window.locationbar && window.locationbar.visible === false) || | |
false; |
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 code below should be included in a separate file using IE conditional comments | |
as it causes errors in IE8(+?) */ | |
/** | |
* DD_belatedPNG: Adds IE6 support: PNG images for CSS background-image and HTML <IMG/>. | |
* Author: Drew Diller | |
* Email: [email protected] | |
* URL: http://www.dillerdesign.com/experiment/DD_belatedPNG/ | |
* Version: 0.0.8a | |
* Licensed under the MIT License: http://dillerdesign.com/experiment/DD_belatedPNG/#license |