Monday 10 November 2008

Name Picker V2.0.0 Update

Name Picker 2 didn't quite get as much work this weekend as I had planned due to some family commitments but work resumed today with the reformatting of the Name picker Type 1 "Single" was joined with Type 2 "Multiple" formats. These were achieved with the following code


myPicker = new NP_object();
myPicker.type=1;
myPicker.create();










myPicker = new NP_object();
myPicker.type=2;
myPicker.create();






I am no longer using a [select] to hold the found data but I am injecting [div]'s into the document and planting then in a reception [div] . Using this method gives me more control over the format of the item.










Particularly the extra data like phone number, email address, etc that are returned from the server. This data can now be shown/hidden by clicking on the twisty on the left of the name. I think this method is a more efficient use of the screen real-estate and allows the user to visually access the extra data without having to move their eye line away from the item they are clicking on.


More later .... time for tea!

Disqus for Domi-No-Yes-Maybe