PDA

View Full Version : Ext.ux.TitleBar



Yasheena
15 May 2008, 4:58 AM
Hi,

I created a new component especially for the 'north region': A flexible cutomizing application "headline" with usefull information for office applications...

Features:
Additional to a title field, an icon and the tools region you can add the following
information fields:
- a clock which updates every second, formatted by a "Date" formatting string
- any kind of date information, which is allowed by the "Date" element
- days left, days done and day number with special formatting features:
"format": string, use '%' to mark the position for the variable number
"format1": string, which is used, if the variable number is 1
- additional formatting character '#' to the date and day fields:
appends 'st', 'nd', 'rd' or 'th' to the number before this sign,
depending on the actual value of this number
- optical progress of the actual week
- actual moon phase with waxing/waning information as tooltip
The names of days / months, start of the week and default date format are automatically
localized by using the predefined localisation files in the source/locale subdirectory of the
ext package. The tooltip can be localized manually.

Here is the complete source code inclusive an english and german demo:
http://ext.yasheena.biz/ux-demo/TitleBar.zip

Here is the english live demo:
http://ext.yasheena.biz/ux-demo/demo.en.Ext.ux.TitleBar.html

Here is the german live demo:
http://ext.yasheena.biz/ux-demo/demo.de.Ext.ux.TitleBar.html

A screenshot of the english live demo:
http://ext.yasheena.biz/ux-demo/TitleBarScreenShot.gif

Greetings,

Wolfgang

mystix
15 May 2008, 6:25 AM
kudos! =D>

p.s. you really love keeping time, don't you ;)

ajaxvador
15 May 2008, 6:26 AM
nice job

ajaxvador
15 May 2008, 6:28 AM
You can add "autohide" property for your titlebar ?

Yasheena
15 May 2008, 6:37 AM
kudos! =D>

p.s. you really love keeping time, don't you ;)

Sorry, I do not really understand, what you mean. I'm german and my english is not very good...: I love keeping time? Do you mean I have too much time or do you mean I love saving time? Or what else ...?

Greetings,

Wolfgang

mystix
15 May 2008, 7:58 AM
Sorry, I do not really understand, what you mean. I'm german and my english is not very good...: I love keeping time? Do you mean I have too much time or do you mean I love saving time? Or what else ...?

Greetings,

Wolfgang

sorry about that... :"> i should rephrase..
"i see you really like to keep track of your time" :)

Yasheena
15 May 2008, 11:25 PM
You can add "autohide" property for your titlebar ?

Which behaviour of the titlebar should be controlled by this property? If you mean for collapsing: Collapsing makes sense to reduce the used space, but the titlebar uses not really more space than the collapsed area. Please explain, what your idea is.

Greetings,

Wolfgang

supper008
16 May 2008, 9:45 AM
good job! I need it!thanks !share...

wm003
20 May 2008, 4:32 AM
Nice extension. thanks for sharing :)