JavaScript
  Home arrow JavaScript arrow Page 5 - Rich Internet Applications with Dojo Toolk...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVASCRIPT

Rich Internet Applications with Dojo Toolkit 101
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 11
    2007-01-17

    Table of Contents:
  • Rich Internet Applications with Dojo Toolkit 101
  • Displaying a simple button
  • Adding an event and styling
  • The DatePicker and Accordion widgets
  • How do the widgets look in various browsers?

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Rich Internet Applications with Dojo Toolkit 101 - How do the widgets look in various browsers?


    (Page 5 of 5 )

    This is an important question since there are various browsers, and for each of the browsers there could be various versions. In this tutorial three recent browsers were used to display the pages. The following pictures show how the accordion widget (using the code shown above) would be rendered in three of the recent browsers, IE7.0, FireFox 2.0 and Opera 9.02.

    IE 7.0

    FireFox 2.0

    Notice the underlining of the week, days and years in the widget, and the streak in the pane which stays opened up.

    Opera 9.02

    I could only find text in the displayed pane. The link does not work in the pane, nor does the button click. In the Hodentek pane, clicking on the calendar caused the URL of My Blog to be displayed, but clicking on the link itself did not display the URL.

    It is interesting to see that the three different browsers showed most of the features of the UI in the pages. IE 7.0 renders the page best both with regards to formatting and layout as well as the user interaction. FireFox has problems with the display as shown and Opera has further problems while responding to events.

    The same code was also tested in earlier versions, IE 6.0, Netscape 8.01, and FireFox 1.0. While the UI rendering had no problems, they all showed a flutter while opening up. In the case of FireFox 1.0 the whole pane (Hodentek) was linked to the URL of My Blog but the link itself was ineffective. In the case of IE 6.0 the fonts took up the Asian fonts as the machine had its local languages set to both English and Japanese. The tests on earlier versions were carried out in a display format of 1024 x 768 pixels, but the flutter in the opening could not be associated to the display resolution.

    If you are using the tool kit please pay attention to the licensing as shown.

    /*
    Copyright (c) 2004-2006, The Dojo Foundation
    All Rights Reserved.
    Licensed under the Academic Free License version 2.1 or above OR the
    modified BSD license. For more information on Dojo licensing, see:
    http://dojotoolkit.org/community/licensing.shtml
    */

    Summary

    This a very simple and basic tutorial which may be useful to those who want to use the dojo toolkit together with their IIS server. The dojo toolkit has great potential for displaying rich content even though the examples in the tutorial were very simple and the user interaction tests carried out were very limited.

    It should be mentioned that although ContentPane objects were placed in the AccordionContainer, it appears that the program internally uses what is called an AccordionPane, which is also a container. In this version of dojo the style can only be applied to the Content Pane. The problems with cross-browser functionality are not totally solved. The nightly test result from the dojo Foundation does demonstrate reproducible cross-browser functionality and the present tutorial perhaps used an earlier build.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · This is my first article and many more will follow. Before I could post the initial...
     

    JAVASCRIPT ARTICLES

    - Using Mod_Security to Protect Your Server
    - Detecting and Countering Server Intrusions
    - Securing Your Web Server
    - Building a Secure Web Server
    - Protecting the Server
    - Book Review: Learning the Yahoo! User Interf...
    - Dynamically Generate a Selection List in a R...
    - Intergrate DWR into Your Java Web Application
    - Detect Browser Compatibility with the Reques...
    - Using the EXT JS Date Picker Widget
    - Ajax Hack for Entering Information Without R...
    - EXT JS 2.1 Overview
    - Using the Style Object for Zebra Tables with...
    - Binary Searching
    - An Improved Approach to Building Zebra Tables






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
    Stay green...Green IT