My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Last 30 days

  • Dec 04, 2009
    issue 5 (Close all other Proto.Menus) commented on by fagim.sadykov   -   I think that it must be more discussed. At one hand it's even good because you can very simply define submenues as menues that called over elements of initial menu. But i agree that it's not usual to see many context menues at one moment, but may be it's even feature , not bug :)
    I think that it must be more discussed. At one hand it's even good because you can very simply define submenues as menues that called over elements of initial menu. But i agree that it's not usual to see many context menues at one moment, but may be it's even feature , not bug :)
  • Dec 04, 2009
    issue 11 (Patch that adds support for dynamic population of menu.) reported by fagim.sadykov   -   1. onPopulate func parameter added to options 2. if it's seted - menu is populated not on initilize stage, but before every show 3. patch don't breaks any existed behaviour 4. tests provided WILL BE GLAD TO JOIN PROJECT
    1. onPopulate func parameter added to options 2. if it's seted - menu is populated not on initilize stage, but before every show 3. patch don't breaks any existed behaviour 4. tests provided WILL BE GLAD TO JOIN PROJECT

Earlier this year

  • Sep 09, 2009
    issue 7 (Submenu in proto.menu) commented on by rafaelideleon   -   I ended up making 2 objects that call each other. I also had to modify the original proto.menu code to display the other menu at the same position that I call the first menu.
    I ended up making 2 objects that call each other. I also had to modify the original proto.menu code to display the other menu at the same position that I call the first menu.
  • Aug 31, 2009
    issue 7 (Submenu in proto.menu) commented on by sfws.studio   -   Hi! I also need submenus in proto.menu. (Now I try to make submenu with generation new proto.menu in callback function)
    Hi! I also need submenus in proto.menu. (Now I try to make submenu with generation new proto.menu in callback function)
  • Aug 14, 2009
    issue 9 (IE8 Problem) commented on by dogwoodtech   -   IE8 (v8.0.7100.0) does not work with either prototype version 1.6.1 RC or 1.6.0.3.
    IE8 (v8.0.7100.0) does not work with either prototype version 1.6.1 RC or 1.6.0.3.
  • Jul 04, 2009
    issue 9 (IE8 Problem) commented on by superox   -   You need to upgrade to the new prototype.js release candidate.
    You need to upgrade to the new prototype.js release candidate.
  • Jun 18, 2009
    issue 6 (work on click left, is possible?) commented on by aaguilar   -   Working solution (FF 3.0 tested) is to change line: $$(this.options.selector).invoke('observe', Prototype.Browser.Opera ? 'click' : 'contextmenu', function(e){ to : $$(this.options.selector).invoke('observe', Prototype.Browser.Opera ? 'click' : 'click', function(e){
    Working solution (FF 3.0 tested) is to change line: $$(this.options.selector).invoke('observe', Prototype.Browser.Opera ? 'click' : 'contextmenu', function(e){ to : $$(this.options.selector).invoke('observe', Prototype.Browser.Opera ? 'click' : 'click', function(e){
  • Jun 18, 2009
    issue 6 (work on click left, is possible?) commented on by aaguilar   -   activator:'click' - I don't see that parameter in source code. How can I make it work on left click instead of right click? Anyone has a solution? thank you
    activator:'click' - I don't see that parameter in source code. How can I make it work on left click instead of right click? Anyone has a solution? thank you
  • Jun 04, 2009
    issue 1 (Context Menu Items do not get highlighted when moused over i...) commented on by mschaff   -   I can reproduce this problem in Safari 3.2.1 on OS X 10.5.6 and can confirm that the problem is resolved in the latest Safari 4.0 beta. No issue in FireFox 3.0.10 on OS X.
    I can reproduce this problem in Safari 3.2.1 on OS X 10.5.6 and can confirm that the problem is resolved in the latest Safari 4.0 beta. No issue in FireFox 3.0.10 on OS X.
  • Jun 04, 2009
    issue 10 (Reapply menu to dynamic list) reported by mschaff   -   What steps will reproduce the problem? 1. Create a sortable list with Prototype where each list element is a class that proto-menu responds to (e.g. selector: '.contextmenu' ). Menus work fine. 2. After the page loads, dynamically add an element to the sortable list with the same class (e.g. contextmenu). Problems start here. What is the expected output? What do you see instead? What would be nice is if a newly defined list element automatically gains the menu observer. Alternatively, re-applying the menu should reinitialize the objects of the selector class. However, re-applying the menu globally for a class creates two instances of the menu when clicking on exisiting list elements. What I suspect is happening is that the old observers are not destroyed and you get two observers for the existing list elements and one for the new list element. Is there a workaround to destroy all listeners before reapplying the menu to a given class? What version of the product are you using? On what operating system? Proto-menu 0.6 on Windows, Linux, Mac.
    What steps will reproduce the problem? 1. Create a sortable list with Prototype where each list element is a class that proto-menu responds to (e.g. selector: '.contextmenu' ). Menus work fine. 2. After the page loads, dynamically add an element to the sortable list with the same class (e.g. contextmenu). Problems start here. What is the expected output? What do you see instead? What would be nice is if a newly defined list element automatically gains the menu observer. Alternatively, re-applying the menu should reinitialize the objects of the selector class. However, re-applying the menu globally for a class creates two instances of the menu when clicking on exisiting list elements. What I suspect is happening is that the old observers are not destroyed and you get two observers for the existing list elements and one for the new list element. Is there a workaround to destroy all listeners before reapplying the menu to a given class? What version of the product are you using? On what operating system? Proto-menu 0.6 on Windows, Linux, Mac.
  • May 08, 2009
    issue 6 (work on click left, is possible?) commented on by micwehrle   -   works like a charm. use activator:'click' in the Proto.menu definition
    works like a charm. use activator:'click' in the Proto.menu definition
  • May 07, 2009
    issue 9 (IE8 Problem) reported by Wally.Kendall   -   What steps will reproduce the problem? 1. Using IE 8 2. Right Clicking IE8 Just does not show the menu when NOT in compatibility mode, compatibility mode is fine.
    What steps will reproduce the problem? 1. Using IE 8 2. Right Clicking IE8 Just does not show the menu when NOT in compatibility mode, compatibility mode is fine.
  • Apr 24, 2009
    issue 8 (Is proto-menu supposed to work on images as well??) reported by ddgundy   -   I am working on a drag and drop interface that contains multiple divs and images. The divs work fine with the menu, but I have been banging my head against the wall trying to get the images working. All the elements on the interface have unique GUIDs and I build a menu for each one so I can capture and send the element ID to various functions on the page. What am I doing wrong?? Please tell me it is something dumb. Code snippets: // This is me looping through rows of content coming from MySQL and building the menus while($row = mysql_fetch_array($result)) { $ID = $row["ObjectID"]; $menustring .= "new Proto.Menu({selector: '#$ID',className: 'menu firefox',menuItems: myMenuItems}); "; } // Later, I write the menus to the page <?php echo $menustring; ?> //Finally, here are the elements.. the div works.. the image does not.. <div style='position:absolute; border:solid 2px;left:279px; top:152px; height:100px; width:100px; ' ID=e7482cac2d58d831941bc6455f8649a7> This is a new test</div> //Does not work.. <img src='../Images/ajax-indicator.gif' name=T14f2cf4ed06564e8a07b259ea117d3f5 style='left:0px; top: 0px; ' ID='14f2cf4ed06564e8a07b259ea117d3f5';>
    I am working on a drag and drop interface that contains multiple divs and images. The divs work fine with the menu, but I have been banging my head against the wall trying to get the images working. All the elements on the interface have unique GUIDs and I build a menu for each one so I can capture and send the element ID to various functions on the page. What am I doing wrong?? Please tell me it is something dumb. Code snippets: // This is me looping through rows of content coming from MySQL and building the menus while($row = mysql_fetch_array($result)) { $ID = $row["ObjectID"]; $menustring .= "new Proto.Menu({selector: '#$ID',className: 'menu firefox',menuItems: myMenuItems}); "; } // Later, I write the menus to the page <?php echo $menustring; ?> //Finally, here are the elements.. the div works.. the image does not.. <div style='position:absolute; border:solid 2px;left:279px; top:152px; height:100px; width:100px; ' ID=e7482cac2d58d831941bc6455f8649a7> This is a new test</div> //Does not work.. <img src='../Images/ajax-indicator.gif' name=T14f2cf4ed06564e8a07b259ea117d3f5 style='left:0px; top: 0px; ' ID='14f2cf4ed06564e8a07b259ea117d3f5';>
  • Apr 20, 2009
    issue 7 (Submenu in proto.menu) reported by rafaelideleon   -   Is it possible to create a submenu in the proto.menu I am looking to create a option to create a new thing looking for something like this new --> something1 option etc. kinda like how when you want to create a new link or txt or excel file on windows. is this possible with proto.menu?
    Is it possible to create a submenu in the proto.menu I am looking to create a option to create a new thing looking for something like this new --> something1 option etc. kinda like how when you want to create a new link or txt or excel file on windows. is this possible with proto.menu?
  • Mar 26, 2009
    issue 6 (work on click left, is possible?) reported by sgatte...@sgwd.com.ar   -   hi, my ingles is poor ;) my question is if is possible that this menu working on click left. thanks
    hi, my ingles is poor ;) my question is if is possible that this menu working on click left. thanks
  • Mar 01, 2009
    issue 5 (Close all other Proto.Menus) commented on by jonaszeh...@gmx.ch   -   A much better working version. You can now pass an show and hide function new Proto.Menu({ show: Effect.Appear, ... The duration which is passed is always 0.2. The Contextmenu is only changed in position, if it is already open.
    A much better working version. You can now pass an show and hide function new Proto.Menu({ show: Effect.Appear, ... The duration which is passed is always 0.2. The Contextmenu is only changed in position, if it is already open.
  • Mar 01, 2009
    issue 5 (Close all other Proto.Menus) commented on by jonaszeh...@gmx.ch   -   A much better working version.
    A much better working version.
  • Mar 01, 2009
    issue 5 (Close all other Proto.Menus) commented on by jonaszeh...@gmx.ch   -   Here is a version, where the opened menu is saved in Proto.openedMenu.(I didn't know where to put it) The proto.menu is now closing when the browser context menu gets opened, too. (except in Opera)
    Here is a version, where the opened menu is saved in Proto.openedMenu.(I didn't know where to put it) The proto.menu is now closing when the browser context menu gets opened, too. (except in Opera)
  • Mar 01, 2009
    issue 5 (Close all other Proto.Menus) commented on by jonaszeh...@gmx.ch   -   I think there must be a container which holds the opened contextmenu or something so the opening contextmenu can close the other one.
    I think there must be a container which holds the opened contextmenu or something so the opening contextmenu can close the other one.
  • Mar 01, 2009
    issue 5 (Close all other Proto.Menus) commented on by jonaszeh...@gmx.ch   -   I think there must be a container which holds all open contextmenus or something so the opening contextmenu can close them.
    I think there must be a container which holds all open contextmenus or something so the opening contextmenu can close them.
  • Mar 01, 2009
    issue 5 (Close all other Proto.Menus) commented on by jonaszeh...@gmx.ch   -   It doesn't work very well, I'll post it when I found something better.
    It doesn't work very well, I'll post it when I found something better.
  • Mar 01, 2009
    issue 5 (Close all other Proto.Menus) commented on by jonaszeh...@gmx.ch   -   Try it with document.observe('click', function(e) { if (this.container.visible()) { this.options.beforeHide(e); if (this.ie) this.shim.hide(); this.container.hide(); } }.bind(this)); instead of document.observe('click', function(e) { if (this.container.visible() && !e.isRightClick()) { this.options.beforeHide(e); if (this.ie) this.shim.hide(); this.container.hide(); } }.bind(this)); But there could be an order problem. (So the menu is closed directly after opening, but I've tested it in FF 3)
    Try it with document.observe('click', function(e) { if (this.container.visible()) { this.options.beforeHide(e); if (this.ie) this.shim.hide(); this.container.hide(); } }.bind(this)); instead of document.observe('click', function(e) { if (this.container.visible() && !e.isRightClick()) { this.options.beforeHide(e); if (this.ie) this.shim.hide(); this.container.hide(); } }.bind(this)); But there could be an order problem. (So the menu is closed directly after opening, but I've tested it in FF 3)
  • Mar 01, 2009
    issue 5 (Close all other Proto.Menus) commented on by jonaszeh...@gmx.ch   -   Try it with document.observe('click', function(e) { if (this.container.visible()) { this.options.beforeHide(e); if (this.ie) this.shim.hide(); this.container.hide(); } }.bind(this)); instead of document.observe('click', function(e) { if (this.container.visible() && !e.isRightClick()) { this.options.beforeHide(e); if (this.ie) this.shim.hide(); this.container.hide(); } }.bind(this));
    Try it with document.observe('click', function(e) { if (this.container.visible()) { this.options.beforeHide(e); if (this.ie) this.shim.hide(); this.container.hide(); } }.bind(this)); instead of document.observe('click', function(e) { if (this.container.visible() && !e.isRightClick()) { this.options.beforeHide(e); if (this.ie) this.shim.hide(); this.container.hide(); } }.bind(this));
  • Mar 01, 2009
    issue 1 (Context Menu Items do not get highlighted when moused over i...) commented on by jonaszeh...@gmx.ch   -   I can't reproduce this issue. I've Safari 3.2.1 for Windows. I've tested http://yura.thinkweb2.com/scripting/contextMenu/ .
    I can't reproduce this issue. I've Safari 3.2.1 for Windows. I've tested http://yura.thinkweb2.com/scripting/contextMenu/ .
  • Mar 01, 2009
    issue 4 (Error: Object.isUndefined is not a function ) commented on by jonaszeh...@gmx.ch   -   If prototype is really loaded, then there can't be this issue: http://prototypejs.org/api/object/isundefined Perhaps wrong version of prototype?
    If prototype is really loaded, then there can't be this issue: http://prototypejs.org/api/object/isundefined Perhaps wrong version of prototype?
  • Mar 01, 2009
    issue 5 (Close all other Proto.Menus) commented on by jonaszeh...@gmx.ch   -   I'm going to change some things, so I could build this in but I can't see how I could upload the file into the SVN.
    I'm going to change some things, so I could build this in but I can't see how I could upload the file into the SVN.
  • Mar 01, 2009
    issue 5 (Close all other Proto.Menus) commented on by jonaszeh...@gmx.ch   -   I'm changing some things, so I could build this in but I can't see how I could upload the file into the SVN.
    I'm changing some things, so I could build this in but I can't see how I could upload the file into the SVN.

Older

  • Oct 29, 2008
    issue 5 (Close all other Proto.Menus) reported by lskatz   -   What version of the product are you using? On what operating system? version 0.6 I want to close all other proto.menus whenever one gets opened. My page has about five menus and it kind of looks bad when all of them are opened... As a separate issue, I want to have a scriptaculous effect when the menu hides. How can this be done? I found out how to change the effect to Blinds but I want to at least get a hide function instead of using the Prototype default.
    What version of the product are you using? On what operating system? version 0.6 I want to close all other proto.menus whenever one gets opened. My page has about five menus and it kind of looks bad when all of them are opened... As a separate issue, I want to have a scriptaculous effect when the menu hides. How can this be done? I found out how to change the effect to Blinds but I want to at least get a hide function instead of using the Prototype default.
  • Oct 12, 2008
    issue 4 (Error: Object.isUndefined is not a function ) commented on by lskatz   -   Nevermind, I just didn't have the newest Prototype (1.6) installed.
    Nevermind, I just didn't have the newest Prototype (1.6) installed.
  • Oct 12, 2008
    issue 4 (Error: Object.isUndefined is not a function ) reported by lskatz   -   I'm not sure if this will be a problem, but I get an immediate javascript error when I use Proto.Menu. What steps will reproduce the problem? 1. <html><head> <script type='text/javascript' src='/javascript/prototype.js'></script> <script type='text/javascript' src='/javascript/scriptaculous/scriptaculous.js'></script> <script type='text/javascript' src='/javascript/functions.js'></script> <script type='text/javascript' src='/javascript/dropdown.js'></script> <!--<script type='text/javascript' src='/javascript/coolJsMenu/coolmenu_tight_compression.js'></script>--> <script type='text/javascript' src='/javascript/xU.js'></script> <!-- <script type='text/javascript' src='/javascript/proto.menu.0.6.js'></script> --> <script type='text/javascript' src='/javascript/proto.menu.0.6.js'></script> Error: Object.isUndefined is not a function Source File: http://.../proto.menu.0.6.js Line: 9
    I'm not sure if this will be a problem, but I get an immediate javascript error when I use Proto.Menu. What steps will reproduce the problem? 1. <html><head> <script type='text/javascript' src='/javascript/prototype.js'></script> <script type='text/javascript' src='/javascript/scriptaculous/scriptaculous.js'></script> <script type='text/javascript' src='/javascript/functions.js'></script> <script type='text/javascript' src='/javascript/dropdown.js'></script> <!--<script type='text/javascript' src='/javascript/coolJsMenu/coolmenu_tight_compression.js'></script>--> <script type='text/javascript' src='/javascript/xU.js'></script> <!-- <script type='text/javascript' src='/javascript/proto.menu.0.6.js'></script> --> <script type='text/javascript' src='/javascript/proto.menu.0.6.js'></script> Error: Object.isUndefined is not a function Source File: http://.../proto.menu.0.6.js Line: 9
 
Hosted by Google Code