did you perchance to add the precreation code?
What do I need to know to Add 'precreation' to allt he other widgets I'm
using?

Attached isw an updated Skintoolbar..
You may now call setDocked() passing 0,1,2,3
0=dock to top
1=dock to bottom
2=dock to left
3=dock to right.
There is also now a new data member of the toolbar..
This is called dockedSide which tracks where we are docked. And is used so
that we can add functionality such as auto-reorienting menus, ect.

Also.. with draggable set to true, you can drag the toolbar to any side of
the browser and it will automatically dock there.

Still a work in progress tho.


Doug Melvin

----- Original Message -----
From: "Richard :o" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 10, 2001 10:42 PM
Subject: Re: Re[2]: [Dynapi-Dev] skinwindow update (was: Making progress on
a Java gui tool)


> Thanks,
> I added the cover layer, actually it's underneath the transparent capbar,
so
> caption isn't written to capbar anymore.
> I added an IE only enhancement, while resizing in IE you see a black
outline
> (css border), in NS  the gray square remains.
> The updated version is attached.
>
> See example core.gui.skinwindow.htm at
> http://www.resass.f2s.com/?menu=examples&node=1
>
> While you're there check out Glen_Deas_Examples I think it's very good, a
> good example of
> "drag another layer on drag"  I'll document it a bit more though soon.
>
> Cheers,
> Richard  :o
>
> [EMAIL PROTECTED]
> www.richardinfo.com
> (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2)
>
> ----- Original Message -----
> From: "Doug Melvin" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, January 11, 2001 8:16 AM
> Subject: Re: Re[2]: [Dynapi-Dev] Making progress on a Java gui tool
>
>
> > Window is now draggable..
> > also, you can double click on the title bar to maximize/restore..
> > Need to add a cover layer over caption text as caption text blocks click
> > events
> > in the title bar..
> >
> > Doug Melvin
> > ----- Original Message -----
> > From: "Richard :o" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, January 09, 2001 4:33 PM
> > Subject: Re: Re[2]: [Dynapi-Dev] Making progress on a Java gui tool
> >
> >
> > > > correct, the widgets are not in the CVS. They would also need work
to
> > make
> > > > them work in the latest DynAPI2.. something I'm not planning on for
a
> > > while.
> > >
> > > So Doug, please send your fixes over to me as I would like to support
> > these
> > > great
> > > widgets as long as possible, and the lack of draggability under IE5.5
> was
> > a
> > > long overdue fix.
> > >
> > > Regarding elastic, I apply this on my page by detecting browser
> dimensions
> > > like this:
> > >
> > > var winH,winW,w, h, ow, oh, q
> > >
> > > function findWH() {
> > >  winW = (is.ns)? window.innerWidth : document.body.offsetWidth-20
> > >  winH = (is.ns)? window.innerHeight : document.body.offsetHeight-4
> > >                              //I'm not sure what the -20 and -4  was
> > needed
> > > for now
> > >    ow= 1004/winW;
> > >    oh= 648/winH;
> > >    if(ow>oh){q=ow;}else{q=oh;}
> > >  return q
> > > }
> > >
> > > DynAPI.onLoad=function() {
> > >     q=findWH()
> > >
> > > and then all sizes defined are divided by q, like this:
> > >
> > > statusMsg=new DynLayer(null,0,0,120/q,120/q);
> > >
> > > When done like this it means objects retain their original shape; so
if
> > > someone's browser is letterbox
> > > shaped, your page doesn't become squashed, but decreases in width as
> well.
> > >
> > > in the resize event you could put:
> > > q=findWH()    //gets new dimensions
> > > statusMsg.slideTo(120/q,120/q);
> > >
> > > I haven't done the resizing bit on my page right now, because I wanted
> to
> > > animate the resizing
> > > properly (ie the things fly to the new place, and grow/shrink). Also
> many
> > > people resize the browser
> > > while the page is loading, which could cause errors and crashes, so I
> only
> > > let the onResize()
> > > code execute (during testing) after a variable was set at the end of
my
> > > preloading sequence.
> > > Of course NS can't animate anything onResize(), as it simply has to be
> > > reloaded, at least I haven't
> > > seen recreateAll() work properly without a reload.
> > >
> > > The only problem I run into was text size, you can change the font
size
> > > using the same variable, ie:
> > >
> > > statusMsg.setHTML('<span style="font-size: '+16/q+'pt;">Blah
> Blah</span>')
> > >
> > > but during testing NS gave a lot of problems, looking on it now I
think
> > the
> > > problem was that I had two stylesheets
> > > applied to the same document, one directly and one through a
skinButton
> > > widget, but I'm not sure.
> > >
> > > I hope there's something in there of use;
> > >
> > > Cheers,
> > > Richard  :o
> > >
> > > [EMAIL PROTECTED]
> > > www.richardinfo.com
> > > (Everything running on, and ported to the 19/12/2000 snapshot of
> DynAPI2)
> > >
> > > ----- Original Message -----
> > > From: "Pascal Bestebroer" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Wednesday, January 10, 2001 9:40 PM
> > > Subject: RE: Re[2]: [Dynapi-Dev] Making progress on a Java gui tool
> > >
> > >
> > > > correct, the widgets are not in the CVS. They would also need work
to
> > make
> > > > them work in the latest DynAPI2.. something I'm not planning on for
a
> > > while.
> > > >
> > > > cya,
> > > >
> > > > Pascal Bestebroer
> > > > [EMAIL PROTECTED]
> > > > http://www.dynamic-core.net
> > > >
> > > > > -----Oorspronkelijk bericht-----
> > > > > Van: [EMAIL PROTECTED]
> > > > > [mailto:[EMAIL PROTECTED]]Namens Robert
> Rainwater
> > > > > Verzonden: woensdag 10 januari 2001 21:35
> > > > > Aan: DynAPI Development List
> > > > > Onderwerp: Re[2]: [Dynapi-Dev] Making progress on a Java gui tool
> > > > >
> > > > >
> > > > >
> > > > > As far as I know none of those widgets are in CVS.  Aren't those
> > > > > Pascal's widgets?
> > > > >
> > > > > --
> > > > > // Robert Rainwater
> > > > >
> > > > > On 1/10/2001, 6:02:56 PM EST, Doug wrote about "[Dynapi-Dev]
> > > > > Making progress on a Java gui tool":
> > > > >
> > > > > > How do I get access to the CVS system..
> > > > > > I've fixed a few bugs myself..
> > > > > > Such as the 'movebility' of the skinwindow.
> > > > > > I also updated the doDock mothod of the skintoolbar.
> > > > > > Now calling doDock(0) will dock the toolbar at the top.
> > > > > > (re-position it and set it's width)
> > > > > > and passing a 1 instead will dock it at the bottom.
> > > > > > I am also working on an elatic object..
> > > > > > What this does is resizes and repositions the content on your
> > > > > page for any
> > > > > > browser size.. and automatically does so when you change the
size
> of
> > > the
> > > > > > browser..
> > > > >
> > > > >
> > > > > > Assuming I do get access to CVS..
> > > > > > Is the bug list at sourceforge complete?
> > > > > > ----- Original Message -----
> > > > > > From: "Raymond Smith" <[EMAIL PROTECTED]>
> > > > > > To: <[EMAIL PROTECTED]>
> > > > > > Sent: Tuesday, January 09, 2001 1:54 PM
> > > > > > Subject: Re: [Dynapi-Dev] Making progress on a Java gui tool
> > > > >
> > > > >
> > > > > >> I was beginning to wonder where Dan went off to, now we know.
It
> > > does
> > > > > >> appear that we've created a bit of a two headed hydra here, as
> > others
> > > > > >> mentioned might happen.  Dan's off working on a DynBuilder
while
> > > other
> > > > > >> pontificate about the holy-grail of RAD tools to speed up "the
> > still
> > > > > > bugged
> > > > > >> version of DynAPI2" that hasn't had a refresh since November of
> > 2000.
> > > > > >>
> > > > > >> While I do my best to muddle thru this code and help Robert
debug
> > > this
> > > > > > stuff
> > > > > >> I fear I submit about as much confusion as contribution.  But I
> get
> > > the
> > > > > >> feeling that others are not really 'actively debugging' the
> > > > > current CVS.
> > > > > >> Dan's working on a GUI which he will 'share' with us, thus
> > > > > allowing us to
> > > > > >> further defocus our efforts while other do grand debate on what
> > this
> > > > > > "thing"
> > > > > >> should be.
> > > > > >>
> > > > > >> It would be nice to, at a minimum, clean up the current base
> > > > > code in the
> > > > > > CVS
> > > > > >> before we defocus the limited masses even more.
> > > > > >>
> > > > > >> Sorry for the rant.  But ALOT of change was introduced with
> > > > > precreate and
> > > > > >> inline creation integration that still needs to be cleaned up.
> > > > >  It seems
> > > > > > the
> > > > > >> only really active debugger right now is Robert and Pascal (on
> > > > > a limited
> > > > > >> basis).
> > > > > >>
> > > > > >>
> > > > > >> _______________________________________________
> > > > > >> Dynapi-Dev mailing list
> > > > > >> [EMAIL PROTECTED]
> > > > > >> http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
> > > > >
> > > > >
> > > > > > _______________________________________________
> > > > > > Dynapi-Dev mailing list
> > > > > > [EMAIL PROTECTED]
> > > > > > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
> > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Dynapi-Dev mailing list
> > > > > [EMAIL PROTECTED]
> > > > > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
> > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Dynapi-Dev mailing list
> > > > [EMAIL PROTECTED]
> > > > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
> > > > ____________________________________________________________
> > > > Get your free domain name and domain-based e-mail from
> > > > Namezero.com. New!  Namezero Plus domains now available.
> > > > Find out more at: http://www.namezero.com
> > > >
> > >
> > >
> > > _______________________________________________
> > > Dynapi-Dev mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
> >
>
>
>

skintoolbar.js

Reply via email to