Skip to content

Instantly share code, notes, and snippets.

View tedshd's full-sized avatar

Ted tedshd

View GitHub Profile
// START WRAPPER: The YUI.add wrapper is added by the build system, when you
// use Shifter to build your component from the raw source in this file
YUI.add("iframe-step", function(Y) {
/* Any frequently used shortcuts, strings and constants */
var Lang = Y.Lang;
/* IframeStep class constructor */
function IframeStep(config) {
IframeStep.superclass.constructor.apply(this, arguments);
@tedshd
tedshd / Oo_test.html
Created February 7, 2013 08:13
iframe-step.js
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Examples</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link href="" rel="stylesheet">
<script src="http://yui.yahooapis.com/3.8.1/build/yui/yui-min.js"></script>
@tedshd
tedshd / Oo_test.html
Created February 18, 2013 01:21
iframe-step-v2
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Examples</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link href="" rel="stylesheet">
<script src="http://yui.yahooapis.com/3.8.1/build/yui/yui-min.js"></script>
@tedshd
tedshd / Oo_test.html
Created February 18, 2013 03:59
iframe-step-v3
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Examples</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link href="" rel="stylesheet">
<script src="http://yui.yahooapis.com/3.8.1/build/yui/yui-min.js"></script>
@tedshd
tedshd / Oo_test.html
Created February 18, 2013 08:39
iframe-step-v4
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Examples</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link href="" rel="stylesheet">
<script src="http://yui.yahooapis.com/3.8.1/build/yui/yui-min.js"></script>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Keyboard</title>
<meta name="description" content="">
<meta name="keywords" content="">
<style type="text/css">
#keyboard {
position:absolute;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>yui get click index</title>
<script src="http://yui.yahooapis.com/3.8.1/build/yui/yui-min.js"></script>
<script type="text/javascript">
YUI().use('node', function (Y) {
Y.all(".classtest li").on("click", function(e) {
Y.log(this.indexOf(e.currentTarget));
@tedshd
tedshd / get.php
Created April 6, 2013 05:17
Get length limit test
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Get</title>
</head>
<body>
<?pdp
echo 'Get' . htmlspecialchars($_GET['get_length']);
?>
@tedshd
tedshd / loop.html
Created April 9, 2013 08:54
channel loop
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Loop</title>
<style>
body {
/*overflow: hidden;*/
}
.loop {
@tedshd
tedshd / focus.html
Created April 11, 2013 10:05
focus effect
<!DOCTYPE html>
<html>
<head>
<title>Focus</title>
<style>
body {
font-size: 24px;
background: #333;
}
li {