Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: fad6a744a7
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (30 sloc) 1.05 kb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script type="text/javascript" src="javascript/urldemo.js"></script>
<title>Google URL Shortener Demo</title>
</head>
<body>
<div id="container">
<h1>Google URL Shortener Demo</h1>
<div id="wrapper">
<h2>Shorten a Long URL</h2>
<input type="text" id="long-url" name="long-url" value="" />
<a href="javascript:;" id="shorten-url">
Shorten URL
</a>
<span id="shortened-url"></span>
</div>
</div>
<div class="wrapper">
<h2>Lengthen a URL</h2>
<input type="text" id="short-url" name="short-url" value="" />
<a href="javascript:;" id="expand-url">
Expand URL
</a>
<span id="lengthened-url"></span>
</div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.