Seems not working well enough.
I configured the module from the options in all possible ways, but it works only for the first 3 "mouseover", then becomes inactive. I have a menu with 4 items on display, but results can not it work for these 4 should refresh the page to continue working.
What do I do wrong? Is there a solution?
You can see how anomalous to http://www.davinci-escola-art.com
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 1229734-empty-div.patch | 713 bytes | solotandem |
| #3 | empty-div-1229734-3.patch | 436 bytes | sakiland |
Comments
Comment #1
solotandem commentedThe web site URL you refer returns a "Server not found" message. Can you reinstate this?
By "it works only for the first 3 "mouseover", then becomes inactive" are you saying that you have selected "mouseover" as the "event" to activate the accordion effect and the effect stops working after 3 invocations? If not, please help me understand your issue.
Have you tried other "events" to activate the accordion effect, such as "mousedown?" In the description on the settings form, you are warned to "Use "mouseover" at your own risk."
Comment #2
sakiland commentedI have similar problem but only in IE8. It doesn't depend of event type.
When install jquery_update Drupal module then have problem in Firefox 5 and IE8.
Whitout jquery_update in IE8 I got error
I'll keep testing.
Comment #3
sakiland commentedOk, problem exists when any first div after header is empty.
I has made workaround, but I'm not very happy with this solution :)
Probably, this is a bug of jQuery and I don't know is new version of jQuery has it.
Comment #4
linuxbcn commentedTry again the URL, please, http://www.davinci-escola-art.com
Yes, This is my problem. tested in Safari, Firefox and chrome.
Tnx!
Comment #5
linuxbcn commentedWell, I'll faind solutions too.
Tnx!
Comment #6
linuxbcn commentedI make somthing mote tests and the problem exist for all diferent efects. This week i'll try somthing with the patch and inform about it.
Tnx for all.
Comment #7
linuxbcn commentedI applied the patch
and this is the output
What can I doo now?
Comment #8
solotandem commentedDid you try to apply the patch against the dev release or 6.x-1.1? It appears it is intended for the former.
@sakiland, Does the attached patch work (similarly to your patch) if the div is empty (i.e. no child menu links)?
Comment #9
linuxbcn commentedI'll try another time, tnx!
Comment #10
linuxbcn commentedHooo!
Anorther error ;(
$ patch -e < 1229734-empty-div.patch
patch: **** Only garbage was found in the patch input.
I have the version module Accordion menu 6.x-1.1.
Som alternative solution? I need this efect in a web.
Comment #11
linuxbcn commentedI try with this orders too:
And the same results ;(
Before, I re-upload the module files in the server.
Comment #12
solotandem commentedTry
patch -p0 < 1229734-empty-div.patchor
patch -p1 < 1229734-empty-div.patchComment #13
linuxbcn commentedSom other errors
Try
or
Comment #14
solotandem commentedThe patches were written against the dev release, not 6.x-1.1.
Comment #15
sakiland commentedSorry people for late answer. Yes, the patch was written against the dev release.
@solotandem, I have tried your patch and it hasn't worked. Look at http://jqueryui.com/demos/accordion/. There is message
Comment #16
solotandem commentedThanks for the feedback. Funny thing, I tried the patch and it worked (or seemed to).
Is the jQuery comment implying that content must exist (even if empty), or just that if it does exist, it needs to be next to the header? What version of jQuery did you try this with?
Comment #17
linuxbcn commentedI have:
jQuery UI 6.x-1.5
jQuery Update 6.x-2.0-alpha1
Comment #18
sakiland commentedI use
Drupal 6 default (jQuery 1.2.6)
jQuery UI 6.x-1.5 (JQuery UI 1.6)
Currently, I have no enough time to test with other version of jQuery and jQuery UI. I will try in a few days.
Here complete text for jQuery UI document:
@solotandem, Your patch works in Firefox 6, Chromium 6, Opera 11.51, but it doesn't work in IE8 (test via VirtualBox).
Description:
I have 6 menu items. First have submenus, other are with no submenu (so there is no div after header tag).
Test case 1:
If I click on first item, then on any of next 5, then again on first and any of next 5, (all this i can repeat many times) there is no problem.
Test case 2:
If I click on first item, then on any of next 5 and continue clicking on next 5 items i get error after 5-16 steps.
Test case 3:
If I do not click on first but on any of next 5, then I can click on any item of all 6 I get error.
Comment #19
linuxbcn commentedI can't find a solid solution.
Some similar module for make acordion efect?
Tnx!
Comment #20
linuxbcn commentedMy secont last test whth the patch:
And the file .rej:
Comment #21
sakiland commentedI don't understand. Do you have problem with patch file? Here example
git clone --branch 6.x-1.x http://git.drupal.org/project/accordion_menu.git
cd accordion_menu/
cp /from_somewhere/empty-div-1229734-3.patch .
git apply -v empty-div-1229734-3.patch
Comment #22
solotandem commentedRecent tests with the patch in #8 applied to latest commit on this branch indicates a undesirable behavior when an empty menu item is enabled followed by enabling a non-empty menu item. The area beneath the empty menu item expands and then contracts before expanding the non-empty menu item.
Marking this as closed unless someone can explain the issue better.
Please grab the latest dev release (created after this comment) or commit to 6.x branch, test, and report back.