myfreeforum.org Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Who is OnlineWho is Online   Join! (free) Join! (free)  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
For an excellent guide to using your myfreeforum forum, you can visit
howtodoit
The howtodoit "readonly" forum provides answers and walkthroughs for all common questions.
  • Welcome
  • Guest


myfreefriend.org - creating the javascript windows framework
Goto page 1, 2  Next
 
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Forum Blogs
Site Admin
Site Admin
Joined: 22 May 2005
Posts: 19679

View user's profile Send private message Send e-mail

A Blog by - admin (no pm's please)



Virtual Cash: 46230
Having decided on a flashy windows look, there has to be a bit of a time out to get it working right.

I am pleased to say you can now go back to each page and see the windows where you dragged them, as cookies now store the windows positions.


_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Author Message
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Thu Sep 20, 2007 5:18 pm    Post subject: Reply with quote

Whilst I would not mind betting that Ajax on the windows will create a little fun, forms in the windows now work.

I make no bones about making use of example code on the net, and I used some for the basic windows like interface this morning.
But all example code tends to be a little simplistic, designed to show a trick and little else.
In this case it casually left around a copy of the html that does into each window, so if you had a form, then all of a sudden you had two forms and some very confused forms code, or really just about any other javascript that tried to do things with the html is going to go bang when faced with duplicates.

All the same it is a lot easier doing upwards from something that does something, rather than doing it all from scratch.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Thu Sep 20, 2007 5:43 pm    Post subject: Reply with quote



Just realized through force of habit I have started the buddy list code using good old forms submission code, the stuff I have just been making viable in the windows system. But of course we don't want to play in that old fashioned way, we want AJAX.

Nothing lost really though, getting the base system working is vital.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Thu Sep 20, 2007 8:51 pm    Post subject: Reply with quote

Well strike another two hurdles down xajax calls are working and can be made easily to pick up the users session information so that useful things can happen.

So you can now make a friend list request in one window and the fact pops up in another instantly

So the friends list should be fully functional tomorrow, which probably will make chat and messaging the next prioritys.

We will have the sort of one line messaging system, where your friends can leave you quick notes, as well as fully fledged chat rooms.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Fri Sep 21, 2007 10:54 am    Post subject: Reply with quote

Having decided to change the windowing system, quite a lot needed doing, a new Joomla icon module and a rework of all the ajax stuff. But touch wood you can now show and hide windows using the menu items in an ajax like fashion.

Still a lot of missing detail like remembering window state and actually populating the windows. But the bits that might have been tricky are there and that counts for a lot
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Fri Sep 21, 2007 12:25 pm    Post subject: Reply with quote

Whilst I am at it, I am also rationalizing the number of windows.

A friendship request is really just another message, and the window where you make such requests may as well show the ones you have already made.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Fri Sep 21, 2007 7:29 pm    Post subject: Reply with quote

Getting quite close to window resizing working okayish. It might seem an oversight not to have made this a priority and it was

But in the final analysis the interface would be silly without it.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Sat Sep 22, 2007 9:58 am    Post subject: Reply with quote

resizing is now working in a somewhat tolerable fashion, and for that matter the main window resizes to fit the browser, both horizontally and vertically.

It is becoming plain that the javascript framework I am developing is going to be quite a masterpiece in of itself

Something that may set a standard for interactive web sites

But that might only happen in a complete sense over quite a long time. Meanwhile I guess next weeks efforts should probably focus on core actual functionality.

Simply having an official chat system would be justification enough for an early release.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Sun Sep 23, 2007 7:54 pm    Post subject: Reply with quote

A bit more polish done on the framework, cookies were a text book example of how not to code cookies but one of those cases of wanting a quick fix to see whether something worked, they are now coded to take a fraction of the space. Important within the ajax system that cookies are slimline.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Tue Sep 25, 2007 8:57 am    Post subject: Reply with quote

time for some office paper I think

But this morning tab dialogs and window maximize/restore have been coded a long with the start of the profile form for a member.

The profile form is another one to muse over, as it needs doing right within an ajax frame work.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Oct 01, 2007 10:17 am    Post subject: Reply with quote

Developing the "myfriends" tab dialog reveals the framework does not deal well with the content resizing

So time for some more work in this area I think. I did kind of expect this to arise.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Oct 01, 2007 10:06 pm    Post subject: Reply with quote

Well it is a slight case of three steps forward two steps back But scrolling areas are now working after a fashion, and one part of the windows framework has been moved from where it would kind of generally work to where it actually should be, this needed quite a bit more coding, which is still not quite complete, but it is a good feeling to have things logically right.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Tue Oct 02, 2007 10:31 am    Post subject: Reply with quote



Feeling really pleased now At least in Firefox things are dragging/resizing/maximizing/restoring/minimizing, show scrollbars as appropriate and accept a call to force the content height.

It feels like quite a robust windows facsimile now.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Thu Oct 04, 2007 10:30 am    Post subject: Reply with quote

Added a few more tweaks like a slightly different shade on the top line in pixels in the windows bar.

But the main issue at the minute is dealing with a new type of window.

The earlier windows are all kind of permanent whether they are displayed or not. Moving on to profile windows for peoples friends and you have a different ball game, windows that will be created/destroyed on the fly.

This means that at the moment if you view a profile and minimize it and then view it again, the system screws up as the window remembers its previous state and choose to minimize itself again

It is not a big deal to deal with, but one of those decisions that needs getting right.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Sun Oct 07, 2007 8:34 am    Post subject: Reply with quote

Another important addition is the concept of the windows working within a view portal on screen.

Cookies now store the positions within the portal, and the portal is defined at run time. The upshot is that we can redefine the basic screen layout and the users windows will remain in sensible positions.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Forum Blogs All times are GMT + 1 Hour
Goto page 1, 2  Next
Page 1 of 2
 
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Create your own free forum | Buy a domain to use with your forum