Created
July 23, 2010 18:44
-
-
Save twobitfool/487862 to your computer and use it in GitHub Desktop.
simple dijit example
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
<html> | |
<head> | |
<title>Dojo Test</title> | |
<style type="text/css"> | |
/* use the tundra theme */ | |
@import "http://ajax.googleapis.com/ajax/libs/dojo/1.5/dijit/themes/claro/claro.css"; | |
/* Note that if you don't specify a minor revision, e.g. 1.5.0 or 1.4.3, the CDN will deliver the latest version */ | |
</style> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/dojo.xd.js.uncompressed.js" djConfig="parseOnLoad:true"></script> | |
<script type="text/javascript"> | |
dojo.require('dijit.form.FilteringSelect'); | |
</script> | |
</head> | |
<body class="claro"> | |
<select name="players" id="players" dojoType="dijit.form.FilteringSelect" autoComplete="true" pageSize="10"> | |
<option value="">Select an Arsenal Player</option> | |
<option value="Arshavin" selected="selected">Andrey Arshavin</option> | |
<option value="Vermaelen">Thomas Vermaelen</option> | |
<!-- more OPTION elements here --> | |
</select> | |
</body> | |
</html> |
changed theme to claro
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fixed the version in the path for the js file and added the class to the body tag
Thank you, phiggins42 -- https://gist.github.com/636bd317f8ed31b87887