hi,
Thanks for that, I updated the example with the correct code, that being:
tdoc = new DynDocument(parent.treeFrame);
myLayer=new DynLayer(null,100,100,100,100,'#c0c0c0')
tdoc.addChild(myLayer);
DragEvent.setDragBoundary(myLayer, 0, 300, 300, 0)
DragEvent.enab
Finally found this thing...
Sorry if that question bothered anyone.
M.
___
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-help
First, is this the right place to be discussing this? Alternatively, should
it be moved over to the Dev list?
Okay, I think I have located part of the NS 6 problem on inline layers but I
need a little feedback. I found that the isDirectChildOf() method was ...
behaving badly... in NS 6. The fu
>> Where and when is the "DynAPI.document.all" object constructed?
I don't know if anyone's answered your question already, Matthew, but...
DynAPI.document.all is constructed at runtime when the base DynDocument
is created. When you create a DynLayer using the DynLayer constructor,
and then add
Hey all,
New problem. Actually I think it's an old problem but I have not seen a
solution yet. getHeight and getWidth. How do you make them work on NS 6
and IE 5(Mac) ?
Here's the code segment I am using:
c = new DynLayer();
c.moveTo(100, 100);
c.setBgColor('#c0c0c0');
c.setHTML("Testing!");
First thing you should do is get the latest copy of the source using CVS. There is
instructions here:
http://sourceforge.net/cvs/?group_id=5757
The cvs software for RedHat is included on the Redhat CD, or can be downloaded from
ftp.redhat.com
The 11/07 dynapi release is a bit out of date now
Hi,
My system is Linux Zoot (6.2), with Netscape 4.72 running on it, I
have the 11/07/2000 build of the dynapi.
I'm working through the tutorial on the dynapi 2 and I'm finding
erratic behavior. For one thing I find that examples on dragging work
one day and not the next (giving an error
Hi all,
This DynAPI is great stuff. I've been trying it out on something I am
working on... temp file is located here:
http://www.chrisgo.com/dynAPI/z-temp/scrollWin.htm
This is nothing fancy or anything but just to point out a *bug* I discovered
in MSIE. The site above is a public site that I
Just add the same listener to all the objects :)
This is the example you are proposing.
l = new EventListener() -> a parameter is not needed here
a.addEventListener(l)
b.addEventListener(l)
c.addEventListener(l)
The parameter in the eventListener constructor is not needed. You can use it
to pa
My peers:
Is there a method of alieviating the terrible redundancy in the
example below? That is, is there a way to attach the same eventListener
to several layers at once?
industryListener=new EventListener(industry)
industryListener.onslideend=function(e) {
ani = 0
}
casesL
Thank you for that piece of information. I have already checked out
inline.js. I cannot see a problem there though. It correctly uses this line
to get the collection of divs:
if (is.ns5) divs=dyndoc.doc.getElementsByTagName("DIV");
I have verified that this is the proper method for use in NS 6
Okay, the code is now:
var layer1 = this.document.all['panel1']
layer1.moveTo(100,100)
Thanks for that reminder. I knew about that problem but didn't notice it
here.
Unfortunately the previous mentioned error still remains.
Could you help answer my previous question though? Not only am intere
I haven't done any DynAPI development myself, but I think what you want to
look at is the inline.js extension. As far as I know it traverses the
browsers DOM looking for DIV's and builds the DynAPI.document.all object,
which is used by the DynAPI as a kind of cross-browser document.layers
array. B
if your layer is called layer1, try renaming your var layer
differently.. might solve the problem (IE trips over it, so maybe NS6 also)
Pascal Bestebroer
[EMAIL PROTECTED]
http://www.dynamic-core.net
> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Nam
Hey all,
Well, I have posted twice trying to get help with inline layers in NS 6.
Because there seems to be very little DynAPI specific information on the
problem I am trying to trace it and understand more about how DynAPI works
in the process so maybe I can help solve some of these problems in
Hi,
I've been using LoadPanel quite a lot in the site I'm developing, and I've
been having quite a few problems in Netscape. The problem was that Netscape
wouldn't always complete a document into the LoadPanel, I would get a
transfer interupted error.
I determined that this was due to the follow
I added support for dragging in other frames. Simply pass the dyndocument where
the layer is dragged as first parameter of the enableDragEvents method.
d = new dyndocument(parent.blah)
a = new DynLayer()
d.addChild(a)
DragEvent.enableDragEvents(d,a)
Cya
...
Which brings up again the need for
hi,
I haven't used frames with DynAPI myself yet, so my solution might not be
100% orthodox.
It seems you have to assign a drag event to the frame in question before you
can target the layer,
but then you get errors when you click on the target frame, if you disable
drag events for the
target fram
There already is such an applet released by M$FT. I lost the specific file
but anyone who wants it can search there web-site.
___
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-help
19 matches
Mail list logo