⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 part 2 dijit - the dojo widget library the dojo toolkit.mht

📁 dojo学习资料,从初级开始学起,是初学都认识dojo的好帮手.
💻 MHT
📖 第 1 页 / 共 5 页
字号:
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-3-programmatic-dij=
it-and-dojo-0">Part=20
    3: JavaScript With Dojo and Dijit</A>=20
    <LI class=3Dcollapsed id=3Dmenu-item-300><A=20
    =
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-4-meta-dojo-0">Par=
t 4:=20
    Testing, Tuning and Debugging</A>=20
    <LI class=3Dcollapsed id=3Dmenu-item-301><A=20
    =
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-5-dojox-extensions=
-dojo-0">Part=20
    5: DojoX</A> </LI></UL>
  <LI class=3Dcollapsed id=3Dmenu-item-54><A title=3D"The Dojo Book, =
0.4"=20
  href=3D"http://dojotoolkit.org/book/dojo-book-0-4">The Dojo Book, =
0.4</A>=20
</LI></UL></DIV></DIV></DIV></DIV>
<DIV class=3D"col-b content-region-container">
<DIV id=3Dmain-container><!-- main_content region -->
<H2>Part 2: Dijit - The Dojo Widget Library</H2><!--Node: -->
<DIV class=3Dnode>
<DIV class=3Dsubmitted>Submitted by criecke on Sat, 04/28/2007 - =
19:02.</DIV>
<DIV class=3Dcontent><A title=3D"View: themeTester.png"=20
href=3D"http://www.dojotoolkit.org/files/themeTester_1.png"><IMG =
class=3Dinline=20
title=3DthemeTester.png alt=3DthemeTester.png=20
src=3D"http://www.dojotoolkit.org/files/themeTester_1.png"></A>=20
<P><I>Dijit</I> is a widget system layered on top of dojo.&nbsp; If you =
are new=20
to the whole Dojo experience, Dijit is a good place to start.&nbsp; You =
can=20
build amazing Web 2.0 GUI's using very little, or no, JavaScript.&nbsp; =
</P>
<P>You can use Dijit in one of two ways: <I>declaratively</I> by using =
special=20
attributes inside of regular HTML tags, and <I>programmatically</I> =
through=20
JavaScript. You have the same options either way. As we did in <A=20
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-1-life-dojo-0">Par=
t 1</A>,=20
we'll use declarative Dijit for all the examples in this part. <A=20
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-3-programmatic-dij=
it-and-dojo-0">Part=20
3</A> will show how to <A=20
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-3-programmatic-dij=
it-and-dojo-0/manipulating-widgets-through-code">make=20
the same calls programmatically.</A> </P>
<P>Dijit comes bundled with its own theme, tundra, which brings a common =
design=20
and color scheme to all the widgets.&nbsp; You can override the theme by =

container or by element to add nuance and flair.&nbsp;</P>
<P>Everything in Dijit is designed to be globally accessible -- to =
accommodate=20
users with different languages and cultures as well as those with =
different=20
abilities. Language translations, bi-directional text, and cultural=20
representation of things like numbers and dates are all encapsulated =
within the=20
widgets. Server interactions are done in a way that makes no assumptions =
about=20
local conventions. All widgets are keyboard accessible and using the =
standard=20
Dijit theme, usable in high-contrast mode as well as by screen readers. =
These=20
features are baked in so that, as much as possible, all users are =
treated=20
equally.</P>
<DIV class=3Dbook-navigation>
<UL class=3Dmenu>
  <LI class=3Dleaf><A=20
  =
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/dijit-glan=
ce">Dijit=20
  at a Glance</A>
  <LI class=3Dleaf><A=20
  =
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/common-att=
ributes">Common=20
  Features</A>
  <LI class=3Dcollapsed><A=20
  =
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-valid=
ation-specialized-input">Form,=20
  Validation, Specialized Input</A>
  <LI class=3Dcollapsed><A=20
  =
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/layout">La=
yout</A>
  <LI class=3Dcollapsed><A=20
  =
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/command-co=
ntrol">Command=20
  Control</A>
  <LI class=3Dcollapsed><A=20
  =
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/user-assis=
tance-and-feedback">User=20
  Assistance and Feedback</A>
  <LI class=3Dcollapsed><A=20
  =
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/advanced-e=
diting-and-display">Advanced=20
  Editing and Display</A>
  <LI class=3Dcollapsed><A=20
  =
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/themes-and=
-design">Themes=20
  and Design</A>
  <LI class=3Dcollapsed><A=20
  =
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/a11y">Acce=
ssibility=20
  </A></LI></UL>
<DIV class=3D"page-links clear-block"><A class=3Dpage-previous=20
title=3D"Go to previous page"=20
href=3D"http://dojotoolkit.org/book/book-dojo/part-1-life-dojo-dojo-and-d=
ijit-application-examples/example-3-chatting-tech-suppor-0">=E2=80=B9=20
The Operator Page</A><A class=3Dpage-up title=3D"Go to parent page"=20
href=3D"http://dojotoolkit.org/book/dojo-book-0-9-0">up</A><A =
class=3Dpage-next=20
title=3D"Go to next page"=20
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/dijit-glan=
ce">Dijit=20
at a Glance =E2=80=BA</A></DIV></DIV></DIV>
<DIV class=3Dlinks>
<UL class=3D"links inline">
  <LI class=3D"first book_printer"><A class=3Dbook_printer=20
  title=3D"Show a printer-friendly version of this book page and its =
sub-pages."=20
  href=3D"http://dojotoolkit.org/book/export/html/968">Printer-friendly=20
  version</A>=20
  <LI class=3Dcomment_forbidden><SPAN class=3Dcomment_forbidden><A=20
  =
href=3D"http://dojotoolkit.org/user/login?destination=3Dnode/968%2523comm=
ent-form">Login</A>=20
  or <A=20
  =
href=3D"http://dojotoolkit.org/user/register?destination=3Dnode/968%2523c=
omment-form">register</A>=20
  to post comments</SPAN>=20
  <LI class=3D"last subscriptions_del_node"><A =
class=3Dsubscriptions_del_node=20
  title=3D"Stop receiving an e-mail whenever a new comment is posted to =
this Book page."=20
  href=3D"http://dojotoolkit.org/subscriptions/del/node/968">Unsubscribe =
post</A>=20
  </LI></UL></DIV></DIV>
<DIV id=3Dcomments></DIV><!-- /main_content region --></DIV></DIV>
<DIV class=3D"col-c content-region-container">
<DIV id=3Dsidebar-right-container></DIV></DIV><BR class=3Dclear></DIV>
<DIV class=3Dcols-a50b50 id=3Dafter-content-block>
<DIV class=3D"col-a content-region-container" =
id=3Dafter-content-block-1></DIV>
<DIV class=3D"col-b content-region-container" =
id=3Dafter-content-block-2><BR=20
class=3Dclear></DIV><BR class=3Dclear></DIV><BR clear=3Dall></DIV>
<DIV class=3Dcontent-region-container>
<DIV id=3Dnavigation-block>
<DIV id=3Dbreadcrumb-block>
<DIV id=3Dbreadcrumbs>
<DIV class=3Dbreadcrumb><A href=3D"http://dojotoolkit.org/">Home</A> =
=C2=BB <A=20
href=3D"http://dojotoolkit.org/book/dojo-book-0-9-0">The Book of =
Dojo</A> =C2=BB Part=20
2: Dijit - The Dojo Widget Library</DIV></DIV></DIV>
<DIV class=3Dcols-abcd id=3Dmain-menu-block><!-- Block: menu -->
<DIV class=3D"block block-menu" id=3Dblock-menu-573>
<DIV class=3Dcontent>
<UL class=3Dmenu>
  <LI class=3Dleaf id=3Dmenu-item-574><A title=3D"See the Dojo Toolkit =
in action!"=20
  href=3D"http://dojotoolkit.org/demos">Demos</A>=20
  <LI class=3Dexpanded id=3Dmenu-item-575><A=20
  title=3D"Get started with the Dojo Toolkit, fast"=20
  href=3D"http://dojotoolkit.org/docs/quickstart">Quick Start</A>=20
  <UL class=3Dmenu>
    <LI class=3Dleaf id=3Dmenu-item-576><A title=3D"Get the toolkit"=20
    href=3D"http://dojotoolkit.org/downloads">Downloads</A>=20
    <LI class=3Dleaf id=3Dmenu-item-577><A title=3D"See examples of the =
Dojo Toolkit"=20
    href=3D"http://dojotoolkit.org/demos">Examples</A>=20
    <LI class=3Dleaf id=3Dmenu-item-639><A=20
    href=3D"http://dojotoolkit.org/spotlight">Spotlight</A> </LI></UL>
  <LI class=3Dexpanded id=3Dmenu-item-578><A=20
  href=3D"http://dojotoolkit.org/about">About</A>=20
  <UL class=3Dmenu>
    <LI class=3Dleaf id=3Dmenu-item-579><A=20
    href=3D"http://dojotoolkit.org/about">Overview</A>=20
    <LI class=3Dleaf id=3Dmenu-item-580><A=20
    href=3D"http://dojotoolkit.org/about/features">Features</A>=20
    <LI class=3Dleaf id=3Dmenu-item-581><A=20
    href=3D"http://dojotoolkit.org/about/press">Press</A>=20
    <LI class=3Dleaf id=3Dmenu-item-582><A=20
    href=3D"http://dojotoolkit.org/about/contact">Contact</A>=20
</LI></UL></LI></UL></DIV></DIV><!-- Block: menu -->
<DIV class=3D"block block-menu" id=3Dblock-menu-589>
<DIV class=3Dcontent>
<UL class=3Dmenu>
  <LI class=3Dexpanded id=3Dmenu-item-583><A=20
  href=3D"http://dojotoolkit.org/downloads">Downloads</A>=20
  <UL class=3Dmenu>
    <LI class=3Dleaf id=3Dmenu-item-584><A=20
    href=3D"http://dojotoolkit.org/downloads">Current releases</A>=20
    <LI class=3Dleaf id=3Dmenu-item-585><A=20
    href=3D"http://archive.dojotoolkit.org/nightly/">Nightly builds</A>=20
    <LI class=3Dleaf id=3Dmenu-item-586><A=20
    href=3D"http://archive.dojotoolkit.org/">Archives</A>=20
    <LI class=3Dleaf id=3Dmenu-item-587><A=20
    href=3D"http://trac.dojotoolkit.org/roadmap?show=3Dall">Change =
logs</A>=20
    <LI class=3Dleaf id=3Dmenu-item-588><A=20
    href=3D"http://dojotoolkit.org/downloads/releasenotes">Release =
notes</A>=20
  </LI></UL>
  <LI class=3Dexpanded id=3Dmenu-item-590><A=20
  href=3D"http://dojotoolkit.org/news">News</A>=20
  <UL class=3Dmenu>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -