This file contains hidden or 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 | |
/* | |
* Warning! Read and use at your own risk! | |
* | |
* This tiny proxy script is completely transparent and it passes | |
* all requests and headers without any checking of any kind. | |
* The same happens with JSON data. They are simply forwarded. | |
* | |
* This is just an easy and convenient solution for the AJAX |
This file contains hidden or 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> | |
<h1>Ginto Menu</h1> | |
<div class="nav-bar"> | |
<ul> | |
<li><a href="<?php echo $_SERVER['PHP_SELF'] . "?Category=STARTERS"; ?>">Starters</a></li> | |
<li><a href="<?php echo $_SERVER['PHP_SELF'] . "?Category=SASHIMI"; ?>">Sashimi</a></li> | |
<li><a href="<?php echo $_SERVER['PHP_SELF'] . "?Category=SALAD"; ?>">Salads</a></li> | |
<li><a href="<?php echo $_SERVER['PHP_SELF'] . "?Category=FRIED"; ?>">Fried</a></li> | |
<li><a href="<?php echo $_SERVER['PHP_SELF'] . "?Category=YAKITORI"; ?>">Yakitori</a></li> | |
<li><a href="<?php echo $_SERVER['PHP_SELF'] . "?Category=ENTREE / DINNER SETS"; ?>">Entree / Dinner Sets</a></li> |
This file contains hidden or 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
@media only screen and (min-width: 768px) { | |
/* ==================== | |
WIDE: CSS3 Effects | |
==================== */ | |
.header-container, | |
.main aside { | |
-webkit-box-shadow: 0 5px 10px #aaa; | |
-moz-box-shadow: 0 5px 10px #aaa; |
This file contains hidden or 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
@media only screen and (min-width: 480px) { | |
/* ==================== | |
INTERMEDIATE: Menu | |
==================== */ | |
nav a { | |
float: left; | |
width: 27%; | |
margin: 0 1.7%; |
This file contains hidden or 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
----------------------------------------------------------------------------------------- | |
-- | |
-- File: main.lua | |
-- | |
-- Author: Jace W. Brown | |
-- Class: WNM 300 OL1: INTERACTIVE APPLICATIONS | |
-- Project: Assignment 10.1: Interactive Book—Accelerometer | |
-- | |
----------------------------------------------------------------------------------------- |
This file contains hidden or 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
local function on_accelerometer( event ) | |
if event.xGravity < 0 then | |
scene_index = scene_index - 1 | |
if scene_index < 1 then | |
scene_index = 6 | |
end | |
composer.gotoScene( scene_array[ scene_index ], {effect="slideRight", time=400} ) | |
if event.xGravity > 0 then | |
scene_index = scene_index + 1 | |
end |
This file contains hidden or 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
local function on_accelerometer( event ) | |
if event.xGravity < 0 then | |
scene_index = scene_index - 1 | |
if scene_index < 1 then | |
scene_index = 6 | |
end | |
composer.gotoScene( scene_array[ scene_index ], {effect="slideRight", time=400} ) | |
else if event.xGravity > 0 then | |
scene_index = scene_index + 1 | |
if scene_index > #scene_array then |
This file contains hidden or 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> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]--> | |
<!--[if gt IE 8]><!--> | |
<html class="no-js" lang=""> | |
<!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> |
This file contains hidden or 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
local friends = {} | |
local function display_friends() | |
print( "*** Friends ***" ) | |
for i = 1, #friends do | |
print( i, friends[i].name, friends[i].rating ) | |
end | |
end |
This file contains hidden or 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> | |
<div style="width:800px; margin:0 auto;"> | |
centered content | |
</div> | |
</body> |
NewerOlder