Well, it can work as I've done it in a production application. It's a
pain in the ass but once the strategy is in place it works fine. The
idea is to include a form in each NS Layer and when one of these form is
submited, reconstruct a form by collecting all values of the forms in
the layers (
Hi there,
I have issues with when dragging a div by clicking on an image with
Netscape 6+/gecko. A rectangle of the image size get dragged instead. I
found a workaround by adding the following to the onmousedown and
onmouseup handlers: "DynMouseEvent.EventMethod(event);return false;".
When yo
Hi there,
It's great news to have the new dynapi3 in cvs.
I've checked it out and tried a few examples. I tried the inline and got a lot of errors. I fixed all of them in dynlayer_inline.js. I don't have write access to cvs I think, so shall I get one ? Otherwise, what's the procedure to follow ?
Hi
I've been playing with a widget that can be initialized from an inline
div. The reason I'm looking at that is that I can generate dynamically
divs on the server side, and there's a HUGE speed difference between
initializing Dynlayers on existing div in the html compared to create
everything
Hi
I've been doing anchoring in dynapi2 for a while, and I chose to use an
anchor tag around an image of the size of the layer I want to place for
NS 4.7x, and a DIV position:relative of the size of the layer I want to
place for IE, NS 6/7 and Safari. The reason I made that choice was that
I f
I fixed this issue by calling this.applyDomImageEventWorkaround(). It will basically respect any custom event handler on the image if any exists.
It needs to be called after each setHTML, and when you map a dynlayer to an inline div with something like getInline .
I was tired of doing this by hand
dynlayer_ie.js and dynlayer_opera.js files had a
fix to this problem, but I think your solution will
work just fine for all browsers. I would however call
the function ._applyImageEventDragHandler()
Are your change making their way into CVS?
Are you the person working on the DynLayer_inline
module
n, that it's mentioned to avoid to do for (var and instead use an external variable declaration, I'm not sure why, but it's supposed to be faster to use
var i=iter-1;
do {} while (i--);
than
var i;
for (i=iter;i>0;i--)
Shall we pay attention to that right now ?
Benoit
On
On Monday, February 24, 2003, at 05:55 PM, Raymond Irving wrote:
Hi Benoit,
Please note my responses below:
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
Well that points me to other issues I see with the
DragEvent right now.
In dynapi2, there was a test in
DragEvent.onmousemove to
e the drawing should then be separated, so that if you need the
shapes for the drag areas but don't care for the drawing or vice versa
you don't have to load something you don't need.
Does it make sense ?
Benoit
On Tuesday, February 25, 2003, at 11:56 AM, Raymond Irving wrote:
I don't see much usage of this in dynapi3 except in these methods, and even there I don't think it's usefull.
What's the point of having a isChild when you have a parent property ?
No dynlayer is supposed to be parent less, right ? They're either child of the dyndocument or child of another dynlay
On Thursday, February 27, 2003, at 08:35 AM, Raymond Irving wrote:
Hello Everyone,
I've done some work on speeding up layer creation and
I've added a new TemplateDesigner Object.
Test results for a basic layer template:
1) Without TemplateDesigner and modified code
Browser | # layers | Ti
On Thursday, February 27, 2003, at 12:36 PM, Raymond Irving wrote:
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
Mac OS X 10.2.4, Dual processor G4 1Ghz:
http://www24.brinkster.com/dyntools/next/examples/
speedtest.templatedesigner-basic.html
Gecko/20021120 Netscape/7.01 : 500 lay
On Thursday, February 27, 2003, at 07:58 PM, Raymond Irving wrote:
I see what you're trying to do. You're trying to
construct a widget from an inline div, correct?
Exactly !
So you
would like the option to be able to pass paraments to
the widget from an the getInline() function? What I
think you'r
On Friday, February 28, 2003, at 12:02 PM, Raymond Irving wrote:
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
...I think we
should take a different approach: create your
dynlayers or widget
exactly as you usually do with their regular
constructors.
Now, if you already have the html
Hi
Try the drag example in dynapi3 with Netscape 4. The layer only move
when you release the mouse, and not continuously. Somehow
DragEvent.docListener.onmousemove isn't called, which means I guess
that no event happens on the document itself.
Can someone confirm this ?
Benoit
On Friday, February 28, 2003, at 02:49 PM, Raymond Irving wrote:
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
So what about tweaking addChild(c,alias) method to
addChild(c,alias,inline). Then you can specify
inline as true, and we
would default to no, which means it would be
transparent
c or Windows? Do you have the latest
code from cvs?
In windows the drag works fine. But I'll double check
it to make sure.
--
Raymond Irving
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
Hi
Try the drag example in dynapi3 with Netscape 4. The
layer only move
when you release the mouse
--- Original Message -
From: "Raymond Irving" <[EMAIL PROTECTED]>
To: "DynAPI-Dev" <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 2:49 PM
Subject: Re: [Dynapi-Dev] New TemplateDesigner
Object for 3.0
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
So wh
ue); and the regular addChild() should just work.
Benoit
- Original Message -
From: "Raymond Irving" <[EMAIL PROTECTED]>
To: "DynAPI-Dev" <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 2:49 PM
Subject: Re: [Dynapi-Dev] New TemplateDesigner Object for 3.
Number 3, a winner !
Benoit
On Sunday, March 2, 2003, at 03:25 PM, Raymond Irving wrote:
Hi everyone,
I was just thinking about the naming convention used
in DynAPI for Extension libraries and came up with the
following question:
Which is a better naming convention to use?
1) DynLayer_inline
2
Hi
There's one comment I would like to make about the snap feature. I find
it strange that what you hold is suddenly pulled of you. The issue is
that the cursor doesn't follow. This is usually handled by a "ghost", a
dimmed version of what you drag, or a rectangle of the size of what you
drag,
Irving wrote:
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
You didn't tell why you don't like adding an
argument to addChild ?
Well, I believe that using setID() will allows us to
better set the isInline property. This will offer
greater flexiblity if we need to test if a layer
. Also remember that We'll now be using
DynLayerInline instead of DynLayer_inline
--
Raymond Irving
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
Ok, so do we add the isInline argument to setID in
event.js where we do
use it in addChild ?
p.DynObjectSetID = DynObject.setID
On Monday, March 3, 2003, at 08:09 PM, Raymond Irving wrote:
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
Agreed, but make sure you test for the existence of
this._createInLine() before calling it, and
eventually raise if the
layer is setInline, but the fucntion isn't defined.
I didn't see any fading on my Mac, I get the different layers
superposed. How shall they fade ?
Benoit
On Tuesday, March 4, 2003, at 11:12 AM, Raymond Irving wrote:
Hi,
I've created a new fader class for dynapi. check it
out here:
http://www24.brinkster.com/dyntools/next/examples/dynapi.fx.fa
So will you rename the file dynlayerinline.js ?
Benoit
On Monday, March 3, 2003, at 11:48 AM, Raymond Irving wrote:
PS. Also remember that We'll now be using
DynLayerInline instead of DynLayer_inline
---
This SF.net email is sponsored by: Et
.
Benoit
On Tuesday, March 4, 2003, at 01:26 PM, Raymond Irving wrote:
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
So will you rename the file dynlayerinline.js ?
Well, since most of the files inside dynapi uses the
"." extension I would assume it's best to just follow
thro
On Tuesday, March 4, 2003, at 01:42 PM, Raymond Irving wrote:
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
It looks like the _ is used for different files for
different browsers,
and the . is used to name an extension of an
existing file, like
functions.color.js, or ioelement.soda.js
That sounds good and inline with what Raymond started with his
TenplateDesigner, which is very close to be a DynCSSClass.
Raymond, are you planning on continuing in that direction ?
Benoit
On Tuesday, March 4, 2003, at 04:15 PM, Joshua Kifer wrote:
How about some methods to add and remove styl
change line 44 of fader.js from
else this.css.MozOpacity = parseInt(opac) +'%';
to
else this.css.-moz-opacity = parseInt(opac) +'%';
Benoit
On Tuesday, March 4, 2003, at 08:52 PM, Raymond Irving wrote:
It's now inside cvs. Some more work is needed for
smoother support with gecko browsers.
D) as you've originally
suggested. This worked out great for create a DynLayer
in one line of code. When inlineID is passed the
addChild() will cal setID()
--
Raymond Irving
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
On Tuesday, March 4, 2003, at 01:42 PM, Raymond
Irving wr
There's graphics objects in dynapi3 that does that.
Benoit
On Wednesday, March 5, 2003, at 05:43 PM, Joshua Kifer wrote:
It actually drew a graphical-like circle on the screen, not just moved
a layer around. I'm looking for it because I would like to be able to
render some graphs on the clie
I ran the 2 versions in IE on the mac, creating 2000 layers with
speedtest.dynlayer-basic.html. And it looks like the regular method is
faster, but not all the time. I don't get consistent results each time.
Benoit
On Wednesday, March 5, 2003, at 09:20 AM, Raymond Irving wrote:
Hello,
Benoit
te:
So would you suggest that we keep both methods or just
used the original method?
Any other comments?
--
Raymond Irving
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
I ran the 2 versions in IE on the mac, creating 2000
layers with
speedtest.dynlayer-basic.html. And it looks like the
r
If it looks like it's more efficient, and I remember when we talked
about it in my test it was, we should certainly fully test it and
eventually adopt it.
Benoit
On Friday, March 7, 2003, at 07:16 AM, Raymond Irving wrote:
Hi,
Some time ago benoit had suggested that we use the
createElement(
it reallly makes sense that it should be faster. When you do
insertAdjacentHTML, that HTML has to be parsed by the browser which
will end up doing document.createElement('DIV') etc anyway.
Benoit
On Friday, March 7, 2003, at 10:22 AM, Raymond Irving wrote:
--- Benoit Marcha
I think these should be added to dynlayer main files. There's something inconvenient with the split of all the dynlayer files for different browsers. There's no common file for apis that don't have anything browser related but rely on existing dynapi api, which I guess is the case for something lik
Here's my findings:
speedtest.dynlayer-basic.inline.html: same code as speedtest.dynlayer-basic.html, except that the loop does call setID to set the inline property. I timed until all dynlayers are initialized.
There's not much difference, and some time inline is a bit slower. Since you have to l
d say we should.
--
Raymond Irving
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
Here's my findings:
speedtest.dynlayer-basic.inline.html: same code as
speedtest.dynlayer-basic.html, except that the loop
does call setID to
set the inline property. I timed until all dynlayers
are init
Hi
I mentioned it before, but I'm pretty sure we need to address this. If
you click on a layer that's dragable, you will both get ondragend and
onclick called. If you have an event handler on both events doing
different things, you're screwed !
I believe, tell me if that's wrong, that the ondra
anges.
Benoit
On Wednesday, March 12, 2003, at 01:36 PM, Raymond Irving wrote:
Yep! It works fine on my machine with the exeception
of one thing...
The onclick event is been triggered at the end of a
drag. Is that by design?
--
Raymond Irving
--- Benoit Marchant <[EMAIL PROTECTED]> w
l also see a new
piece of code that enables selection of text inside
the textarea if the layer is drag-able.
So in that case we can either more the code from
MouseEvent._eventHandler() to dragevent.js or remove
the code from drag events. What do you think?
--
Raymond Irving
--- Benoit Marchant
can test validate it before I commit to cvs.
Thanks,
Benoit
On Wednesday, March 12, 2003, at 07:45 PM, Raymond Irving wrote:
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
Well,
If I comment the code I've added in dragstart, it
works everywhere but
in Safari. If I comment the code i
Hi
I found some issues with pageX/Y and x/y in a page with a scroller in NS6
The current code in mouse_dom.js does:
me.pageX = e.clientX;
me.pageY = e.clientY;
me.x = me.pageX - src.getPageX(); //offsetX;
me.y = me.pageY - src.getPageY(); //offsetY;
If I change that to
me.pageX = e.pageX;
me
You're right, onclick on image in NS4 doesn't work, so go for the href.
It's my experience that if one can avoid to create a dynlayer, one
should !!
As for the scrollbar, I modified it a bit to look like Aqua scroll bar
on Mac OS X, I can't do without it !!
Benoit
On Friday, March 14, 2003, at
On Friday, March 14, 2003, at 01:56 PM, Raymond Irving wrote:
Hi
Check out these new demos/examples of ImageClip and
the new Swiper Animation class
http://www24.brinkster.com/dyntools/next/examples/dynapi.fx.swiper.html
http://www24.brinkster.com/dyntools/next/examples/demo.spaceship-
path.htm
Hi
please have a look at
http://homepage.mac.com/marchant/dynapi3x/examples/
dynapi.api.ext.dragresize.html
This is an example of additions I made to dragevent. There's new events
dragresizestart Features like creating an area (recatngle, circle
or collection of area) to accept startin
On Sunday, March 16, 2003, at 06:28 AM, Raymond Irving wrote:
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
Hi
please have a look at
http://homepage.mac.com/marchant/dynapi3x/examples/
dynapi.api.ext.dragresize.html
This is an example of additions I made to dragevent.
There's
Hello,
First of all, that generateBlueprint(0 feature is really cool and very valuable !
I have some questions about the inline stuff.
We tried to avoid having to do an insertInlineLayers() in the thread round about inline layers, so I'm not sure what the benefit is ?
Plus the way it is, if you
On Thursday, March 20, 2003, at 07:59 AM, Raymond Irving wrote:
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
Hello,
First of all, that generateBlueprint(0 feature is
really cool and very
valuable !
I have some questions about the inline stuff.
We tried to avoid having to
On Friday, March 21, 2003, at 10:19 AM, Raymond Irving wrote:
--- Doug Melvin <[EMAIL PROTECTED]> wrote:
In the ChangeLog Dan had suggested that the
onresize
event be replaced with the setAnchor() function.
The
setAnchor() function is much more flexible that
having
to do invokeEvent("resize")
So
That's interesting. Here's bellow an portion of documentation from Apple's Cocoa programming about NSScrollers.
All widget in Cocoa inherit form a superclass named NSControl, and the basic concept is target/action: you set a target to a widget (instance variable), you tell it what action (selector)
See bellow
On Friday, March 21, 2003, at 11:11 AM, Raymond Irving wrote:
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
On Friday, March 21, 2003, at 10:19 AM, Raymond
Irving wrote:
--- Doug Melvin <[EMAIL PROTECTED]>
wrote:
These are issues we will have to collaborate on.
Is it
On Friday, March 21, 2003, at 10:26 AM, Raymond Irving wrote:
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
to do invokeEvent("resize")
But what about layers that don't use anchors ?
What's wrong with
invokeEvent("resize") in setSize ? Performance ?
I've
On Friday, March 21, 2003, at 01:13 PM, Raymond Irving wrote:
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
Could we
combine our findinds and make one load widget that
works well?
We sure should !
I have a question. Why is IOElement using java at
all ? I'd rather
stick to javascri
On Friday, March 21, 2003, at 02:54 PM, Raymond Irving wrote:
Hmmm... maybe not! converting a layer to a loadpanel
will 1) add bloated code to DynLayer.prototype that
will be used by using in only a few cases. Would
anyone have need for 10 loadpanels? IMO I think
LoadPanel/LoadLayer should be a w
Hi Doug,
It's sunday after all ! I'll test it tomorow !!
What about button ? ViewPort ? lists ?
Benoit
On Sunday, March 23, 2003, at 06:09 PM, Doug Melvin wrote:
is this thing on?
See below
On Monday, March 24, 2003, at 03:01 PM, Raymond Irving wrote:
Hello everyone,
If you can recall, last week we had a discussion on
the following events:
onload - triggered by setHTML() - in dynapi 2.x
onmove - triggered by moveTo() - in dynapi 2.x
onresize - triggered by setSize() - in d
Just tested it. Very nice !
2 missing things I believe. First, when you keep mouse down on the scrollers buttons, you would expect the scroller to keep scrolling until you release the mouse button or the scroller is at his maximum.
And the same is true if you click in the scroller outside of the kn
On Tuesday, March 25, 2003, at 05:27 PM, Doug Melvin wrote:
See comments inline:
- Original Message -
From: Benoit Marchant
To: Doug Melvin
Cc: [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 10:15 AM
Subject: Re: [Dynapi-Dev] Here it is.. the first DynAPI 3x widget port
we will have discussions on standards.. let's have one at a time, okay?
I vote to start off with a GUI component standard.
This conversation would not discuss skinning directly, but could cover topics allowing
easier sub-classing of a non-skinned component into a skinnable one.
- O
On Tuesday, March 25, 2003, at 10:45 PM, Doug Melvin wrote:
Here are some things I would like to see addressed as far as a GUI component standard.
Defaults: All arguments for all components should have default values. This way a user can pass as many or as few values as they choose and not hav
Did you try using individual borders: border-right: 1px solid blue ?
Benoit
On Tuesday, April 1, 2003, at 02:09 PM, Kevin wrote:
Hello everyone,
There is a problem with setBorder on Mozilla.
Only the top and left borders are set.
Reading back the elements css after it's been set
results in som
See coments below
On Tuesday, April 1, 2003, at 03:08 PM, Raymond Irving wrote:
By default 0 is value used for x,y whenever they are
set to null.
One way to get relative position is to use
setAnchor(). See
dynapi.api.dynlayer-anchor-anchoring.html for some
information.
The other thing is to create
Hi
I have a case where I have a onload on
They will still be added as child of the document in the onload.
Thanks,
Benoit
---
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No othe
On Wednesday, April 2, 2003, at 09:37 AM, Kevin wrote:
See comments below:
"Raymond Irving" <[EMAIL PROTECTED]> wrote:
Hello,
I've managed to create the setPosition(p) function
which supports absolute, relative and fixed positions.
Yes this looks like what I had in mind. I'll need time to
wor
See below
On Wednesday, April 2, 2003, at 12:44 PM, Raymond Irving wrote:
Please see below:
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
On Wednesday, April 2, 2003, at 09:37 AM, Kevin
wrote:
See comments below:
"Raymond Irving" <[EMAIL PROTECTED]> wrote:
Hello,
I
I agree, we need this. The main benefit of having a style object that
could be used either as a class or a style from a css point of view, is
that it provides a way to change the properties of that style object at
anytime, which would then propagate these changes to all dynlayers
using it.
Ben
believe that's what dynapi 1 was doing !
Benoit
- Original Message -----
From: "Benoit Marchant" <[EMAIL PROTECTED]>
To: "Kevin" <[EMAIL PROTECTED]>
Cc: "Dynapi-Dev" <[EMAIL PROTECTED]>
Sent: Thursday, April 03, 2003 1:37 PM
Subject: Re:
Hi
In a test I've been doing, I used not a class="", but I declare a style
in a for each of the layers using their ID
like
#layer1 {position:absolute; width: }
.blueBg {background-color:blue;}
and Some html
As far as I understand it class is meant to control the style of
multiple obje
See bellow
On Thursday, April 3, 2003, at 03:33 PM, Raymond Irving wrote:
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
Hi
In a test I've been doing, I used not a class="",
but I declare a style
in a for each of the layers using
their ID
like
#layer1 {position:absolute;
This is a very good idea. See bellow my feedback
On Friday, April 4, 2003, at 07:03 AM, Raymond Irving wrote:
Hi,
I've been thinking about creating an easier way to
subclass/overwrite methods:
DynObject.prototype.subclass = function(n,fn){
if(!this._sbCls) this._sbCls=1;
var om = '_sbMethod'+
See my comments bellow
On Friday, April 4, 2003, at 02:25 PM, Raymond Irving wrote:
Please see below:
--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
I would prefer
I prefer the syntax super.setSize(w,h).
What about adding
DynAPIObject.prototype.overwrite = function(sC,n) {
Very nice ! And it's fast !
Good job !
Benoit
On Wednesday, July 16, 2003, at 09:58 PM, Raymond Irving wrote:
Hi,
Check out the new vertical orientation for HTMLMenu
http://www24.brinkster.com/dyntools/next/examples/dynapi.gui.htmlmenu-
images.html
Also see how easy it is to add images to
Hi
I couldn't find a reader for Mac OS X ?
That could be a problem !
Thanks,
Benoit
On Monday, September 1, 2003, at 05:21 AM, Joy Ride wrote:
Hello,
I finally managed to find out some time to put in to DynAPI project.
As a result here is a dynapi site structure draft. All the comments
are
I recommend that article in light of a more "inline" approach:
http://www.alistapart.com/articles/scripttriggers/
On Wednesday, January 26, 2005, at 01:43 PM, Raymond Irving wrote:
Hi Kevin,
Any ASP.NET? tutorials to help us unix peeps.
:) This one is very straight forward. No help files
needed -
I'm still interested too.
Benoit
On Friday, April 1, 2005, at 03:21 AM, Frank Alcantara wrote:
HI
My name is frank alcantara, I am one developer of thyapi... a widget
set
using dynapi... I am here also, and I am very interested in this
project.
Frank Alcantara
On Fri, 2005-04-01 at 14:45 +1000,
Hi
I came up with a workaround for that bug on ie5 on Mac OS 8.x (It's
fixed on OSX). I did Your
content, all that inside the dynlayer.
Don't ask me why ....
Benoit Marchant
On Monday, November 12, 2001, at 07:57 AM, martin ström wrote:
> (and now the message as it wa
79 matches
Mail list logo