Welcome to TalkGraphics.com
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,912

    Default Re: The Ultimate Xara Menu Maker...

    For those who are interested the following Website Body (code) update, stops the inner sub-menu items from flickering as they are now not being closed and opened:
    Code:
    <script>
    var collectionClassName = '.Menu';
    
    
    function open(chain) {
      chain = chain.replace(/\s/g,'');
      var links = chain.split(',');
      var linkage = links.length - 1;
    
    
      $(collectionClassName).not(chain).hide('fast');
      
      $(links[linkage]).slideDown("slow");
      return;
    }
    
    
    $(collectionClassName).hide();
    </script>
    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  2. #2
    Join Date
    Oct 2010
    Location
    South Africa
    Posts
    877

    Default Re: The Ultimate Xara Menu Maker...

    Quote Originally Posted by Acorn View Post
    For those who are interested the following Website Body (code) update, stops the inner sub-menu items from flickering as they are now not being closed and opened:
    Code:
    <script>
    var collectionClassName = '.Menu';
    
    
    function open(chain) {
      chain = chain.replace(/\s/g,'');
      var links = chain.split(',');
      var linkage = links.length - 1;
    
    
      $(collectionClassName).not(chain).hide('fast');
      
      $(links[linkage]).slideDown("slow");
      return;
    }
    
    
    $(collectionClassName).hide();
    </script>
    Acorn
    Many thanks Acorn!

  3. #3
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,912

    Info Re: The Ultimate Xara Menu Maker...

    Small change (see .
    Change open() anywhere to openSesame() or something other thn open().

    Acorn


    Code:
    <script>
    var collectionClassName = '.Menu';
    
    
    function openSesame(chain) {
      chain = chain.replace(/\s/g,'');
      var links = chain.split(',');
      var linkage = links.length - 1;
    
    
      $(collectionClassName).not(chain).hide('fast');
      
      $(links[linkage]).slideDown("slow");
      return;
    }
    
    
    $(collectionClassName).hide();
    </script>
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

 

 

Bookmarks

Posting Permissions

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