Results 1 to 10 of 15

Hybrid View

  1. #1
    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

  2. #2
    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

 

 

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