Archive for the ‘ETT.ML/BofA’ Category

Submit a HTML form with disabled fields

Tuesday, August 18th, 2009

I have been trying to disable all the fields before submit, so no extra validation will be needed for the edit page.

It is not possible to submit a DISABLED field…

http://www.w3.org/TR/html4/interact/forms.html#h-17.12.1

A possible solution is use READONLY attribute, but this is for textfield and textarea ONLY,  but I want all the fields to be un-changeable.

After some research, I summerised the following techniques (hacks):

(more…)

dhtml tree menus

Tuesday, August 18th, 2009

Tree menus look very good on pages, but hard to implement (well, not easy to implement) by hand, so here are some written code for building tree menus:

Professional and Nice-looking, commerical product :(  I recommend you see the demos on their website!

http://deluxe-menu.com/

This one, simple but effective, and it has a good tutorial walking you through the process

http://www.dynamicdrive.com/dynamicindex1/navigate1.htm

JavaScript Time Picker

Thursday, August 6th, 2009

The first ever Time Picker that utilize a very easy drag and drop interface. With it’s unique design, anyone can drag the minutes or hour hands independently to select a time.

http://www.nogray.com/time_picker.php

Not very easy to use, I have to say ;( Im not going to use that, but it’s good enough for JS.

http://pttimeselect.sourceforge.net/example/index.html <- this is cool but does not have seconds & requires jQuery.

http://www.jnathanson.com/index.cfm?page=jquery/clockpick/ClockPick <- another cool one, jQuery

http://www.pit-r.de/timepicker/demo/pickerDemo.htm <- this is very cute

http://home.jongsma.org/software/js/datepicker <- nice, got standalone TimePicker, but not for secs :(

After all, I decided to do my own time picker (with sec and TZ ) using HTML….