Re: [Dynapi-Dev] ViewPane example is now on steroids.

2004-07-26 Thread Michael Bürge
hi there see below... Tho, not working in 1.4 means they finally fixed the content-width bug (must missed that in the changelogs) Unfortunatly there is no way to work around this bug in 1.4 NOT TRUE! 1. get the content of the layer in question (with innerHTML-property) 2. write content into a dummy

Re: [Dynapi-Dev] dynImage

2003-03-15 Thread Michael Bürge
> You're right, onclick on image in NS4 doesn't work, so go for the href. try onmouseup. i think the reason NS4 doesn't fire an onclick is because DynAPI catches onmouseup and -down. give it a try! -- Michael Buerge --- This SF.net email is

Re: [Dynapi-Dev] Load

2001-12-14 Thread Michael Bürge
this is really nice to know! thanks! but deriving from a test i did it doesn't load the script synchronously. if it would load it synchronously the following code should work: onload = function() { document.location.href = 'test.js'; test(); } test.js being a script containing the funct

Re: [Dynapi-Dev] Proposed feature changes

2001-11-19 Thread Michael Bürge
my suggestion is to call that method setPos(). same bytesize as moveTo() and consistent with the getXXX() and setXXX() philosophy. anybody? -- Michael Buerge > From: Dan Steinman <[EMAIL PROTECTED]> > Date: Mon, 19 Nov 2001 13:12:35 -0500 > To: [EMAIL PROTECTED] > Subject: Re: [Dynapi-Dev] Propo

Re: [Dynapi-Dev] image-loader

2001-11-12 Thread Michael Bürge
> From: "Richard Bennett" <[EMAIL PROTECTED]> > Date: Mon, 12 Nov 2001 11:09:14 +0100 > To: Michael Bürge <[EMAIL PROTECTED]>, > <[EMAIL PROTECTED]> > Subject: Re: [Dynapi-Dev] image-loader > > Hi, > As usual you have some very nice code in th

Re: [Dynapi-Dev] is DynAPI.browser being used anywhere?

2001-10-29 Thread Michael Bürge
why not do it like the following: is = new Browser(); if (typeof DynAPI == 'object') DynAPI.browser = is; this will work in all situations Michael ps: sorry richard for getting this twice. i just did a reply without looking at the address. wasn't this supposed to be fixed? > From: "Richard Be

Re: [Dynapi-Dev] Children

2001-10-12 Thread Michael Bürge
no prob: just catch the 'resize'-event of the parentlayer and perform the necessary actions when the event happens. -- Michael Buerge > Hello: > > I would like to have a parent layer that resizes when the browser resizes > and children layers inside the parent layer that move/resize when the pa

Re: [Dynapi-Dev] double-precreation

2001-09-20 Thread Michael Bürge
> BUT when I try and do certain things in the > constructor instead of precreate, they simply don't work. could you post an example where it doesn't work? ___ Dynapi-Dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dyna

Re: [Dynapi-Dev] [ dynapi-Patches-432135 ]DynMouseEvent.EventMethod

2001-06-11 Thread Michael Bürge
ok, i see, this fixes the problem. sorry for beeing a bit outdated. i closed the patch. -- Michael Buerge > this was actually change recently so that the dbltimer is attached to the > dynobject > that caused the event. this meant that two clicks on separate layers cannot > be > misinterpreted

Re: [Dynapi-Dev] is.mac

2001-06-08 Thread Michael Bürge
this is from an older version of the api (don't know which one exactly): if ((this.win32=(ua.indexOf("win")>-1))) this.platform="win32"; else if ((this.mac=(ua.indexOf("mac")>-1))) this.platform="mac"; ^^^ it buried in the code, but it is (was) there. it could be don

[Dynapi-Dev] is.mac

2001-06-08 Thread Michael Bürge
what happened to is.mac? it had been added for convenience some time ago and now its gone. could somebody put it back? -- Michael Buerge ___ Dynapi-Dev mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Re: [Dynapi-Dev] DynAPI.include() pitfall

2001-06-08 Thread Michael Bürge
> This was noted in a changelog many versions ago. missed that one. > That's why all of the > examples close the script tags after the include since the downloaded > files are not available until after the script tag has closed. then look at my post as a reminder ;-) -- Michael Buerge __

Re: [Dynapi-Dev] Robelix proudly presents: Photogallery

2001-05-27 Thread Michael Bürge
i tried in ie5/mac and have to tell you that it doesn't work. looked very nice in the beginning (cool design!). the tree works, but the highlighting onmouseover/out is very slow. when i tried to view the pictures, the scrollpane didn't show up correctly. I eventually got a 'permission denied' erro

Re: [Dynapi-Dev] Simple question...

2001-05-18 Thread Michael Bürge
>> You could check if a variable has been declared (one that is declared only >> in that file) > > As far as I know, such a trick is impossible in Javascript. If you try to > check a variable that hasn't been declared (using "if (myVar)"), you get an > error. I haven't found a way to be able to d

Re: [Dynapi-Dev] Macintosh related...

2001-05-02 Thread Michael Bürge
It DOES work! I haven't experienced any problems with it, this patch was a major improvement for DynAPI on the mac. > A patch for this bug was submitted several weeks ago, while I was rewriting > the > API. I put it into Sourceforge and assumed it worked. Can anyone tell if it > did > or not ?

Re: [Dynapi-Dev] New File Structure

2001-05-01 Thread Michael Bürge
> Michael, > > If you look at the Compatability Matrix > http://mocha.ctlt.wsu.edu/DynAPIMatrix/matrix20010407.htm, we introduced new > problems with viewport, pushpanel, scrollpane and scrollpanel. I'm not sure > if you've resolved them or not. Maybe you could review it and post an > update.

Re: [Dynapi-Dev] New File Sturcture

2001-04-26 Thread Michael Bürge
I did something similar in my work-version and i think it's definitely a good idea to structure things like this. and as long as the structure inside the dynapi-folder doesn't change there aren't many things to change. -- Michael Buerge > From: Michael Pemberton <[EMAIL PROTECTED]> > Reply-To:

Re: [Dynapi-Dev] DynAPI X: addEventListener

2001-03-23 Thread Michael Bürge
> Michael, (and others submitting patches) > > I don't know if you followed the discussions on how to submit bugs/patches a > while back? > Basically things like this should be submitted as a patch, so they don't get > lost, it saves you reposting stuff, and keeps comments on the patch in > sequ

[Dynapi-Dev] DynAPI X: addEventListener

2001-03-22 Thread Michael Bürge
there's a bug in the following method (in listeners.js): the corrected version is: DynObject.prototype.addEventListener=function(listener) { if(!this.eventListeners) { this.eventListeners = []; } // the following line has been moved // it was inside the if-statement t

[Dynapi-Dev] DynAPI X: typo in removeEventListener

2001-03-22 Thread Michael Bürge
there's a "this." missing in the following method (in listener.js) DynObject.prototype.removeEventListener=function(listener) { Methods.removeFromArray(this.eventListeners, listener, false); if (eventListeners.length==0) { // <= this line!! this.hasEventListeners=false; }

Re: [Dynapi-Dev] DynAPI X: event-bubbling

2001-03-22 Thread Michael Bürge
PI X and it works perfect ( Win ) and > better than before ( Mac ) > > > Michael Bürge wrote: > >> no problem. >> if the src gets updated, the x and y should also be (as in the old version). >> but they don't seem to return the correct values anyway (at lea

Re: [Dynapi-Dev] DynAPI X: event-bubbling

2001-03-22 Thread Michael Bürge
me more, i might be able to help. otherwise i'm getting a bit frustrated if i have to first find out what doesn't work before i can actually try to fix something. > Then it was me misunderstanding what Source meant. Honest I had never used > that > property. Again my f

Re: [Dynapi-Dev] DynAPI X: event-bubbling

2001-03-22 Thread Michael Bürge
? in an eventlistener e.getSource() till now always returned me a reference to the dynlayer the listener is attached to. this is the bubbleEvent-Method of the old api and the src property gets updated: MouseEvent.prototype.bubbleEvent=function() { if (!this.bubble || this.src.getClass()=

[Dynapi-Dev] DynAPI X: event-bubbling

2001-03-22 Thread Michael Bürge
there's one thing missing in the invokeEvent-method: the src-property doesn't get updated when the event bubbles up. DynObject.prototype.invokeEvent=function(type,e) { if (!e) e=new DynEvent(type,this); if (this.hasEventListeners) for(var i=0;ihttp://lists.sourceforge.net/lists/listinfo/

[Dynapi-Dev] DynAPI X : higherListener and dragEvent

2001-03-22 Thread Michael Bürge
fact is: dragEvent doesn't work corectly with dynapi x when a layer is enabled for dragging before it has been created (which happens all the time in widgets) i studied the code and dicovered that this is due to the higherListener property not beeing set correctly, so that the mouseup/mousemove-e

Re: [Dynapi-Dev] mousedown in ns4 /mac

2001-02-17 Thread Michael Bürge
i just found out that this breaks something else. after adding the suggested line to events.js, normal links ( From: Michael Buerge <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Fri, 16 Feb 2001 15:29:33 +0100 > To: <[EMAIL PROTECTED]> > Subject: [Dynapi-Dev] mousedown in ns4 /mac >

[Dynapi-Dev] widget-bug on mac

2001-02-07 Thread Michael Bürge
here we go: The reason why none of the example-widgets in the snapshots work on IE5/Mac is the following: The first child's elm-property is wrong, it points to the elm-Object of its parent. posted this on sourceforge some time ago. detailed information and testcase: http://n.ethz.ch/student/mibue

Re: [Dynapi-Dev] Mac DynAPI issues and Netscape 6 Discussion

2001-02-07 Thread Michael Bürge
[ ... ] > This is a professional effort, and whilst I know the DynAPI already has some > fantastic effects built in (looking forward to playing with the anims), a > stable core.api is what we are working towards for the next few months. i'm optimistic that it won't take months > I'd like to pl

Re: [Dynapi-Dev] New Developer Wants To Help With Mac(contentsize)

2001-02-07 Thread Michael Bürge
> My personal main problem on the mac is the getContentHeight/Width methods... > You cannot make layer, fill it, and have it autosize to its' contents. If I > am wrong about this someone please let me know. you are wrong!! check out the following: (btw: i already posted this a few days ago, but

Re: Re[2]: [Dynapi-Dev] mulfiple events in ns5

2001-02-05 Thread Michael Bürge
changing the name of the browser is fine, but my original post was about something else and i didn't see any reactions. now i'd like to help to improve the DynAPI, which is a way cool project, but i kinda get the feeling nobody cares. if the stuff i posted is crap then at least tell me! -- Michae

Re: [Dynapi-Dev] mulfiple events in ns5

2001-02-03 Thread Michael Bürge
one drawback i just found out: this breaks the contextmenu, it doesn't appear anymore. seems that ns5 (or ns6, or moz or however) relies on javascript for it. > From: Michael Bürge <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Sat, 03 Feb 2001 21:01:04 +0100 >

[Dynapi-Dev] content-size in ns5 and ie5/Mac

2001-02-03 Thread Michael Bürge
i think the following may be interesting... ns5: i found that elm.scrollWidth and elm.scrollHeight in ns5 contain the correct values if elm.style.width/height is set to 'auto', so what i did in Dynlayer.prototype.getContentWidth() is setting the elm.style.width to 'auto', retrive the scrollWidth,

[Dynapi-Dev] mulfiple events in ns5

2001-02-03 Thread Michael Bürge
in ns5 there has long been the problem that the events got fired multiple times, this is because the event bubbles up the DOM, firing for all parent-layers and the document as well. the target property of the event-obj contains the element which originally fired it, thats why the same eventListene

Re: [Dynapi-Dev] ns6 w/h and browser advocacy

2001-01-30 Thread Michael Bürge
> From: Joachim Lundgren <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Tue, 30 Jan 2001 15:15:59 +0100 > To: [EMAIL PROTECTED] > Subject: Re: [Dynapi-Dev] ns6 w/h and browser advocacy [...] > But I got the right result by calling the function as the result of a timeout: > setTimeout(

[Dynapi-Dev] DynAPIinclude() crashes mac

2001-01-22 Thread Michael Bürge
Title: DynAPIinclude() crashes mac The DynAPI.include() function in today's snapshot crashes the MacOS when used in IE5. After countless restarts (this wasn't really funny) i eventually figured out what it is. I tracked the error to the following line: if (path[path.length-1] != "/") path += "/

[Dynapi-Dev] text-selection when dragging

2001-01-03 Thread Michael Bürge
I have an improvement to dragevent.js. by adding two lines of code, IE does no longer select text while dragging (which in my opinion is really annoying) the trick is to use IE's document.body.onselectstart Event-Handler the changes i made to dragevent.js are the following: -

[Dynapi-Dev] DynAPI.include()

2001-01-02 Thread Michael Bürge
hi there. this is my first post to this list, and i would like to use the opportunity to thank you for the great work you're all doing. i just started dealing with the dynapi after having spent a _lot_ of time putting together something similar on my own (i now finally gave up, mainly because i