diff options
author | Tom Willemsen | 2011-03-23 11:14:27 +0100 |
---|---|---|
committer | Tom Willemsen | 2011-03-23 11:14:27 +0100 |
commit | 0d342f0aee3f2f800e486c0051dabe718a7b2841 (patch) | |
tree | 1f55afabb8f4876dbe564f7ed5d8e573ddc78df3 /emacs.d/nxhtml/tests/in/mjt-imagesearch.html | |
parent | d4510153b17625a3dd2f1852cc6392fc26efecf6 (diff) | |
download | dotfiles-0d342f0aee3f2f800e486c0051dabe718a7b2841.tar.gz dotfiles-0d342f0aee3f2f800e486c0051dabe718a7b2841.zip |
I don't like nxhtml
Diffstat (limited to 'emacs.d/nxhtml/tests/in/mjt-imagesearch.html')
-rw-r--r-- | emacs.d/nxhtml/tests/in/mjt-imagesearch.html | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/emacs.d/nxhtml/tests/in/mjt-imagesearch.html b/emacs.d/nxhtml/tests/in/mjt-imagesearch.html deleted file mode 100644 index 1ec9cd8..0000000 --- a/emacs.d/nxhtml/tests/in/mjt-imagesearch.html +++ /dev/null @@ -1,46 +0,0 @@ -<!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" xml:lang="en" lang="en"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>mjt yahoo test</title> -<script type="text/javascript" src="http://mjtemplate.org/dist/mjt-0.6/mjt.js"></script> -<script type="text/javascript" src="http://mjtemplate.org/dist/mjt-0.6/src/yahooapi/yahooapi.js"></script> -</head> -<body onload="mjt.run('top')"> -<h2>Yahoo image search example</h2> -using -<a href="http://mjtemplate.org">mjt</a> -to interact with the -<a href="http://developer.yahoo.com/common/json.html">yahoo json api</a> -<div id="top" style="display:none;"> -<div mjt.task="o"> - mjt.yahooapi.ImageSearch(mjt.urlquery.query||'kathakali') - </div> -<form method="get" action=""> -<div> -<input type="text" name="query" value="${mjt.urlquery.query||''}" /> -<input type="submit" value="search" /> -</div> -</form> -<div mjt.choose="o.state"> -<div mjt.when="ready"> -<div mjt.for="img in o.result.Result"> -<h3>$img.Title</h3> -<img alt="image" src="#" mjt.src="$img.Thumbnail.Url" style="float:left" /> -<div>$img.Summary</div> -<hr style="clear:both" /> -</div> -</div> -<div mjt.when="wait"> - loading... - </div> -<div mjt.when="error"> -<div mjt.for="msg in o.messages"> - $msg.message - </div> -</div> -</div> -</div> -</body> -</html> |