Re: [Dynapi-Help] GENLIB | NEW DHTML API

2001-12-19 Thread Colin Thompson
This is really, really nice :)   congrats on some cool work!

[Dynapi-Help] having a problem with labels

2001-12-12 Thread Colin Thompson
Hi all, I need to set a viewport and a pushpanel to display the contents of a label. the problem is I can only add the label to one thing at a time. Do I have to make a duplicate label? or is there another way round it? example label1 = new Label('some html'); pushpanel = new PushPanel(label1)

Re: [Dynapi-Help] How the Dynapi writes layers/divs to the browser

2001-11-26 Thread Colin Thompson
specificCreate is the place to look, I'll not explain for each browser because it differs slightly, but if you take for example the IE part of that code if (is.ie) { var parentElement=(this.parent.isDynLayer)?this.parent.elm:this.parent.doc.body; parentElement.insertAdjacentHTML("beforeEnd",t

[Dynapi-Help] problem with animated gifs

2001-11-25 Thread Colin Thompson
IE5.5 Windows ME I'm having various problems related to animated gifs and DynAPI. for example, trying to have my gif follow a path using Play freezes the gif animation. trying the same method using a button - ie var playbutton = new Button("Play)"); playbutton.moveTo(5,5); DynAPI.document.ad

[Dynapi-Help] Question about the widget model

2001-11-09 Thread Colin Thompson
Is there a prefered method of assigning event listeners when creating widgets? I have looked through the code for the gui components and they seem to use either First way :- function Widget() { this.DynLayer = DynLayer; this.DynLayer(); var listener = new EventListener(this); this.addEvent

RE: [Dynapi-Help] has this widget ever been done?

2001-06-18 Thread Colin Thompson
If you mean that nav bar on the left, then maybe this could be adapted to suit? I think using DynAPI just to do a simple navbar would be overkill -   http://webfx.eae.net/dhtml/favbar/fav2.html (not sure about Mozilla support - haven't tried it, but it's a start :)   I haven't played with i

RE: [Dynapi-Help] Positioning DynAPI Layers within Table Cells

2001-05-15 Thread Colin Thompson
You can use inline.js to include support for relative layers... the following example has a normal table with a relatively positioned div in one of the cells - then you just do something like layer1 = this.document.getAll()['layer1'] to reference the layer and add what you want... hope this helps

[Dynapi-Help] correct format of widgets

2001-05-12 Thread Colin Thompson
Just a simple question, I've noticed that the tutorials by Pascal use this format: function widget(id,x,y,w,h) { this.superClass=DynLayer this.superClass(id,x,y,w,h) yet all the 'core' widgets use this.DynLayer. What is the difference between the 2? is th

[Dynapi-Help] problem with toloadlayer

2001-05-06 Thread Colin Thompson
I've been playing around with the toloadlayer and think I have discovered a problem with it... it only seems to work if there is a link in the file being loaded. I'm having to put a dummy in pages that don't have links otherwise it just sits there doing nothing. has anyone else encountered this

[Dynapi-Help] problem with zsorter.js

2001-04-17 Thread Colin Thompson
Hi, I've been trying to use the zsorter with the latest release and I'm having a problem with it. I know that this isn't a part of the 'official distro' but I've seen that other people have used it and had success. I can't even include the file without getting a 'DynAPI.document is not an object

[Dynapi-Help] [Dynamic-Help] Forms widget?

2001-02-01 Thread Colin Thompson
I seem to remember somebody posting a forms widget a while back, but can't find it in any of the distro's I have. Could somebody send it me? or post it again? thanks, Colin [EMAIL PROTECTED] ___ Dynapi-Help mailing list [EMAIL PROTECTED] http://li

[Dynapi-Help] Using forms with DynAPI

2001-01-30 Thread Colin Thompson
Hi all, I'm very new to the DynAPI and to javascript in general, just play around at this stuff for a hobby you know. Please take it easy on me if my questions seem a bit lame ;) I can create simple widgets of my own that seem to work ok, but now I want to create a guestbook type widget and I'm