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> | |
<head> | |
<title>3D Demos</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, minimum-scale=1.0" /> | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<meta name="apple-mobile-web-app-status-bar-style" content="default" /> | |
<link rel="apple-touch-icon" href="icon.png" /> | |
<link href="styles.css" rel="stylesheet" /> |
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
<!-- For iPhone 4 with high-resolution Retina display: --> | |
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114x114-precomposed.png"> | |
<!-- For first-generation iPad: --> | |
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-72x72-precomposed.png"> | |
<!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: --> | |
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png"> | |
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
#VRML V2.0 utf8 | |
EXTERNPROTO TextToSpeech [ | |
exposedField SFString description | |
exposedField SFFloat pitch | |
exposedField SFFloat volume | |
exposedField SFFloat speed | |
exposedField SFBool enabled | |
eventIn SFString text | |
eventOut SFBool isActive |
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
#VRML V2.0 utf8 | |
Sound { | |
location 0 0 10 | |
spatialize FALSE | |
source DEF mp3 AudioClip { | |
loop FALSE | |
## Français |
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
#VRML V2.0 utf8 | |
Viewpoint{ | |
position 0 0 10 | |
} | |
# |
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"> | |
<style> | |
body { | |
background: #333333; | |
} |
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
.fieldset { | |
position: relative; | |
font-size: sans-serif; | |
display: block; | |
width: 100%; | |
padding: 0; | |
margin: 20px 0; | |
height: 64px; | |
} |
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 | |
/** | |
* Calculate the time elapsed from the timestamp described in the string | |
* and converts into a human-readable version (e.g. "about 3 days ago"). | |
*/ | |
function how_long_ago($date) { | |
$ago = false; | |
$elapsed = time() - strtotime($date); | |
if ($elapsed <= 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
#VRML V2.0 utf8 | |
Inline{url "some_file.wrl"} | |
DEF mouse MouseSensor {} | |
DEF script Script { | |
eventIn SFVec2f position | |
eventIn SFBool click | |
directOutput TRUE | |
url "javascript: |
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
<!-- | |
Works even without the "plus" extension of the Templates plugin. | |
http://github.com/nje/jquery-tmpl | |
--> | |
<script id="MyStaticTemplate" type="text/x-jquery-tmpl"> | |
<div>Hello ${hello}</div> | |
</script> | |
<script> |
OlderNewer