You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(83) |
Nov
(319) |
Dec
(441) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(617) |
Feb
(784) |
Mar
(426) |
Apr
(363) |
May
(489) |
Jun
(396) |
Jul
(405) |
Aug
(146) |
Sep
(97) |
Oct
(146) |
Nov
(348) |
Dec
(99) |
2002 |
Jan
(69) |
Feb
(92) |
Mar
(58) |
Apr
(33) |
May
(29) |
Jun
(45) |
Jul
(72) |
Aug
(71) |
Sep
(47) |
Oct
(19) |
Nov
(48) |
Dec
(55) |
2003 |
Jan
(23) |
Feb
(73) |
Mar
(42) |
Apr
(52) |
May
(64) |
Jun
(155) |
Jul
(169) |
Aug
(103) |
Sep
(113) |
Oct
(118) |
Nov
(46) |
Dec
(30) |
2004 |
Jan
(19) |
Feb
(24) |
Mar
(40) |
Apr
(13) |
May
(35) |
Jun
(1) |
Jul
(23) |
Aug
(3) |
Sep
(31) |
Oct
(31) |
Nov
(26) |
Dec
|
2005 |
Jan
(5) |
Feb
(4) |
Mar
(3) |
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
(23) |
Sep
(9) |
Oct
(5) |
Nov
(2) |
Dec
(1) |
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: rlb <bl...@wi...> - 2000-11-08 06:19:28
|
All, Not sure if I'm asking this right or not, but . . . regarding this http://64.33.167.222/work/DynAPI/dynapi-2000.11.07/dynapi/examples/dynapi.api.mouseevents.htm I was trying to see what happened with the Right Mouse events and couldn't get any of the colors to show (I changed all the colors in the example to be different) but I did get a Cursor Menu when Right clicking. Actually I get it on all the new example pages with a layer object. I'm using Netscape 4.76 I don't get the cursor menu on any of the other examples from the 001024 (layertut) release, except for the "Frames" example, different menu though. Question: what makes/doesn't make, the cursor menu appear? bobb -- -+-+-+-+-+- http://64.33.167.222/ |
From: Robert R. <rra...@ya...> - 2000-11-08 03:19:00
|
> But this method seems to work only upon a div. > It doesn't work if don't define a div in my body ? > see attached file .. Your file worked fine for me. Document events were caught whether or not there was a div on the page. Please make sure you have the latest version. You may be using an old version. \\Robert -- rra...@ya... |
From: Daniel H. <dhe...@ya...> - 2000-11-08 01:11:17
|
But this method seems to work only upon a div. It doesn't work if don't define a div in my body ? see attached file .. Thanks . ----- Original Message ----- From: Robert Rainwater <rra...@ya...> To: Daniel HERLEMONT <dyn...@li...> Sent: Tuesday, November 07, 2000 8:59 PM Subject: Re: [Dynapi-Help] document events > > You don't need to modify the EventMethod. Just use normal > eventlisteners: > DynAPI.onLoad=function() { > myListener = new EventListener() > myListener.onmouseup=function(e) { > alert('Document Clicked') > } > > DynAPI.document.addEventListener(myListener) > } > > > \\Robert > -- > rra...@ya... > > > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-help > |
From: Samuel, M. M <Sam...@ed...> - 2000-11-07 22:15:30
|
Thanks for that - worked perfectly when I added extra brackets around (this.document.getWidth()-somelyr.w)/2 - it's that old BOMDAS issue... Was dividing the layer width by 2 then subtracting this from the document width. Thanks for the quick reply! :) Mike -----Original Message----- From: Robert Rainwater [mailto:rra...@ya...] Sent: Wednesday, 8 November 2000 9:08 AM To: Samuel, Michael M Subject: Re: [Dynapi-Help] Centering a layer on a page > I'm trying to get a layer to automatically center on the page > irrespective of the resolution. Anyone have some suggestions on the > best lines of code to achieve that? Try something like this: DynAPI.onLoad = function() { somelyr = new DynLayer() somelyr.setSize(100,100) somelyr.moveTo(this.document.getWidth()-somelyr.w/2,this.document.getHeight()-so melyr.h/2) } \\Robert -- rra...@ya... _______________________________________________ Dynapi-Help mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-help |
From: Robert R. <rra...@ya...> - 2000-11-07 22:07:04
|
> I'm trying to get a layer to automatically center on the page > irrespective of the resolution. Anyone have some suggestions on the best > lines of code to achieve that? Try something like this: DynAPI.onLoad = function() { somelyr = new DynLayer() somelyr.setSize(100,100) somelyr.moveTo(this.document.getWidth()-somelyr.w/2,this.document.getHeight()-somelyr.h/2) } \\Robert -- rra...@ya... |
From: Samuel, M. M <Sam...@ed...> - 2000-11-07 21:46:11
|
I'm trying to get a layer to automatically center on the page irrespective of the resolution. Anyone have some suggestions on the best lines of code to achieve that? Thanks! Mike |
From: Robert R. <rra...@ya...> - 2000-11-07 19:58:14
|
You don't need to modify the EventMethod. Just use normal eventlisteners: DynAPI.onLoad=function() { myListener = new EventListener() myListener.onmouseup=function(e) { alert('Document Clicked') } DynAPI.document.addEventListener(myListener) } \\Robert -- rra...@ya... |
From: Benjamin L. <be...@on...> - 2000-11-07 19:58:04
|
Hi, I downloaded and am using the 10-16 release of dynapi2, which included a large set of widgets. I am trying to upgrade to the Nov 05 release but that release does not include the widgets, examples, docs. Are those available in a separate file somewhere? Specifically, I am using the buttonimage widget included in the ibs set. Where can i get the latest versions of those? Thanks.. Benjamin Liu |
From: Matthew S. <PK...@Tu...> - 2000-11-07 17:17:40
|
We just started using DynAPI lastweek and it is a great library. We have not had this level of DHTML compatability between browsers ever before and it is quite refreshing. We have been targeting the following browsers without too many problems: PC: IE4.0+, NS 4.5+ Mac: IE 4.5, IE 5 We have to avoid some things to make the Mac versions of the browsers but overall most things work well. I have two things I want to mention. One if I try to instatiate a DynLayer without size parameters IE4.5 on the Mac throws a JS error when the document.addChild method is called. If I specify the size parameters this does not happen. Unfortunately I really need to NOT specify the parameters for the current situation. Since this is just a simple JS error, looks like when the clipping area is attempted to be set, it should be easy to fix. My second problem has to do with what appears to be a rendering problem on IE 4.5 on the Mac. This one I am not sure anything can be done about. Basically it comes down to nesting layers. As soon as I place a DynLayer inside another DynLayer I get rendering errors. Things like duplicate text. The test will be where it is supposed to be inside the layer, then it will be duplicated at the same relitive position in the parent layer, then it is duplicated at the same relative position in the parent document... etc. If I stay away from nested layers everything works fine in IE 4.5, but this is a little limiting... is there anything that can be done on the dev end? Thanks! Matthew Shirey Software Engineer Center for Teaching, Learning, and Technology Washington State University PK...@Tu... ms...@go... |
From: Daniel H. <dhe...@ya...> - 2000-11-07 14:54:36
|
Hi ! I would liket to trap all mouse events on the document. The simplest way I found is to define a patch into events.js DynDocument.prototype.EventMethod = function(e) An add something like if (defaultEventMethod) defaultEventMethode(e); Event listener on DynAPI.getDocument() seems to work only when there are layer in the doc. I would like something even if there are no layers. Thanks for help. |
From: Robert R. <rra...@ya...> - 2000-11-06 22:32:14
|
> It seems that there are some troubles with directory naming > For example, when decrompressing the archive, the core lib comes whitin Core > (upperCased) dir > and the following is not working for IE4 > DynAPI.setLibraryPath('../../core/js/lib2.0/') > and you should set DynAPI.setLibraryPath('../../Core/js/lib2.0/') > but core in lowercase it works with NS4 & IE5 ??? > > May I suggest to set all package names in lowercase as it is in Java. > > Daniel. The latest version is all lowercase. It is for me anyways. \\Robert -- |
From: Daniel H. <dhe...@ya...> - 2000-11-06 22:02:56
|
It seems that there are some troubles with directory naming For example, when decrompressing the archive, the core lib comes whitin Core (upperCased) dir and the following is not working for IE4 DynAPI.setLibraryPath('../../core/js/lib2.0/') and you should set DynAPI.setLibraryPath('../../Core/js/lib2.0/') but core in lowercase it works with NS4 & IE5 ??? May I suggest to set all package names in lowercase as it is in Java. Daniel. ----- Original Message ----- From: bob basques <bob...@ci...> To: <dyn...@li...> Sent: Monday, November 06, 2000 8:23 PM Subject: Re: [Dynapi-Help] Re: Howdy > I think I'm having problems just trying to load the "JS" resources, not sure > though. Where is the "DynAPI.document" stored? > > I looked through things and found the DynEvent, the DynDocument (is this the > same as "document", I saw this in the "DynDocument (frame)" function). > > Most likely I'm confused by the naming of things. > > It's just this one example that I can't seem to make work, I got through all the > other "layertut's". > > Right this moment, I'm trying to set up the same file structure here at work, So > I can work here. > No, they won't let me have access with VPN through the Firewall, That felt good > to say. > > All I get is a blank screen in the browser, nothing about not being able to find > things at all, not even a javascript error. > > By the way, what's the best Javascript debugger to use from the client side, if > any? > > bobb > > > Pascal Bestebroer wrote: > > > care to mention what error you get? or what's happening? :) > > > > Pascal Bestebroer > pa...@dy... > http://www.dynamic-core.net > > > > > -----Oorspronkelijk bericht----- > > Van: dyn...@li... > > [mailto:dyn...@li...]Namens rlb > > Verzonden: maandag 6 november 2000 3:50 > > Aan: dyn...@li... > > Onderwerp: [Dynapi-Help] Re: Howdy > > > > Oops, I forgot to change the "documents" in the attached back to > > "document" as the tutorial had them originally, just trying some > > things to get it to work. > > > > I got through the second part of the tutorial (5) though. > > > > bobb > > > > rlb wrote: > > > > > I can't seem to get to work from the tutorial: > > > > > > Using the DynAPI2 > > > > > > part 5 : DynLayer advanced > > > > > > by Pascal Bestebroer > > > July 22, 2000 > > > > > > > > > <html> > > > <head> > > > <title>Inline layers</title> > > > > > > <Script language="Javascript" > > > src="../../core/js/dynapi.js"></script> > > > > > > <Script language="Javascript"> > > > DynAPI.setLibraryPath('../../core/js/lib2.0/') > > > DynAPI.include('core.api.*') > > > > > > DynAPI.onLoad=function() { > > > > > > DynAPI.documents.all["testlayer"].setBgColor('#c0c0c0') > > > > > > DynAPI.documents.all["testlayer"].setSize(60,60) > > > > > > DynAPI.documents.all["testlayer"].moveTo(100,100) > > > } > > > </script> > > > > > > </head><body> > > > <div id="testlayer" STYLE="position: > > > absolute">Testing inline layers</div> > > > </body> > > > </html> > > > > > > Should I be using "DynDocument" instead? I didn't see a function > > > for "document" in any of the CORE scripts. > > > > > > Just plain old lost bobb > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > -+-+-+-+-+- > > > > > > > > > bobb > > > > > > http://64.33.167.222/ > > > > > > > -- > > -+-+-+-+-+- > > > > > > bobb > > > > http://64.33.167.222/ > > > > > |
From: bob b. <bob...@ci...> - 2000-11-06 20:44:15
|
Pascal Bestebroer wrote:if the other examples after this one work ok (i.e.: inline examples) thendon't try to hard on this example.. I seem to learn the most by figuring these things out, but, I think on this particular one, I'll let it go until the new storage structure is in place. > considering the source ;) Why I otta . . . . :) bobb |
From: Pascal B. <pa...@dy...> - 2000-11-06 20:13:29
|
The DynAPI.document is the default DynDocument, it's created to reference the main document you'r working in (the browser document) I'm not sure what the problem could be.. the code looks correct (considering the source ;) guess, if the other examples after this one work ok (i.e.: inline examples) then don't try to hard on this example... the others include the same code greets! Pascal Bestebroer pa...@dy... http://www.dynamic-core.net -----Oorspronkelijk bericht----- Van: dyn...@li... [mailto:dyn...@li...]Namens bob basques Verzonden: maandag 6 november 2000 20:23 Aan: dyn...@li... Onderwerp: Re: [Dynapi-Help] Re: Howdy I think I'm having problems just trying to load the "JS" resources, not sure though. Where is the "DynAPI.document" stored? I looked through things and found the DynEvent, the DynDocument (is this the same as "document", I saw this in the "DynDocument (frame)" function). Most likely I'm confused by the naming of things. It's just this one example that I can't seem to make work, I got through all the other "layertut's". Right this moment, I'm trying to set up the same file structure here at work, So I can work here. No, they won't let me have access with VPN through the Firewall, That felt good to say. All I get is a blank screen in the browser, nothing about not being able to find things at all, not even a javascript error. By the way, what's the best Javascript debugger to use from the client side, if any? bobb Pascal Bestebroer wrote: care to mention what error you get? or what's happening? :) Pascal Bestebroer pa...@dy... http://www.dynamic-core.net -----Oorspronkelijk bericht----- Van: dyn...@li... [mailto:dyn...@li...]Namens rlb Verzonden: maandag 6 november 2000 3:50 Aan: dyn...@li... Onderwerp: [Dynapi-Help] Re: Howdy Oops, I forgot to change the "documents" in the attached back to "document" as the tutorial had them originally, just trying some things to get it to work. I got through the second part of the tutorial (5) though. bobb rlb wrote: I can't seem to get to work from the tutorial: Using the DynAPI2 part 5 : DynLayer advanced by Pascal Bestebroer July 22, 2000 <html> <head> <title>Inline layers</title> <Script language="Javascript" src="../../core/js/dynapi.js"></script> <Script language="Javascript"> DynAPI.setLibraryPath('../../core/js/lib2.0/') DynAPI.include('core.api.*') DynAPI.onLoad=function() DynAPI.documents.all["testlayer"].setBgColor('#c0c0c0') DynAPI.documents.all["testlayer"].setSize(60,60) DynAPI.documents.all["testlayer"].moveTo(100,100) } </script> </head><body> <div id="testlayer" STYLE="position: absolute">Testing inline layers</div> </body> </html> Should I be using "DynDocument" instead? I didn't see a function for "document" in any of the CORE scripts. Just plain old lost bobb -- -+-+-+-+-+- bobb http://64.33.167.222/ -- -+-+-+-+-+- bobb http://64.33.167.222/ |
From: bob b. <bob...@ci...> - 2000-11-06 19:28:54
|
I think I'm having problems just trying to load the "JS" resources, not sure though. Where is the "DynAPI.document" stored? I looked through things and found the DynEvent, the DynDocument (is this the same as "document", I saw this in the "DynDocument (frame)" function). Most likely I'm confused by the naming of things. It's just this one example that I can't seem to make work, I got through all the other "layertut's". Right this moment, I'm trying to set up the same file structure here at work, So I can work here. No, they won't let me have access with VPN through the Firewall, That felt good to say. All I get is a blank screen in the browser, nothing about not being able to find things at all, not even a javascript error. By the way, what's the best Javascript debugger to use from the client side, if any? bobb Pascal Bestebroer wrote: > care to mention what error you get? or what's happening? :) > Pascal Bestebroer pa...@dy... http://www.dynamic-core.net > > -----Oorspronkelijk bericht----- > Van: dyn...@li... > [mailto:dyn...@li...]Namens rlb > Verzonden: maandag 6 november 2000 3:50 > Aan: dyn...@li... > Onderwerp: [Dynapi-Help] Re: Howdy > > Oops, I forgot to change the "documents" in the attached back to > "document" as the tutorial had them originally, just trying some > things to get it to work. > > I got through the second part of the tutorial (5) though. > > bobb > > rlb wrote: > > > I can't seem to get to work from the tutorial: > > > > Using the DynAPI2 > > > > part 5 : DynLayer advanced > > > > by Pascal Bestebroer > > July 22, 2000 > > > > > > <html> > > <head> > > <title>Inline layers</title> > > > > <Script language="Javascript" > > src="../../core/js/dynapi.js"></script> > > > > <Script language="Javascript"> > > DynAPI.setLibraryPath('../../core/js/lib2.0/') > > DynAPI.include('core.api.*') > > > > DynAPI.onLoad=function() { > > > > DynAPI.documents.all["testlayer"].setBgColor('#c0c0c0') > > > > DynAPI.documents.all["testlayer"].setSize(60,60) > > > > DynAPI.documents.all["testlayer"].moveTo(100,100) > > } > > </script> > > > > </head><body> > > <div id="testlayer" STYLE="position: > > absolute">Testing inline layers</div> > > </body> > > </html> > > > > Should I be using "DynDocument" instead? I didn't see a function > > for "document" in any of the CORE scripts. > > > > Just plain old lost bobb > > > > > > > > > > > > > > > > > > > > > > -- > > -+-+-+-+-+- > > > > > > bobb > > > > http://64.33.167.222/ > > > > -- > -+-+-+-+-+- > > > bobb > > http://64.33.167.222/ > > |
From: Pascal B. <pa...@dy...> - 2000-11-06 18:47:44
|
care to mention what error you get? or what's happening? :) Pascal Bestebroer pa...@dy... http://www.dynamic-core.net -----Oorspronkelijk bericht----- Van: dyn...@li... [mailto:dyn...@li...]Namens rlb Verzonden: maandag 6 november 2000 3:50 Aan: dyn...@li... Onderwerp: [Dynapi-Help] Re: Howdy Oops, I forgot to change the "documents" in the attached back to "document" as the tutorial had them originally, just trying some things to get it to work. I got through the second part of the tutorial (5) though. bobb rlb wrote: I can't seem to get to work from the tutorial: Using the DynAPI2 part 5 : DynLayer advanced by Pascal Bestebroer July 22, 2000 <html> <head> <title>Inline layers</title> <Script language="Javascript" src="../../core/js/dynapi.js"></script> <Script language="Javascript"> DynAPI.setLibraryPath('../../core/js/lib2.0/') DynAPI.include('core.api.*') DynAPI.onLoad=function() DynAPI.documents.all["testlayer"].setBgColor('#c0c0c0') DynAPI.documents.all["testlayer"].setSize(60,60) DynAPI.documents.all["testlayer"].moveTo(100,100) } </script> </head><body> <div id="testlayer" STYLE="position: absolute">Testing inline layers</div> </body> </html> Should I be using "DynDocument" instead? I didn't see a function for "document" in any of the CORE scripts. Just plain old lost bobb -- -+-+-+-+-+- bobb http://64.33.167.222/ -- -+-+-+-+-+- bobb http://64.33.167.222/ |
From: Alain B. <al...@ma...> - 2000-11-06 11:18:02
|
I create a Scroll windows with mySW = new IbsScroll(1,"#D6ECD6","#507040") but i have a problem because a add a image with mySW.setHTML("<img src=\"boum\".jpg">"); and i have a margin in my scroll. (not margin 1 of IbsScroll, but margin as a simple html page) -- by ABB. al...@ma... http://gallery.uunet.be/AlainBB |
From: Robert R. <rra...@ya...> - 2000-11-06 06:37:43
|
> Can this work between servers, as in two different ones? The whole Http > path? Actually this might solve my problem with not wanting to screw up > the CORE scripts with my own or anyone else's, by separating them across > servers. Never mind me, I'm just thinking out loud. There are security problems with acessing scripts accross servers, so that is not really an option. The new release should fix your problems. The structure has changed to look like this: lib/ dynapi/ api/ dynlayer.js,etc. ext/ So now you can put your own packages in the lib directory. So now when you use addLibrary you must use the package name with the class type. Like: DynAPI.addLibrary('mystuff.gui',['file1.js','file2.js']) Where mystuff is in the lib directory. Also, the file names do not include the package or class type anymore. So it would look like: lib/ dynapi/ ... mystuff/ gui/ file1.js file2.js This should allow you to separate your stuff from the main dynapi files. \\Robert -- |
From: Samuel, M. M <Sam...@ed...> - 2000-11-06 04:52:44
|
Sorry for answering my own post, but I found the problem.... :) -----Original Message----- From: Samuel, Michael M [mailto:Sam...@ed...] Sent: Monday, 6 November 2000 3:15 PM To: 'dyn...@li...' Subject: [Dynapi-Help] setURL issue Hello all! I've created what is essentially a form for users to search, fill out etc.. I created and tested everything in the one directory - but have since moved it into the following structure. This is being designed as a re-usable component in many web sites. I have a file which defines some ASP variables, and then calls an include file, which is in the Include directory off the root. Since moving my files there, the setURL function no longer works - it appears it doesn't like calling HTML files from other directories that it's own. Is this the case? Is there a work around to enable me to call html files from other directories? The current (non-working) js is: instructContentsLayer.setURL('\Include\wac\wac_save.asp?strGrant='+strExplicitAl low+'&strDeny='+strImplicitDeny+'&strResource=<% Response.Write(strResource) %>&strSub_ID=<% Response.Write(strSub_ID) %>') what worked was: instructContentsLayer.setURL('wac_save.asp?strGrant='+strExplicitAllow+'&strDeny ='+strImplicitDeny+'&strResource=<% Response.Write(strResource) %>&strSub_ID=<% Response.Write(strSub_ID) %>') The files are there - and correctly referenced AFAIK, it's just not reading through the directory tree.... Thanks for your help! Mike |
From: Samuel, M. M <Sam...@ed...> - 2000-11-06 04:20:26
|
Hello all! I've created what is essentially a form for users to search, fill out etc.. I created and tested everything in the one directory - but have since moved it into the following structure. This is being designed as a re-usable component in many web sites. I have a file which defines some ASP variables, and then calls an include file, which is in the Include directory off the root. Since moving my files there, the setURL function no longer works - it appears it doesn't like calling HTML files from other directories that it's own. Is this the case? Is there a work around to enable me to call html files from other directories? The current (non-working) js is: instructContentsLayer.setURL('\Include\wac\wac_save.asp?strGrant='+strExplicitAl low+'&strDeny='+strImplicitDeny+'&strResource=<% Response.Write(strResource) %>&strSub_ID=<% Response.Write(strSub_ID) %>') what worked was: instructContentsLayer.setURL('wac_save.asp?strGrant='+strExplicitAllow+'&strDeny ='+strImplicitDeny+'&strResource=<% Response.Write(strResource) %>&strSub_ID=<% Response.Write(strSub_ID) %>') The files are there - and correctly referenced AFAIK, it's just not reading through the directory tree.... Thanks for your help! Mike |
From: rlb <bl...@wi...> - 2000-11-06 03:29:36
|
Got through part six. Question though, can the inter frame communications be done with a javascript popup window also? I have something in mind, see this link: http://64.33.167.222/work/GIS_site_html/Master.html I was planning on spawning the above to control some other popups. This would help out with the Forms problem that I relayed earlier, at least until I learn more about creating my own objects with the DynAPI. Are there any examples for controlling popup's with the DynDocument? Thanks bobb rlb wrote: > Oops, I forgot to change the "documents" in the attached back to > "document" as the tutorial had them originally, just trying some > things to get it to work. > > I got through the second part of the tutorial (5) though. > > bobb > > rlb wrote: > >> I can't seem to get to work from the tutorial: >> >> Using the DynAPI2 >> >> part 5 : DynLayer advanced >> >> by Pascal Bestebroer >> July 22, 2000 >> >> >> <html> >> <head> >> <title>Inline layers</title> >> >> <Script language="Javascript" >> src="../../core/js/dynapi.js"></script> >> >> <Script language="Javascript"> >> DynAPI.setLibraryPath('../../core/js/lib2.0/') >> DynAPI.include('core.api.*') >> >> DynAPI.onLoad=function() { >> >> DynAPI.documents.all["testlayer"].setBgColor('#c0c0c0') >> >> DynAPI.documents.all["testlayer"].setSize(60,60) >> >> DynAPI.documents.all["testlayer"].moveTo(100,100) >> } >> </script> >> >> </head><body> >> <div id="testlayer" STYLE="position: >> absolute">Testing inline layers</div> >> </body> >> </html> >> >> Should I be using "DynDocument" instead? I didn't see a function for >> "document" in any of the CORE scripts. >> >> Just plain old lost bobb >> >> >> >> >> >> >> >> >> >> >> -- >> -+-+-+-+-+- >> >> >> bobb >> >> http://64.33.167.222/ >> > > -- > -+-+-+-+-+- > > > bobb > > http://64.33.167.222/ > -- -+-+-+-+-+- bobb http://64.33.167.222/ |
From: rlb <bl...@wi...> - 2000-11-06 02:56:28
|
Oops, I forgot to change the "documents" in the attached back to "document" as the tutorial had them originally, just trying some things to get it to work. I got through the second part of the tutorial (5) though. bobb rlb wrote: > I can't seem to get to work from the tutorial: > > Using the DynAPI2 > > part 5 : DynLayer advanced > > by Pascal Bestebroer > July 22, 2000 > > > <html> > <head> > <title>Inline layers</title> > > <Script language="Javascript" > src="../../core/js/dynapi.js"></script> > > <Script language="Javascript"> > DynAPI.setLibraryPath('../../core/js/lib2.0/') > DynAPI.include('core.api.*') > > DynAPI.onLoad=function() { > > DynAPI.documents.all["testlayer"].setBgColor('#c0c0c0') > > DynAPI.documents.all["testlayer"].setSize(60,60) > > DynAPI.documents.all["testlayer"].moveTo(100,100) > } > </script> > > </head><body> > <div id="testlayer" STYLE="position: absolute">Testing > inline layers</div> > </body> > </html> > > Should I be using "DynDocument" instead? I didn't see a function for > "document" in any of the CORE scripts. > > Just plain old lost bobb > > > > > > > > > > > -- > -+-+-+-+-+- > > > bobb > > http://64.33.167.222/ > -- -+-+-+-+-+- bobb http://64.33.167.222/ |
From: rlb <bl...@wi...> - 2000-11-06 02:40:58
|
I can't seem to get to work from the tutorial: Using the DynAPI2 part 5 : DynLayer advanced by Pascal Bestebroer July 22, 2000 <html> <head> <title>Inline layers</title> <Script language="Javascript" src="../../core/js/dynapi.js"></script> <Script language="Javascript"> DynAPI.setLibraryPath('../../core/js/lib2.0/') DynAPI.include('core.api.*') DynAPI.onLoad=function() { DynAPI.documents.all["testlayer"].setBgColor('#c0c0c0') DynAPI.documents.all["testlayer"].setSize(60,60) DynAPI.documents.all["testlayer"].moveTo(100,100) } </script> </head><body> <div id="testlayer" STYLE="position: absolute">Testing inline layers</div> </body> </html> Should I be using "DynDocument" instead? I didn't see a function for "document" in any of the CORE scripts. Just plain old lost bobb -- -+-+-+-+-+- bobb http://64.33.167.222/ |
From: rlb <bl...@wi...> - 2000-11-05 23:12:48
|
Robert, Thanks for the explanation, I'm up to the DynDocument tutorial. Robert Rainwater wrote: > There is a paramater on the include that allows you to pass an > alternate path. So: > > DynAPI.include('mystuff.gui.button.js','../mywidgets/') I figure there was something along these lines to store things separately. Can this work between servers, as in two different ones? The whole Http path? Actually this might solve my problem with not wanting to screw up the CORE scripts with my own or anyone else's, by separating them across servers. Never mind me, I'm just thinking out loud. > The path that you pass is the root path. So inside there you would > need mystuff/gui/mystuff.gui.button.js. > > There's been some talk that the filename shouldnt have the path in it > as well. That could be changed in the future. This struck me as a bit odd when I first look at it, it did make things more intuitive though while I was trying to find stuff. Maybe after there is more documentation the longer names would have less importance. I wonder if this resource lookup configuration shouldn't be wholly server side, as in using something similar to the "cgi-bin" directory, only something like "js-resource" or some such. then less work would be required for changing lookups in the calls from eh HTML pages. Just a thought. > There is also a function addLibrary(name,files). Are these looked at, in a sequence, as in does the order count when listing them in the calling lines. > Where name is the > name like gui and the files are the last part of the file names, like > button.js as an array like addLibrary('mygui',['x.js',y.js']). Wouldn't also be wise to get rid of the ".js" part of the name, or is this required by the browsers for interpretation? > You can use this to allow you to say DynAPI.include('core.gui.*'). > > \\Robert > > -- > > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-help -- -+-+-+-+-+- bobb http://64.33.167.222/ |
From: <hv...@ya...> - 2000-11-05 14:14:49
|
I'm trying to do my own custom extensions (which I will contribute if successful). One of which I'm working on is getting together an similar set of eventhandlers for keyboard keys. I've seen Scott Andrew has one for the Dan Steinman's original Dynapi at his site and found an example at Bratta.com. I've tried to merge these with a copy of the existing mouseevents (core.api.events.js). I'm neither a well-experienced nor advanced DOM-developer, so I have some questions... 1) Have anybody tried and/or successfully applied keyevents to DynAPI 2? (I'd hate to do it in vain if so...) 2) Does anybody know if it is possible to override the browsers keycombinations with the CTRL, ALT, SHIFT-keys, or will the browser always override any events in the DOM? (This should be essential to develop real webapps...) As I come to think of it: is there any responding keys for mac-users to the CTRL, ALT, SHIFT -keys for PC? Are they logically comparable? 3) What is the bubbleevent (as found in core.api.events.js) and what is it used for? Could it be of any use for keyevents? (I probably missed out on a valuble lesson with this) 4) Is it possible to capture non-alaphabetic keys like the arrows (if they're not overidden by browser functions of course)? 5) Does anybody have a list or know how to get one for how the keycode responds to the keyboard keys in the different browsers/systems? Does international keyboard layouts respond different? (in case it does the task is almost too big to be one-fits-all I believe) regards to all DynAPI developers Henrik Våglin http://hvaglin.freesqlhost.com __________________________________________________ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one Place. http://shopping.yahoo.com/ |