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 PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
<!--[if lt IE 7]><html class="lt-ie9 lt-ie8 lt-ie7" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><![endif]--> | |
<!--[if IE 7]><html class="lt-ie9 lt-ie8" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><![endif]--> | |
<!--[if IE 8]><html class="lt-ie9" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><![endif]--> | |
<!--[if gt IE 8]><!--><html xmlns="http://www.w3.org/1999/xhtml"><!--<![endif]--> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width" /> | |
<title>Acquinity Interactive Demo</title> |
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
/********************************************************** | |
* Control Room | |
**********************************************************/ | |
@base: #0f1b38; | |
Map { background-color:@base; } | |
.water-poly { polygon-fill:@base; } |
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
require.config({ | |
paths: { | |
jquery: '../components/jquery/jquery' | |
}, | |
shim: { | |
"foundation/foundation" : { deps: ["jquery"] }, | |
"foundation/foundation.alerts": { deps: ["jquery"] }, | |
"foundation/foundation.clearing": { deps: ["jquery"] }, | |
"foundation/foundation.cookie": { deps: ["jquery"] }, | |
"foundation/foundation.dropdown": { deps: ["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
$('#case-sliders').foundation('orbit', { stack_on_small: false, animation_speed: 750, bullets: false, bullets: true, }, function (response) { | |
$('#case-sliders').find('.orbit-timer span').click(); | |
}) |
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
@sans:"Droid Sans Book","Arial Regular","DejaVu Sans Book"; | |
@sans_bold:"Droid Sans Bold","Arial Bold","DejaVu Sans Bold"; | |
/********************************************************** | |
* Control Room | |
**********************************************************/ | |
@base: #0f1b38; |
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
Where did Shen Jiji get his idea for the pillow story? | |
Having heard the story written by Shen Jiji, there is a natural question that comes up: Where did Shen Jiji get the idea from his story and what significance does it have to the times? The editor of the copy we are given also introduces a number of questions such as where was the original story first documented, who was the author, and what impact did his life’s work have on the story. Shen Jiji wrote Zheng Zhong Ji, translated as, “The World Inside the Pillow” or “The Account Upon a Pillow” to share a common Buddhist idea that desires are nothing but a dream. It is important to recognize that Shen Jiji’s story resonates closely with other authors from before his time as well as personal experiences from his own life. | |
Time period | |
We can first look at the time period Shen JiJi was living in to understand the cultural conditions he found himself writing in. Shen Jiji’s exact birth and death dates are not known, but it is somewhat known that he lived in |
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 request(type, url, opts, callback) { | |
var xhr = new XMLHttpRequest(), | |
fd; | |
if (typeof opts === 'function') { | |
callback = opts; | |
opts = null; | |
} | |
xhr.open(type, url); |
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
element.dataset.user = JSON.stringify(user); | |
element.dataset.score = score; |
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
$('body').addClass('hasJS'); | |
// or | |
document.body.className += ' hasJS'; | |
We can do: | |
document.body.classList.add('hasJS'); | |
Isn’t that pretty? |