This file contains hidden or 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
"http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<head> | |
<title>FisheyeList Widget Demonstration</title> | |
<style type="text/css"> | |
body, div, dl, dt, dd, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td { | |
margin: 0; |
This file contains hidden or 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
"http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<head> | |
<title>FisheyeList Widget Demonstration</title> | |
<style type="text/css"> | |
body, div, dl, dt, dd, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td { | |
margin: 0; |
This file contains hidden or 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
current template: | |
<div class="dojoxGrid" hidefocus="hidefocus" wairole="grid" dojoAttachEvent="onmouseout:_mouseOut"> | |
<div class="dojoxGridMasterHeader" dojoAttachPoint="viewsHeaderNode" tabindex="-1" wairole="presentation"></div> | |
<div class="dojoxGridMasterView" dojoAttachPoint="viewsNode" wairole="presentation"></div> | |
<div class="dojoxGridMasterMessages" style="display: none;" dojoAttachPoint="messagesNode"></div> | |
<span dojoAttachPoint="lastFocusNode" tabindex="0"></span> | |
</div> | |
possible alternative: |
This file contains hidden or 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 class="dojoxGridView" wairole="presentation"> | |
<div class="dojoxGridHeader" dojoAttachPoint="headerNode" wairole="presentation"> | |
<div dojoAttachPoint="headerNodeContainer" style="width:9000em" wairole="presentation"> | |
<div dojoAttachPoint="headerContentNode" wairole="row"></div> | |
</div> | |
</div> | |
<input type="checkbox" class="dojoxGridHiddenFocus" dojoAttachPoint="hiddenFocusNode" wairole="presentation" /> | |
<input type="checkbox" class="dojoxGridHiddenFocus" wairole="presentation" /> | |
<div class="dojoxGridScrollbox" dojoAttachPoint="scrollboxNode" wairole="presentation"> | |
<div class="dojoxGridContent" dojoAttachPoint="contentNode" hidefocus="hidefocus" wairole="presentation"></div> |
This file contains hidden or 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 type="text/javascript"> | |
dojo.require("dojo.data.ItemFileWriteStore"); | |
var fillStore = function(){ | |
dojo.xhrGet({ | |
url: "some/url", | |
handleAs: "json", | |
load: function(data, ioArgs){ | |
// handle your data here | |
} |
This file contains hidden or 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | |
<title>Untitled Document</title> | |
<style type="text/css"> | |
@import "http://ajax.googleapis.com/ajax/libs/dojo/1.2/dojo/resources/dojo.css"; | |
</style> | |
<script type="text/javascript" src='http://ajax.googleapis.com/ajax/libs/dojo/1.2/dojo/dojo.xd.js' |
This file contains hidden or 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | |
<title>Untitled Document</title> | |
<style type="text/css"> | |
@import "http://ajax.googleapis.com/ajax/libs/dojo/1.2/dojo/resources/dojo.css"; | |
</style> | |
<script type="text/javascript" src='http://ajax.googleapis.com/ajax/libs/dojo/1.2/dojo/dojo.xd.js' |
This file contains hidden or 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
new dijit.form.ComboBox({ | |
store: new dojo.data.ItemFileReadStore({ | |
data: cityJson | |
}), | |
autoComplete: true, | |
query: { | |
state: "*" | |
}, | |
style: "width: 150px;", | |
required: true, |
This file contains hidden or 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
var service = function(query, queryOptions){ | |
var dfd = new dojo.Deferred(); | |
var results = []; | |
// TODO: generate your results array here - it should look like your GET response | |
results = [ | |
{ | |
id: 'item1' | |
}, | |
{ |
This file contains hidden or 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
dojo.require('dojox.dtl'); | |
dojo.require("dojox.dtl.Context"); | |
dojo.addOnLoad(function(){ | |
var url = 'http://download.dojotoolkit.org/release-1.4.0/api.json'; | |
dojo.xhrGet({ | |
url: url, | |
handleAs: "json" | |
}).addCallback(function(data){ | |
var template = new dojox.dtl.Template( |
OlderNewer