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
<script src="/javascripts/ckeditor/ckeditor.js"></script> | |
<form action="/tutorial_43_demo_1" method="post"> | |
<textarea class="ckeditor" rows="5" cols="40" name="editor"><%= @text %></textarea> | |
<br> | |
<input type="submit" value="Submit"> | |
</form> | |
<hr> | |
<p>Raw text sent to the server:</p> |
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
<p>URL: http://maps.googleapis.com/maps/api/streetview?size=400x400&location=47.65072,-122.351209&heading=200&pitch=30&fov=60&sensor=false</p> | |
<img | |
src="http://maps.googleapis.com/maps/api/streetview?size=400x400&location=47.65072,-122.351209&heading=200&pitch=30&fov=60&sensor=false" | |
alt="Street View Image"/> |
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 id="map_canvas"></div> | |
<style> | |
#map_canvas { | |
margin-left: auto; | |
margin-right: auto; | |
padding: 0; | |
width: 600px; | |
height: 400px; | |
} |
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 id="map_canvas"></div> | |
<style> | |
#map_canvas { | |
margin-left: auto; | |
margin-right: auto; | |
padding: 0; | |
width: 600px; | |
height: 400px; | |
} |
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 id='container'> | |
<img src='assets/slideshow_3.png' id='myimage' /> | |
</div> | |
<p style='text-align: center'> | |
Click the image to expand - Hit the ESC key to collapse | |
</p> | |
<style type="text/css"> |
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
<p>Here is some placeholder text</p> | |
<div id="disqus_thread"></div> | |
<script type="text/javascript"> | |
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ | |
var disqus_shortname = 'webapprentice'; // required: replace example with your forum shortname | |
/* * * DON'T EDIT BELOW THIS LINE * * */ | |
(function() { |
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 id="transcript"> </div> | |
<br> | |
<div id="instructions"> </div> | |
<div id="controls"> | |
<button id="start_button">Click to Start</button> | |
</div> | |
<style> |
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
<p style="text-align: center">Click Start and begin speaking</p> | |
<canvas id="canvas" width="800" height="256" ></canvas> | |
<p id="controls"> | |
<input type="button" id="start_button" value="Start"> | |
| |
<input type="button" id="stop_button" value="Stop"> | |
</p> | |
<!-- ----------------------------------------------------- --> |
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
<video id="video"></video> | |
<br> | |
<div id="controls"> | |
<button id="start_button">Start Video</button> | |
<button id="stop_button">Stop Video</button> | |
<button id="capture_button">Capture Photo</button> | |
</div> | |
<br> | |
<canvas id="canvas"></canvas> |
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
<!-- depends on jQuery which must have been loaded before these lines --> | |
<link href="/facebox/facebox.css" media="screen" rel="stylesheet" type="text/css"/> | |
<script src="/facebox/facebox.js"></script> | |
<script> | |
jQuery(document).ready(function($) { | |
$('a[rel*=facebox]').facebox({ | |
loadingImage : '/facebox/loading.gif', | |
closeImage : '/facebox/closelabel.png' | |
}); |