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>jQuery UI Dialog - Animation</title> | |
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css"> | |
<script src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script> | |
<link rel="stylesheet" href="/resources/demos/style.css"> | |
<script> |
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
/* Start of live datepicker function */ | |
var datePicker = $(function() { | |
$( "#from, #to" ).datepicker({ | |
defaultDate: "+0w", | |
changeMonth: false, | |
dateFormat: 'mm-dd-yy', | |
numberOfMonths: 2, | |
minDate: 0, // the minimum selection date | |
onSelect: function( selectedDate ) { |
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> | |
<head> | |
<link rel="stylesheet" href="custom-booking-search.css"> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"> | |
</script> | |
<script> | |
$(document).ready(function(){ | |
$(document).ajaxStart(function(){ | |
$("#plane-border").css("display","block"); |
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"> | |
<!-- The page title that is displayed in the top of the browser --> | |
<title>The HTML5 Herald</title> | |
<!-- Meta content describes your page and is indexed by search engines such as Google --> | |
<meta name="description" content="The HTML5 BASE template"> |
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
MYPATH=$1 | |
find "$MYPATH" -name *.jpg -exec basename {} \; > /tmp/patterns | |
find "$MYPATH" -name *.jpeg -exec basename {} \; >> /tmp/patterns | |
find "$MYPATH" -name *.png -exec basename {} \; >> /tmp/patterns | |
find "$MYPATH" -name *.gif -exec basename {} \; >> /tmp/patterns | |
find "$MYPATH" -name *.css -exec basename {} \; >> /tmp/patterns | |
find "$MYPATH" -name *.js -exec basename {} \; >> /tmp/patterns | |
find "$MYPATH" -name *.php -exec basename {} \; >> /tmp/patterns |
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
<html> | |
<head> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script> | |
<link rel="stylesheet" href="../css/ui.css"> | |
</head> | |
<body> | |
<div id="tempload"></div> | |
<button id="btntest" name="btntest">test</button> |
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
function toggle(id) { | |
var element = document.getElementById(id); | |
if(element.style.display == "block") | |
hide(id); | |
else | |
show(id); | |
} |
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
public function getGoogleAnalytics () | |
{ | |
$googleid = Config::getConfig()->getPreference('googleAnalyticsCode'); | |
$basketWidget = $this->getWidget('basket'); | |
$clientData = $this->getClientDataForOrderReview($clientID); | |
$orderData = $this->getOrderData($basketWidget,$clientData); | |
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
<html> | |
<head> | |
<title>Dragable Demo</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script> | |
<script src="ui.js"></script> | |
<style> | |
.item { | |
height: 180px; |
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
// http://wp.tutsplus.com/tutorials/plugins/two-ways-to-develop-wordpress-plugins-object-oriented-progamming/ | |
class My_Widget extends WP_Widget { | |
public function __construct() { | |
// widget actual processes | |
} | |
public function form( $instance ) { | |
// outputs the options form on admin |