Here's a nifty little widget for those to young to drive knee deep into the
pools of "window managers".
zsorter works like a behavior, you can make any layer zsortable with:
SortEvent.enableZSort(myLayer);
You can attach and unattach, to turn it off on a layer that is enabled use:
SortEvent.disa
You need to create some type of manager that will set the zIndex of
all of the layers you have. You should set the zIndex of the layer
you click on and then set the zIndex of all of the other layers to
something lower. Or maybe try something like this:
// assumes all of your layers are in a gl
that worked FANTASTICALLY except that it only seems to want to do it once..
what i'm trying to create is basically like multiple windows and i want to be
able to bring whichever one is clicked to the front.. i can clikck on it once,
bring it to the front, then click something else and bring it
not sure about IE but I think you should check your next() method. The
array.length value is storing the next FREE value. Thus it does not contain
a URL. You should alter the code to check for:
if (this.historyLoc Hi There
>
> I am trying to create an extension to the LoadPanel widget t
This is a browser bug which is mentioned in the faq (see sig) there are a
few workarounds, but usually you just have to reload the page if NS resizes.
Cheers,
Richard Bennett
[EMAIL PROTECTED]
www.richardinfo.com
(Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2)
Find the
Hello,
Anyone know what I mean?
I am build layers with the DynAPI. I am resizing Netscape. Every
other time I do that, all the layers are gone and everyone other time i do
it again, the layers come back. Anyone know of a solution to this
inconsistency?
TIA,
John L.
___
Something like:
myListenerDrag=new EventListener(myLayer)
myListenerDrag.ondragstart=function(e){
o=e.getTarget();
o.setZIndex(+100)
}
myListenerDrag.ondragend=function(e){
o=e.getTarget();
o.setZIndex(-100)
}
myLayer.addEventListener(myListenerDrag)
Cheers,
Richard Bennett
[
myLayer.setZIndex(1);
1 = brings to front (or so I've observer)
-1 = send to back
- Original Message -
From: "doug moore" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 23, 2001 1:28 PM
Subject: [Dynapi-Help] how to make layer come to top when clicked?
> When using th
When using the drag methods in DynAPI 1 the layer you clicked would come to the
top when you clicked on it. that doesn't appear to be the case in DynAPI2.. is
there a way to do this?
thank you,
doug.
___
Dynapi-Help mailing list
[EMAIL PROTECTED]
h
Greetings,
Somewhere I remember reading that when you resize
ns4, the setHTML command creates a new layer in ns4.
It does not overwrite the existing layer but creates a
new one. I am working on problems with buttonimage.js
and kept getting an error that the images array [name]
(image is set in
I do believe that addchild expects an id member of any object.
I'm not sure what other members it expects.
Also, you need to add
MultipleList.prototype = DynLayer();
to give your object the same functionality as a dynlayer
(all objects should be decended from DynLayer)
The error is most likely bei
Hi everyone.
I need to write a class that will handle several Lists objects in an array
and I have to show or hide them with a show() method, but when I do
DynAPI.document.addChild(list) it gives me this error: "The object doesn't
accept this properity or method.". Some of the code looks like thi
I've modified the List widget and removed the onmousedown event
listener because I wanted to put two links in each item of the
list. In IE, this seemed to work, and I can click on either
link, and the appropriate javascript function is called. However,
this didn't work for me in NS4.7. I get no
13 matches
Mail list logo