Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Jul 2010
    Location
    My heart will always be in the NorEast
    Posts
    106
    Plugin Contributions
    0

    Default Re: Click Show Hide Category Jquery Help

    It would be best to contact the creator. Dr. Byte is active on here and he is given credit for part of the code at least or try the contact from the screen shot http://www.prolifique.com

    http://www.prolifique.com/zencart/cl...screenshot.jpg

  2. #12
    Join Date
    Jul 2010
    Posts
    33
    Plugin Contributions
    0

    Default Re: Click Show Hide Category Jquery Help

    Hello, good news. here is the solution
    just replace this...

    if (depth == 0) {
    if (this.openParentPages) // enable links on parent items (links to parent category pages work)
    eval("document.getElementById('"+a.id+"').onclick = function() {this.blur(); self.setActive(this); return self.click('"+nodes[i].id+"');}");
    else // disable links on parent items (so clicking them just opens submenus, not the page)

    to this..

    if (depth >= 0) {
    if (this.openParentPages) // enable links on parent items (links to parent category pages work)
    eval("document.getElementById('"+a.id+"').onclick = function() {this.blur(); self.setActive(this); return self.click('"+nodes[i].id+"');}");
    else // disable links on parent items (so clicking them just opens submenus, not the page)

    the only simple solution isto change (depth == 0) to (depth >= 0)


  3. #13
    Join Date
    Jul 2010
    Posts
    33
    Plugin Contributions
    0

    Default Re: Click-Show-Hide Menu Loading

    Hello, good news. here is the solution
    just replace this...

    if (depth == 0) {
    if (this.openParentPages) // enable links on parent items (links to parent category pages work)
    eval("document.getElementById('"+a.id+"').onclick = function() {this.blur(); self.setActive(this); return self.click('"+nodes[i].id+"');}");
    else // disable links on parent items (so clicking them just opens submenus, not the page)

    to this..

    if (depth >= 0) {
    if (this.openParentPages) // enable links on parent items (links to parent category pages work)
    eval("document.getElementById('"+a.id+"').onclick = function() {this.blur(); self.setActive(this); return self.click('"+nodes[i].id+"');}");
    else // disable links on parent items (so clicking them just opens submenus, not the page)

    the only simple solution isto change (depth == 0) to (depth >= 0)
    see it live...
    http://www.e-matrix.gr

  4. #14
    Join Date
    Jul 2010
    Posts
    33
    Plugin Contributions
    0

    Default Re: Click Show Hide Category Jquery Help

    see it live...
    http://www.e-matrix.gr

  5. #15
    Join Date
    Jul 2010
    Location
    Australia
    Posts
    131
    Plugin Contributions
    0

    Default Re: Click-Show-Hide Menu Loading

    Quote Originally Posted by baracudamax View Post
    the only simple solution isto change (depth == 0) to (depth >= 0)
    see it live...
    http://www.e-matrix.gr
    I hadn't returned to this post for some time - so nice to see your post.

    Thank you SO much for this fix baracudamax

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Click-Show-Hide Category Menu reloads on clicking sub-menu
    By rajoo.sharma in forum Addon Sideboxes
    Replies: 3
    Last Post: 20 Nov 2013, 07:02 PM
  2. v151 Click-Show-Hide Category Menu
    By Feznizzle in forum Addon Sideboxes
    Replies: 1
    Last Post: 8 Feb 2013, 05:01 PM
  3. Click-Show-Hide Category Menu
    By saqibkkk in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 31 Dec 2011, 03:56 AM
  4. Click-Show-Hide Category Menu
    By tutebarra in forum Addon Sideboxes
    Replies: 2
    Last Post: 5 May 2011, 09:28 AM
  5. Click-Show-Hide menu and IE problem
    By khopek in forum Addon Sideboxes
    Replies: 0
    Last Post: 22 Oct 2008, 05:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg