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
// Add preview controls | |
$form['displays']['preview_controls'] = array( | |
'#theme_wrappers' => array('container'), | |
); | |
// Add a checkbox controlling whether or not this display auto-previews. | |
$form['displays']['preview_controls']['live_preview'] = array( | |
'#type' => 'checkbox', | |
'#title' => t('Auto preview'), |
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> | |
<meta charset="UTF-8" /> | |
<title>Untitled</title> | |
<meta name="viewport" content="width=device-width" /> | |
<style type="text/css"> | |
li { | |
clear: left; | |
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
name = acquia_base | |
description = Default XHTML starterkit for <a href="http://drupal.org/project/omega">Omega</a>. You should not directly edit this starterkit, but make your own copy. Information on this can be found in the <a href="http://himer.us/omega-docs">Omega Documentation</a>. | |
core = 7.x | |
engine = phptemplate | |
screenshot = screenshot.png | |
base theme = omega | |
; REGIONS | |
; REQUIRED CORE REGIONS |
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
name = acquia_com | |
description = Acquia.com theme. Sub-theme of acquia_base | |
core = 7.x | |
engine = phptemplate | |
screenshot = screenshot.png | |
base theme = acquia_base | |
; JAVASCRIPT | |
scripts[] = 'js/acquia-com.js' |
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
name = acquia_base | |
description = Acquia properties base theme. This theme should be sub-themed. It should never be published on its own. | |
core = 7.x | |
engine = phptemplate | |
screenshot = screenshot.png | |
base theme = omega | |
; JAVASCRIPT | |
scripts[] = 'js/acquia-base.js' |
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> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Untitled</title> | |
<meta name="viewport" content="width=device-width" /> | |
<!--[if lt IE 9]> | |
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> |
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 ($) {} (jQuery)); |
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> | |
<meta http-equiv="content-type" content="text/html;charset=UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Untitled</title> | |
<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1" /> | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<link type="text/plain" rel="author" href="/humans.txt" /> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></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
$('<div>', { | |
html: $('<a>', { | |
href: 'http://qemistry.us', | |
text: 'this is a link' | |
}) | |
}) | |
.appendTo($('body')); |
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
// Create callbacks for the prep event to trigger. | |
var readyCallbacks = $.Callbacks(); | |
readyCallbacks.add(addControls); | |
readyCallbacks.add(changeSlide); | |
// Event bindings | |
$preso.on({ | |
'screen.preso': sizeSlides, | |
'load.preso': loadExternalContent, | |
'content.preso': prepContent, | |
'ready.preso': readyCallbacks.fire |
OlderNewer