Wednesday, October 31, 2007

Control panel is done. New editor

Hi,
I have done the control panel (almost). A few features are remaining to be fixed and added:
1. Add spellchecker
2. Check how the print works
3. Change the default text style for editor
4. If no node is selected the Save button should not worked.
5. The Refresh node button
The last screenshot:


Bye
Time spent: 2,5 hours

Tuesday, October 30, 2007

To be continued...

Hi,
All the last bugs were fixed, hurrah!!!
There were:
1. DropDown and ContextMenu in Safari (thanks to Jack Hermanto)
2. Scrolling plus wrong appearance of edit text box (when you try to edit or add some node)

Time spent: 1,5 hours

Illness and troubles

Hi all,
these days I'm ill (bad pain in my throat and snivel) but I'm trying to work anyway.
The main task was to make over the control panel to it works in Safari. But there I confronted with sudden trouble - it turns out that NlsTree has bug and it can't have drop&down feature and context menu simeltaneously. I have spent about 3 hours to understand what's the problem and then I wrote to AddObjects and asked them to fix this bug. Today I have fix from Jack!
The one more problem is concerned with tree's size. It turns out that the tree sizes don't change and cause the useless scroll bar:



I think the solution is using the dojo panel just for tree.

Time spent (for these days): 6 hours

Friday, October 26, 2007

A few features more

Hi all,
Today I have done a few simple but important things:
1. Fixed some bugs with styles
2. Back and Forward buttons
3. After doc opening the first node content is shown.
There is a new screenshot:Bye,
Time spent: 2,5 hours

Thursday, October 25, 2007

A few bugs are fixed

Hi all,
I have fixed a few bugs:
1. Title - now the window has title that is project's name
2. MoveTo in IE... I just catch the exception because it seems to me there is security problem that can not be solved.
3. I excluded yje link to the prototype,js file adding my own XMLHttpRequest request in my code. Maybe it's not very nice solution but just now I jave no time to write code of dynamic loading of scripts.
4. Bug with scrolling was fixed
Bye

Time spent: 2,5 hours

Wednesday, October 24, 2007

A lot of problem was solved but a bulk of them remains...

Hi all,
These day I have spent enormous amount of time trying to avoid of using of frame. But I failed. Because in that case I should to create all the elements dynamically that can be very difficulty and unreliable.
The last prolems solved:
1. Opening and clisong window
2. Cross browsernity
3. Different bugs
I have these troubles now:
1. MoveTo doesn't work in IE
2. I sjould avoid using link to prototypr.js in user's code.
3. Window's title should be name of the project.
4. Bug with scrolling on Safari

That's what my doc frame look like to:

Bye,
Time spent: (24 hours)

Sunday, October 21, 2007

Split panels - yes!

Hi all,
I had very difficult work but very interesting experimenting with Dojo's split panels (http://www.dojotoolkit.org/). At first I had problems because panels didn't want to be splitted and locally without getting data from Internet. Then then didn't wanted to have 100% height. To solve this problem I take the example page from dojo's site, delete all the unnecessary content and insert the residual code into my page. Finally I got the perfect working page!!! With splitters and 100%- height and width!
I have done the following thinhs for these days:
1. Generation of code
2. Opening the doc as separate window, current window and as block.
3. Button for closing the doc
4. Splitted panels working well
5. Compatibility with IE6, IE7, Opera, FireFox and Safari! And (maybe with K-meleon and Netscape)

The nearest task are:
1. To load tree and content into splitted panels
2. Showing the content correspondingly the clicked link in the tree
3. Navigation - "back" and "forward" buttons
4. Printing the current content page
5. To get rid of the using of IFrame

Bye
Time spent (for these days): 7 hours