[Dynapi-Dev] (may be) typo in DynLayer

2001-02-26 Thread àÒÉÊ óÉÌØ×ÅÓÔÒÏ×
Is this line in DybLayer.js right this.id=a[0]||"JSDynLayer"+(DynLayer.nullCount++) ? Or, may be, it will be this.id=(a[0]||"JSDynLayer")+(DynLayer.nullCount++) ? Because the first line is equivalent to this.id=a[0]||("JSDynLayer"+(DynLayer.nullCount++)) and widgets must count layers indep

RE: [Dynapi-Dev] (may be) typo in DynLayer

2001-02-26 Thread Pascal
it will either use your own ID specified, or a JSDynLayerXX ID (which adds a number to be unique) If you would add the unique ID to the specified ID users will get confused, the layer the named MyLayer would suddenly be MyLayer1 Pascal Bestebroer ([EMAIL PROTECTED]) Software ontwikkelaar Ober

Re: [Dynapi-Dev] My JS Optimization Site

2001-02-26 Thread Daniel Aborg
Hi, Nice site, Jeff. Some interesting tricks there I hadn't thought about. I liked the Duff's Device code, although I noticed it can be improved. Here's a version of the code which doesn't have the case stuff in the main loop but can still do a custom number of iterations. On my computer I get th

[Dynapi-Dev] More minor glitches

2001-02-26 Thread Michael Pemberton
there is a minor syntax glitch in the setClip() method. else { if (c.indexOf("rect(")>-1) { . } } should be: else if (c.indexOf("rect(")>-1) { . } -- Michael Pemberton [EMAIL PROTECTED] ICQ: 12107010

[Dynapi-Dev] External loading trick - advanced -

2001-02-26 Thread Jordi - IlMaestro - Ministral
Here's something I came up with while working on the project that almost killed me last week. I needed ( or wanted ) to load external contents inside of my layers, but didn't want to use the loadpanel. My personal opinion is that the future of loading external contents does not go through the loa

RE: [Dynapi-Dev] External loading trick - advanced -

2001-02-26 Thread Pascal
and it works crossbrowser? (have to ask >:) Pascal Bestebroer ([EMAIL PROTECTED]) Software ontwikkelaar Oberon Informatiesystemen b.v. http://www.oibv.com > -Oorspronkelijk bericht- > Van: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]Namens Jordi - > IlMaestro > - Ministral > Verzonde

Re: [Dynapi-Dev] External loading trick - advanced -

2001-02-26 Thread Jordi - IlMaestro - Ministral
I found out that having these document.write happen in one frame while having something happening in the main frame ( a slide, for example ) turned NS unstable sometimes. So far this is the only issue I found with the idea. Not a small one :( however Pascal wrote: > and it works crossbrowser? (h

[Dynapi-Dev] Memory leak

2001-02-26 Thread Lasse Lindgård
Hi, My mails has been disapairing into the void while we have been changing ISPs the last couple of days. So I have missed digest #270 through #282 (both included). I was wondering if someone could forward me the digests from the period so I can catch up. The memory leak thread seems to have v

[Dynapi-Dev] (no subject)

2001-02-26 Thread àÒÉÊ óÉÌØ×ÅÓÔÒÏ×
This code works with snapshot from 22.02.2001 but not with snapshot from 25.02.2001. The problem is in fact, that DynLayers never assigns to DynDocument, and DynLayer.toString() gives wrong reference. DynAPI.setLibraryPath('../src/lib/'); DynAPI.include('dynapi.api.*'); DynAPI.onLoad = fun

Re: [Dynapi-Dev] (no subject)

2001-02-26 Thread Robert Rainwater
I updated CVS with a fix. I forgot to add parent layers to the .doc. Only children were added. If you add to the first line of assignChildren: this.dyndoc.all[this.id]=this That should fix it. -- // Robert Rainwater -- DynAPI Homepage: http://dynapi.sourceforge.net/ DynAPI Snapshots: http:

Re: [Dynapi-Dev] My JS Optimization Site

2001-02-26 Thread Jeff Greenberg
Very cool. Nice improvement. In a sense, any loop based on Duff's Device is going to be somewhat difficult to follow for anyone encountering it for the first time, so I wouldn't worry about that. Anyone using this kind of optimization isn't going to be terribly worried about the clarity of their

[Dynapi-Dev] Enhanced FAQ

2001-02-26 Thread Darryl Cousins
Hello, I would like to make an attempt at producing an enhanced FAQ using the DynAPI-Help archives as my resource. The current FAQ is a great help but I would like to expand it. I've been reading daily the help listings for something over a month and many questions have been answered in depth w

[Dynapi-Dev] My Latest

2001-02-26 Thread Eytan Heidingsfeld
Well first of all since the DynAPI development (mainly pascal) started working more in my way and I agreed on some matter with pascal there is no need for Canvas. On the other hand I do like my way of handling events so I created a file called simpleevents.js that lets you use the regular DynAPI e

[Dynapi-Dev] Array splicing

2001-02-26 Thread Eytan Heidingsfeld
Do you know why when I try to splice an array, I get an error splice is undefined. 8an ___ Dynapi-Dev mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Re: [Dynapi-Dev] More minor glitches

2001-02-26 Thread Robert Rainwater
Actually, the else is not even needed since the the if above returns. Thanks for noticing that, I will update cvs soon. -- // Robert Rainwater -- DynAPI Homepage: http://dynapi.sourceforge.net/ DynAPI Snapshots: http://dynapi.sourceforge.net/snapshot/ On Monday, February 26, 2001 7:31:24 AM

RE: [Dynapi-Dev] Array splicing

2001-02-26 Thread Pascal Bestebroer
what browser are you using? I think IE doesn't support it.. not sure though Pascal Bestebroer [EMAIL PROTECTED] http://www.dynamic-core.net > -Oorspronkelijk bericht- > Van: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]Namens Eytan Heidingsfeld > Verzonden: maandag 26 februari 2001 21

Re: [Dynapi-Dev] Images and events

2001-02-26 Thread Doug Melvin
awe.. that means I have to DL the code again, eh? - Original Message - From: "Pascal" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, February 25, 2001 11:37 PM Subject: RE: [Dynapi-Dev] Images and events > that .lyrobj code is back in (did it yesterday) so images should > tri

Re: [Dynapi-Dev] More minor glitches

2001-02-26 Thread Doug Melvin
is that so different? (no, really I ned to know) I mainly use the first method, but some of mty older code uses the second - Original Message - From: "Michael Pemberton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 26, 2001 4:26 AM Subject: [Dynapi-Dev] More minor gl

RE: [Dynapi-Dev] Images and events

2001-02-26 Thread Pascal Bestebroer
yep.. or stick to the latest official release (hint,hint :) Pascal Bestebroer [EMAIL PROTECTED] http://www.dynamic-core.net > -Oorspronkelijk bericht- > Van: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]Namens Doug Melvin > Verzonden: dinsdag 27 februari 2001 0:45 > Aan: [EMAIL PROTECTE

Re: [Dynapi-Dev] External loading trick - advanced -

2001-02-26 Thread Doug Melvin
that sounds very interesting.. But I'm not clear on what you are doing? Are youloading an external file into a textarea? That would rock, as we can then stuff the contents of the page into a size table in a layer... ect.. - Original Message - From: "Jordi - IlMaestro - Ministral" <[EMAIL

Re: [Dynapi-Dev] (no subject)

2001-02-26 Thread Doug Melvin
does that mean I should NOT dl the latest code? is this fix in the cvs? - Original Message - From: "Robert Rainwater" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 26, 2001 8:59 AM Subject: Re: [Dynapi-Dev] (no subject) I updated CVS with a fix. I forgot to add pare

Re: [Dynapi-Dev] My JS Optimization Site

2001-02-26 Thread Doug Melvin
well, he did pass you the html.. :-) - Original Message - From: "Jeff Greenberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Daniel Aborg" <[EMAIL PROTECTED]> Sent: Monday, February 26, 2001 10:22 AM Subject: Re: [Dynapi-Dev] My JS Optimization Site > Very cool. Nice improvement. > > I

RE: [Dynapi-Dev] External loading trick - advanced -

2001-02-26 Thread Pascal Bestebroer
that code he shows should be put in the page (all text falls between the two scripts) this makes all code part of a form textarea in case the dynapi is found. Load that page into a frame, and you can easily grab the code out of the textarea and into a string.. and guess what: setHTML uses strings

RE: [Dynapi-Dev] (no subject)

2001-02-26 Thread Pascal Bestebroer
K, Doug.. don't take this to hard (or personal) but if your using the DynAPI for real-life solutions and projects.. use the latest official release... NOT the CVS code, as things might work one day, and broken the next (hmm.. sounds familiar...oh, the faq :) There's been some heavy changes in th

Re: [Dynapi-Dev] Array splicing

2001-02-26 Thread Doug Melvin
nuts, what browser? It may just not be implemented.. this happens a lot actually Hell, I remember having to write my own function to round numbers to proper currencies, as NS hadn't implemented math.round() yet - Original Message - From: "Eytan Heidingsfeld" <[EMAIL PROTECTED]> To: "Dynapi

Re: [Dynapi-Dev] Array splicing

2001-02-26 Thread Doug Melvin
I believe splice is implemented in IE, heck, even they say it is http://msdn.microsoft.com/scripting/jscript/doc/JSTOC.htm - Original Message - From: "Pascal Bestebroer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 26, 2001 12:24 PM Subject: RE: [Dynapi-Dev] Array spl

Re: [Dynapi-Dev] (no subject)

2001-02-26 Thread Doug Melvin
woh guy.. I don't need to be lectured. sheesh.. :-) ANy real-world app use the official relese.. But I am working on future tech here (including widgetts) Which means I MUST have the LATEST code to ensure that when y'all funally release the next version, all of my tech doesn't suddenly get hit. y

[Dynapi-Dev] Opera

2001-02-26 Thread Pascal Bestebroer
I've been doing some Opera5 testing, and actually got a few things working. Currently it seems Opera doesn't support dynamic loading (major problem) I posted a bug to Opera about this.. so hopefully it will get fixed. So the rest of my tests were done using normal

RE: [Dynapi-Dev] (no subject)

2001-02-26 Thread Pascal Bestebroer
then just download it without asking, saves some volume on this mailing :-) Pascal Bestebroer [EMAIL PROTECTED] http://www.dynamic-core.net > -Oorspronkelijk bericht- > Van: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]Namens Doug Melvin > Verzonden: dinsdag 27 februari 2001 1:11 > Aan

[Dynapi-Dev] CVS snapshot

2001-02-26 Thread Doug Melvin
At what time of day is the snapshot updated (and timezone I guess)?   ---Outgoing mail is certified Virus Free by AVG Free EditionDownload at: http://www.grisoft.com/html/us_index.cfmChecked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.231 / Virus Database: 112 - Release Da

RE: [Dynapi-Dev] Opera

2001-02-26 Thread Eytan Heidingsfeld
I already spoke to Opera. There is no way to write to divs that is the main problem. I got working the colors sizing position. Someone in the developer group said you can't do anything like create elements with the DOM. What you can do is write a layer tag like in IE4. The problem is that you can

RE: [Dynapi-Dev] Array splicing

2001-02-26 Thread Eytan Heidingsfeld
Thanx for the link. The M$FT idiots only implements it in IE5.5 8an ___ Dynapi-Dev mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Re: [Dynapi-Dev] Opera

2001-02-26 Thread Raymond Smith
That's what I read, Opera is pretty much a small footprint HTML parser with limited "gonads". Not something that a DHTML API should target. Lets just hope that the world of browser users agree. But I think if you are browsing with Opera you have an "expectation" that fecal matter will hit the f

Re: [Dynapi-Dev] Opera

2001-02-26 Thread Krzysztof Kaczmarski
I have installed Opera but I will never use it... it doesn't support any of used polish char code pages. :-o I have no idea why they are wasting time for it... KK On 01-02-26 at 13:28 Raymond Smith wrote: >That's what I read, Opera is pretty much a small footprint HTML parser with >limited "gon

[Dynapi-Dev] Just a comment ...

2001-02-26 Thread Raides J . Rodríguez Domínguez
> Doug Melvin wrote: > > At what time of day is the snapshot updated (and timezone I guess)? BTW, why do your post all come later than the answer to them?? This happens if I order my mail by Date, of course. This one I'm answering has this headers inside it: Subject: [Dynapi-Dev] CVS sn

[Dynapi-Dev] [ dynapi-Bugs-404426 ] add to .jspack

2001-02-26 Thread nobody
Artifact #404426, was updated on 2001-02-26 14:19 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105757&aid=404426&group_id=5757 Category: None Group: None Status: Open Priority: 5 Submitted By: Nobody/Anonymous Assigned to: Nobody/Anonymous Summary: add to .jspack

Re: [Dynapi-Dev] Just a comment ...

2001-02-26 Thread Doug Melvin
All messages are handled by an Email list handler.. I'm guessing that the handler operates at a certain interval, and that it then processess all stored messages, either in reverse order or in no order at all.. - Original Message - From: "Raides J. Rodríguez Domínguez" <[EMAIL PROTECTED]>

Re: [Dynapi-Dev] CVS snapshot

2001-02-26 Thread Robert Rainwater
It runs at 3:31 PST. Although, lately sourceforge's backup server is the only one up, so the time seems to vary. -- // Robert Rainwater -- DynAPI Homepage: http://dynapi.sourceforge.net/ DynAPI Snapshots: http://dynapi.sourceforge.net/snapshot/ On Monday, February 26, 2001 4:22:47 PM Doug M

Re: [Dynapi-Dev] CVS snapshot

2001-02-26 Thread Doug Melvin
Thanks.. - Original Message - From: "Robert Rainwater" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 26, 2001 3:21 PM Subject: Re: [Dynapi-Dev] CVS snapshot > It runs at 3:31 PST. Although, lately sourceforge's backup server is > the only one up, so the time seems

Re: [Dynapi-Dev] JS Respository

2001-02-26 Thread Raymond Smith
Seems to me that a lot of really good and obscure Javascript conventions move through this site on a weekly basis. It would be nice to capture and index these to create a general JS resource repsository we can reference. This ideally should be stored at the dynAPI home page. Personally, I will b

Re: [Dynapi-Dev] JS Respository

2001-02-26 Thread Doug Melvin
I would be very interested in such a project. And this is close to my profession, I'm a B2C, and B2B e-commerce developer.. :-) Such a databse would be VERY usefull. If, there are any restrictions preventing such a project from being mounted at dynapi.sourceforge.net I will once-again offer some

[Dynapi-Dev] setTimeout and setInterval affect on animation

2001-02-26 Thread David Cushman
Greetings All, Thanks Raymond for posting my submission from the help list ( [Dynapi-Dev] JS Respository), I was going to, but forgot to save it before sending . I was waiting for it to show up on the list. I would appreciate feedback on the issues in that e-mail here also. Please use this

Re: [Dynapi-Dev] More minor glitches

2001-02-26 Thread Michael Pemberton
just becuase something works, doesn't mean that it is right. there are too many glitches that are being left unchanged because they aren't bugs. Doug Melvin wrote: > is that so different? > (no, really I ned to know) > I mainly use the first method, but some of mty older code uses the second >

Re: [Dynapi-Dev] Memory leak

2001-02-26 Thread Richard Bennett
(From the faq:)(better suited to Help list) Check the mailinglist archives for all posts: http://www.mail-archive.com/index.php3?hunt=dynapi Cheers, Richard Bennett [EMAIL PROTECTED] www.richardinfo.com (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) Find the DynAPI faq

Re: [Dynapi-Dev] Just a comment ...

2001-02-26 Thread Richard Bennett
I thought you were anticipating peoples questions, and answering them before they asked them ;o) - Original Message - From: "Doug Melvin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 27, 2001 3:06 AM Subject: Re: [Dynapi-Dev] Just a comment ... > All messages are

Re: [Dynapi-Dev] More minor glitches

2001-02-26 Thread Doug Melvin
I think you missed the point of my message. I wasn't saying that there are no glitches. I was asking the difference out of professional interest Later doug - Original Message - From: "Michael Pemberton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 26, 2001 4:21 PM Su

Re: [Dynapi-Dev] setTimeout and setInterval affect on animation

2001-02-26 Thread Richard Bennett
That was some very interesting stuff, you make me feel a bit of a fool spending lot's of time fine-tuning animations to run smother by setting sleep to 10, then 20, then "no, 10 was smoother" etc. Why don't you put the tests up so we can do them online? I can help testing such exotics as WinME/IE5

Re: [Dynapi-Dev] More minor glitches

2001-02-26 Thread Michael Pemberton
i am not sure that there is any reason other than good syntax. it reduces the need to rely on "idiot-proof" browsers. Doug Melvin wrote: > I think you missed the point of my message. > I wasn't saying that there are no glitches. > I was asking the difference out of professional interest > > Lat

Re: [Dynapi-Dev] External loading trick - advanced -

2001-02-26 Thread Michael Pemberton
it just wraps the external file into form text area. it still requires that the page be loaded into an external frame. Doug Melvin wrote: > that sounds very interesting.. > But I'm not clear on what you are doing? > Are youloading an external file into a textarea? > That would rock, as we can t

Re: [Dynapi-Dev] External loading trick - advanced -

2001-02-26 Thread Doug Melvin
That's fine, I'm used to using hidden frames.. Use them a lot for client-server database com. Just so long as I get the HTML from the file then I am very happy.. To date I've been compressing my html into a single line and then including the single line in my project. Avoiding this step would red

[Dynapi-Dev] Animations (changed methods)

2001-02-26 Thread Michael Pemberton
There is a major feature missing from the current code. I've already posted it on this list, but here's my suggestion again. I believe that a sleep() method should do just that, sleep. it should no alter the frame rate of the animation. for this, there is already a setFPS() method. -- Michael

Re: [Dynapi-Dev] My Latest

2001-02-26 Thread Richard Bennett
Ok, I tried these out and the window manager is pretty cool. Good for controlling a list of windows, for a forum, or something. The downside is that you seem to have to give the window manager full control over the windows, if you try to do something manually to a window, like adding draggability,

Re: [Dynapi-Dev] JS Respository

2001-02-26 Thread Richard Bennett
I would say go for it Doug, like the Matrix, my examples, the faq, user manuals, dev manuals, tutorials etc, these things take a lot time to keep them updated, we can't expect Robert or Pascal to Do *all* of this. And whether or not a JS Repository is hosted at dynapi.sourceforge.net doesn't seem

Re: [Dynapi-Dev] More minor glitches

2001-02-26 Thread Michael Pemberton
I've attached a version that I have cleaned up and commented with possible changes. I'd also suggest that the setStyle() method be changed to an ext/layer.js method as I'm still to see any code that uses it. Robert Rainwater wrote: > Actually, the else is not even needed since the the if above

Re: [Dynapi-Dev] My Latest

2001-02-26 Thread Michael Pemberton
this can be dome with: button1.onClick=button2.onClick=button3.onClick=function() { ... }; this is actually more economical than listeners. Richard Bennett wrote: > although if you have a lot of layers with a click event, it would be more > economical to use one event listener for all of th

Re: [Dynapi-Dev] Enhanced FAQ

2001-02-26 Thread Richard Bennett
The resources I know for that are: http://www.mail-archive.com/index.php3?hunt=dynapi >From which you should be able to leach all messages, or just ask them, maybe they have this for backup purpose. And: http://sourceforge.net/mail/?group_id=5757 In case it's of any help. Richard. - Original

Re: [Dynapi-Dev] Context Menus and Text Selection in IE5

2001-02-26 Thread Richard Bennett
Although the code is nice and concise, doesn't this mean that this code is evaluated every time the mouse goes down on any layer, and all bubbled too layers, for any reason, instead of only for a layer that's about to be dragged ? If I'm not mistaken the current code is : if (is.ie) lyr.doc.body.

Re: [Dynapi-Dev] My Latest

2001-02-26 Thread Richard Bennett
Ah yes, Why do eventlisteners get the preference then? - Original Message - From: "Michael Pemberton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 27, 2001 2:04 AM Subject: Re: [Dynapi-Dev] My Latest > this can be dome with: > button1.onClick=button2.onClick=b

Re: [Dynapi-Dev] Context Menus and Text Selection in IE5

2001-02-26 Thread Michael Pemberton
yes, it is evaluated every time. but it allows for more dynamic coding. since it is mouse click events only, speed is not exactly critical. It means that you can select if you want the event to get through to the browser. this is the case with NS and i believ that we should be working towards

Re: [Dynapi-Dev] My Latest

2001-02-26 Thread Robert Rainwater
Using that method you can only define one method for the event. Using event listeners, any object can listen for events and capture them without having to be tied into the event. -- // Robert Rainwater -- DynAPI Homepage: http://dynapi.sourceforge.net/ DynAPI Snapshots: http://dynapi.sourcefo

[Dynapi-Dev] Website

2001-02-26 Thread Robert Rainwater
Since it is very difficult to keep the dynapi.sourceforge.net site up-to-date, I've put up a new site that should allow more interaction than just the mailing lists. I know the layout is not the greatest right now as I havent had a lot of time lately to work on it. If anyone has any designs they

Re: [Dynapi-Dev] My Latest

2001-02-26 Thread Michael Pemberton
because if you change, in the below, example button2.onClick, this wil then effect button3.onClick because on the we they are linked. Richard Bennett wrote: > Ah yes, > Why do eventlisteners get the preference then? > > - Original Message - > From: "Michael Pemberton" <[EMAIL PROTECTED]>

Re: [Dynapi-Dev] CVS snapshot

2001-02-26 Thread Robert Rainwater
Sorry, I should have said 3:31 PM PST. -- // Robert Rainwater -- DynAPI Homepage: http://dynapi.sourceforge.net/ DynAPI Snapshots: http://dynapi.sourceforge.net/snapshot/ On Monday, February 26, 2001 6:26:47 PM Doug Melvin wrote: > Thanks.. > - Original Message - > From: "Robert Rai

Re: [Dynapi-Dev] setTimeout and setInterval affect on animation

2001-02-26 Thread David Cushman
Greetings, First of all, i spent more than my share of time adjusting animation speeds back and forth . Nuff said bout that. Here are the links to the test pages, although I reccommend downloading the zip file and running them from the hard drive with as much turned off as possible. It affect

[Dynapi-Dev] Suggestion

2001-02-26 Thread Aaron Shafovaloff
There is a lot to be learned from http://webreference.com/dhtml/hiermenus/.

RE: [Dynapi-Dev] More minor glitches

2001-02-26 Thread Pascal
I noticed a few things you "removed" (the onload trapping for example). You should take care when doing these changes to the dynlayer, many weird pieces of code were added with a reason (most likely strange bug fixes) One of those things is the setBgColor that contains a weird NS bugfix (if colo