From: Lujan I. F. <lu...@sa...> - 2000-12-14 18:40:33
|
There was a very good collapse menu in the dynamic I site that I have used for months now. I have been asked to create one that has more than one sub level. In other words, it needs to have three or four levels of menus. Has anyone seen or created a version in either dynapi I or II that has multiple levels? Frank |
From: Lujan I. F. <lu...@sa...> - 2001-02-16 17:57:59
|
Does anyone know if someone has created a Collapse Menu with the sliding feature (that works with IE4+ and Netscape 4+ for Dynapi II) as was available on the Dynapi I site under Widgets? Thanks Frank |
From: Richard B. <ma...@ri...> - 2001-02-17 00:04:23
|
No, that one is still missing from our collection :O( Cheers, Richard Bennett ma...@ri... www.richardinfo.com (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) Find the DynAPI faq here: http://sourceforge.net/docman/display_doc.php?docid=656&group_id=5757 Browse the mailinglist here: http://www.mail-archive.com/index.php3?hunt=dynapi ----- Original Message ----- From: "Lujan III, Frank" <lu...@sa...> To: <dyn...@li...> Sent: Friday, February 16, 2001 6:58 PM Subject: [Dynapi-Widgetdev] Collapse Menu > Does anyone know if someone has created a Collapse Menu with the sliding > feature (that works with IE4+ and Netscape 4+ for Dynapi II) as was > available on the Dynapi I site under Widgets? > > Thanks > Frank > > > _______________________________________________ > Dynapi-Widgetdev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-widgetdev > ____________________________________________________________ > Get your free domain name and domain-based e-mail from > Namezero.com. New! Namezero Plus domains now available. > Find out more at: http://www.namezero.com > |
From: Lujan I. F. <lu...@sa...> - 2001-02-19 21:36:34
|
I tried the address provided by David Cushman at http://www.merlinsworld.net/dynapi_ri_dcexamples/button_menu.html and it worked OK in Netscape 4.7 and IE 5.5, but it worked extremely slow using Netscape 6.0 and it didn't work at all using IE 6.0 beta. The images (buttons) didn't display at using IE 6.0. Maybe we shouldn't be concerned with IE 6.0 since it is a beta product, but it wouldn't be acceptable using Netscape 6.0 since it is soooo very slow. I don't think it's my processor since I'm using a 550 processor. The only other thing I noticed (both IE 5.5 and NN 4.7) is that the menu off the first "Button 2" seemed a little bit sluggish where it would take several seconds to go to another button after you left that drop down. Thanks Frank -----Original Message----- From: dyn...@li... [mailto:dyn...@li...] Sent: February 17, 2001 1:01 PM To: dyn...@li... Subject: Dynapi-Widgetdev digest, Vol 1 #30 - 6 msgs Send Dynapi-Widgetdev mailing list submissions to dyn...@li... To subscribe or unsubscribe via the World Wide Web, visit http://lists.sourceforge.net/lists/listinfo/dynapi-widgetdev or, via email, send a message with subject or body 'help' to dyn...@li... You can reach the person managing the list at dyn...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of Dynapi-Widgetdev digest..." Today's Topics: 1. Re: Collapse Menu (David Cushman) 2. Re: Collapse Menu (Richard Bennett) 3. RE: RE: [Dynapi-Help] Widget test Image button menu (Ken Ono) 4. Re: RE: RE: [Dynapi-Help] Widget test Image button menu (David Cushman) 5. NN6 and too many event listeners (David Cushman) 6. RE: NN6 and too many event listeners (Pascal Bestebroer) --__--__-- Message: 1 Date: Fri, 16 Feb 2001 13:09:32 -0800 (PST) From: David Cushman <dle...@ya...> Subject: Re: [Dynapi-Widgetdev] Collapse Menu To: Dyn...@li... Reply-To: dyn...@li... Hey Frank, Not sure how the original worked, but I posted a widget that does wipe and slide of the first main menu, using an image button as the trigger. Take a look and if it does not do what you want, tell me what things it does not do and I will see if I can do a mod. Example: http://www.merlinsworld.net/dynapi_ri_dcexamples/button_menu.html Cheers, Dave C. "You Changed What?!?" "Does anyone know if someone has created a Collapse Menu with the sliding feature (that works with IE4+ and Netscape 4+ for Dynapi II) as was available on the Dynapi I site under Widgets? Thanks Frank" __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ --__--__-- Message: 2 From: "Richard Bennett" <ma...@ri...> To: <dyn...@li...> Subject: Re: [Dynapi-Widgetdev] Collapse Menu Date: Sat, 17 Feb 2001 01:04:55 +0100 Reply-To: dyn...@li... No, that one is still missing from our collection :O( Cheers, Richard Bennett ma...@ri... www.richardinfo.com (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) Find the DynAPI faq here: http://sourceforge.net/docman/display_doc.php?docid=656&group_id=5757 Browse the mailinglist here: http://www.mail-archive.com/index.php3?hunt=dynapi ----- Original Message ----- From: "Lujan III, Frank" <lu...@sa...> To: <dyn...@li...> Sent: Friday, February 16, 2001 6:58 PM Subject: [Dynapi-Widgetdev] Collapse Menu > Does anyone know if someone has created a Collapse Menu with the sliding > feature (that works with IE4+ and Netscape 4+ for Dynapi II) as was > available on the Dynapi I site under Widgets? > > Thanks > Frank > > > _______________________________________________ > Dynapi-Widgetdev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-widgetdev > ____________________________________________________________ > Get your free domain name and domain-based e-mail from > Namezero.com. New! Namezero Plus domains now available. > Find out more at: http://www.namezero.com > --__--__-- Message: 3 From: "Ken Ono" <ko...@an...> To: <Dyn...@li...> Date: Sat, 17 Feb 2001 06:29:19 -0500 Subject: [Dynapi-Widgetdev] RE: RE: [Dynapi-Help] Widget test Image button menu Reply-To: dyn...@li... David, > I found the API, well, akward, at least for my purposes. I've been doing some thinking on what the interface could be. What are your thoughts on something like: menuName.addMenuItem( id, type, menuItem, [data], [parent id], [before id], [group] ) id = a unique identifier type = "menu", "command", "seperator", "blank" menuItem = another object with visual info or just a string (in which case a menuItem is generated) [data] = some data to store that is passed pack when menu selected (i.e. the URL) [parent id] = the ID of the parent if it is not on the root [before id] = the ID of the item for this choice to be insert before. If empty, add to the end [group]= a way of grouping commands - (can be used to diable commands in groups) menuItem Class: .caption = text to display (with & notation for key accelerators (e.g &File) .defaultButtonImage (optional - image for whole cell) .rolloverButtonImage (optional - image for whole cell) .mouseButtonDownImage (optional - image for whole cell) .selectedButtonImage (optional - image for whole cell) .disabledButtonImange (optionl - image when cell disable) .defaultClass (optional - for CSS link and text cells) .selectedClass (optional - CSS class when selected) .disabledClass (optional - CSS class when disabled) .buttonDownClass (optional - CSS class when pressed) .rolloverClass(optional - CSS class when mouse on) .iconSmallImage (optional - small icon to be displayed to left of caption - just like Windows) .iconLarge (optional - a bigger icon for ?) .text (optional string for tool tips or status bar text) .<positioning info> (optional - to allow for funky menus) A user would create a menu object (opposed to number of buttons) and then add menus and choices. For example (to use some familar menu structures): myMenu = New NavigationWidget(size & positioning stuff for menu) myMenu.addMenuItem("file", "menu", "&File"); // Create a file menu myMenu.addMenuItem("filesave", "command", "Save", "FileSave.htm", "file"); // Add choice to menu myMenu.addMenuItem("edit", "menu", "&Edit"); // Create edit menu myMenu.addMenuItem("editcopy", "command", "&Copy", "EditCopy.htm", "edit"); myMenu.addMenuItem("view", "menu", "&View"); // Create view menu myMenu.addMenuItem("next", "menu", "&Next", "view"); // Create sub menu myMenu.addMenuItem("nextmessage", "command", "&Message", "next", "ViewNextMessage.htm"); // Add a choice to sub menu The widget should fire an event and pass the "id" and "data" (URL) when a choice is selected. To do something fancier: myCell = New menuItem("some text", myImage1, myimage2, positions, etc); myMenu.AddMenuItem("id", "menu", myCell) I haven't begun to consider implementation (although I've done similar things in other languages). At the moment, I'm only looking at it from an interface point of view. If we nail a good interface, other developers might adopt it. It would be great if one had a choice of many different menu systems and it was trivial to switch between them. What are your thoughts? Regards, Ken --__--__-- Message: 4 Date: Sat, 17 Feb 2001 08:40:58 -0800 (PST) From: David Cushman <dle...@ya...> Subject: Re: [Dynapi-Widgetdev] RE: RE: [Dynapi-Help] Widget test Image button menu To: dynapi widget <dyn...@li...> Reply-To: dyn...@li... Hey Ken, Some good stuff there. Let me start out by explaining the goal of the original widget. I wanted to be able to use the wipe.js to make the popup.js appear when triggered by an image button (based on buttonimage.js). I wanted to use the popup.js as is for compatibility purposes (have made changes now as noted below). Second, I wanted to have several instances on the page that would not interfere with each other. Changes to popup.js: Altered the create listener to make it precreate added line to precreate listener to remove itself NN6 has a real problem with execution speed when too many listeners are active added lines to mouse item events to ignore submenu items and blank items. To address your comments (just why they are what they are, not that they cannot be changed) "Also, it seems unreasonable to to provide information like menu depth and number of submenus when it has all the info necessary to to figure that stuff out." number of submenus: The structure is that it names the main menu (the one with the effect) "menu" nad each submenu "MenuSub[]" as part of an array. This uniform naming allows the resizing and assigning of submenus to be done with just a number. I could have assigned the submenus as they were initialized also. That may be a good change. The menu depth is left over code, not removed yet. The widget now calculates the total display width of the menu system for the "trapping" layer. Other items in the initial setup "items below main" I am working on having the widget calculate this I am having problems understanding what the goals of your code are. However I have just started looking at it and will probably understand better after going over it a few times. If you have time, could you write out what it is supposed to do? Maybe the fasttreenode.js or treenode.js is closer to what you are trying to do? They are available at Richard's site under Richard's examples. http://www.resass.f2s.com/dynapi/php/index2.php For everyone else, we are discussing my image button menu widget. Viewable here: http://www.merlinsworld.net/dynapi_ri_dcexamples/button_menu.html Cheers Dave C. "You Changed What?!?" __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ --__--__-- Message: 5 Date: Sat, 17 Feb 2001 09:52:49 -0800 (PST) From: David Cushman <dle...@ya...> To: dynapi widget <dyn...@li...> Subject: [Dynapi-Widgetdev] NN6 and too many event listeners Reply-To: dyn...@li... Greetings, First I know that we are not compatible with NN6 yet, but I still test my pages and widgets under NN6. NN6 has a tendancy to slow down to a crawl with complicated DynAPI examples. One thing I have noticed and tested is that the more active event listeners on the page, the slower (or not at all) it goes. On my menu widget, I started adding code in that removes the event listeners when they are not needed. The precreate listeners include a line at the end to remove themeselves and the menu item listeners are also removed and added when active. Question 1 Has anyone else noticed this or has a better understanding of what is happenning? Question 2 Does removing and adding event listeners increase the browsers footprint in memory each time the add is executed? Question 3 Can anyone suggest a good utility to monitor the browsers footprint in memory? Cheers, Dave C. "You Changed What?!?" __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ --__--__-- Message: 6 From: "Pascal Bestebroer" <pa...@dy...> To: <dyn...@li...> Subject: RE: [Dynapi-Widgetdev] NN6 and too many event listeners Date: Sat, 17 Feb 2001 19:02:11 +0100 Reply-To: dyn...@li... It would be strange if eventlisteners slow things down.. you would need alot of eventlisteners. Note that even though we call them listeners, there not listening all the time.. they are more handlers (and no, we're not renaming them) Everytime an invokeEvent('eventname') is done, the invokeevent function will walk thru the array of eventlisteners (just a simple array of objects) and see if the corresponding event is attached to it.. if it is, it will call that method of that eventlistener object. It doesn't make sense that it slows down so noticeable, do you have a url we can check to see it? q2. It might, not sure if normal javascript objects also increase the footprint (or just dynamically generated html objects). q3. Taskinfo seems to be a complete tool for memory/cpu timing: http://www.iarsn.com/ Pascal Bestebroer pa...@dy... http://www.dynamic-core.net > -----Oorspronkelijk bericht----- > Van: dyn...@li... > [mailto:dyn...@li...]Namens David > Cushman > Verzonden: zaterdag 17 februari 2001 18:53 > Aan: dynapi widget > Onderwerp: [Dynapi-Widgetdev] NN6 and too many event listeners > > > Greetings, > First I know that we are not compatible with NN6 > yet, but I still test my pages and widgets under NN6. > NN6 has a tendancy to slow down to a crawl with > complicated DynAPI examples. One thing I have noticed > and tested is that the more active event listeners on > the page, the slower (or not at all) it goes. On my > menu widget, I started adding code in that removes the > event listeners when they are not needed. The > precreate listeners include a line at the end to > remove themeselves and the menu item listeners are > also removed and added when active. > Question 1 Has anyone else noticed this or has a > better understanding of what is happenning? > Question 2 Does removing and adding event listeners > increase the browsers footprint in memory each time > the add is executed? > Question 3 Can anyone suggest a good utility to > monitor the browsers footprint in memory? > > Cheers, > Dave C. "You Changed What?!?" > > __________________________________________________ > Do You Yahoo!? > Get personalized email addresses from Yahoo! Mail - only $35 > a year! http://personal.mail.yahoo.com/ > > _______________________________________________ > Dynapi-Widgetdev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-widgetdev > --__--__-- _______________________________________________ Dynapi-Widgetdev mailing list Dyn...@li... http://lists.sourceforge.net/lists/listinfo/dynapi-widgetdev End of Dynapi-Widgetdev Digest |
From: <ton...@si...> - 2000-12-15 18:56:16
|
Go to my site www10.ewebcity.com/tskoda/js.asp there you'll see treemenu which can have endless nested items. ----- Original Message ----- From: Lujan III, Frank <lu...@sa...> To: <dyn...@li...> Sent: Thursday, December 14, 2000 7:40 PM Subject: [Dynapi-Widgetdev] Collapse Menu > There was a very good collapse menu in the dynamic I site that I have used > for months now. I have been asked to create one that has more than one sub > level. In other words, it needs to have three or four levels of menus. Has > anyone seen or created a version in either dynapi I or II that has multiple > levels? > > Frank > > _______________________________________________ > Dynapi-Widgetdev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-widgetdev |