Showing posts with label dojo web stuff. Show all posts
Showing posts with label dojo web stuff. Show all posts

Sunday, December 30, 2007

Tax Example/ Mail Example

I have been working through some of the samples in this book.

The first one was a tax example:
First link is the final tax form in english, second in swedish chef.
http://76.16.47.80/js/dojoroot/bookOfDojo/samples/taxform/my_finished.html
http://76.16.47.80/js/dojoroot/bookOfDojo/samples/taxform/my_finished_swchef.html
http://76.16.47.80/js/dojoroot/bookOfDojo/samples/taxform/original_form.html

The last link is the original form before any changes. I'd like to update the tool tip on the swchef example to have swedish chef instead of english, as the tool tip is still is in english.

Based on an earlier discussion I had today I have done just that. When discussing how to change the content of the inside of a tag, I looked into the innerHTML function. It was done in the example, but for all fields except the tooltip. I had to install and use Firebug to debug as well, because I'm multitasking. =) Here is the result:

http://76.16.47.80/js/dojoroot/bookOfDojo/samples/taxform/my_finished_swchef_tooltip.html

So that is the same example from above, but I have added the tooltip done in swedish chef as well.

The second was a mail reader:

http://76.16.47.80/js/dojoroot/bookOfDojo/samples/mail/mail.html


This one is not finished, but I seen tons of potential for changing various things and adding functionality, so I will be revisiting this.

Code is here:
http://76.16.47.80/js/dojoroot/bookOfDojo/samples/mailTax.tar

Wednesday, December 26, 2007

Playing with Dojo

Christmas has passed and New Year's is almost here, so I can finally get around to playing with some web stuff.

I started out by doing a quick install of dojo:
and moved on to a rousing Hello World example:

For my next example I will have to think of something more creative and interactive to do.








My web server has a fresh copy of dojo installed at http://76.16.47.80/js/dojoroot.

The two examples above are here:
http://76.16.47.80/js/dojoroot/dijit/themes/themeTester.html
http://76.16.47.80/js/dojoroot/helloWorld.html

The files are located here: http://76.16.47.80/js/dojoroot/helloWorldFiles.tar