Suggestion : tabbed interface

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rinorway
    Senior Member
    • Feb 2016
    • 179

    Suggestion : tabbed interface

    Tiny suggestion : when you have a lot of modules attached to accounts, you need to scroll a lot.

    Especially on tablets a tabbed interface option would be welcome, or even a link to the corresponding panel.
  • jcortes0309
    Member
    • Mar 2016
    • 68

    #2
    Agree with that suggestion. Not only for the relationships, but also to include the activities, history and tasks in the tabbed interface

    Comment

    • rinorway
      Senior Member
      • Feb 2016
      • 179

      #3
      Quick and dirty workaround to add a panel menu with some jQuery:

      Code:
      // add anchors to panel headers and add links to the Edit dropdown
      
      $('.bottom .panel-title > span').each(function(){
          var a = $.trim($(this).text());
          t = $('<a>',{'name':a});
          $(this).parent().wrapInner(t);
          $('.record-buttons > div > ul ').append($('<li>',{'text':a, "name":a}).css({"background-color":"#DAE6FA","margin":"8px"}));
      });
      
      // set onclick handler
      
      $('.record-buttons > div > ul > li ').each(function(){
          $(this).click(function() {
                  t=$(this).attr("name");
                  $( "a[name*='"+t+"']" )[0].scrollIntoView();
                  $( "a[name*='"+t+"']" ).css({"background-color":"yellow","margin":"8px"})
          });
      });
      Result :

      Click image for larger version

Name:	2016_008.jpg
Views:	164
Size:	5.4 KB
ID:	23415

      Comment

      • emillod
        Active Community Member
        • Apr 2017
        • 1405

        #4
        Can you tell me where are you make those changes?

        Comment

        • emillod
          Active Community Member
          • Apr 2017
          • 1405

          #5
          Is there any update on that?
          How can i create tabbed interface? Where i need to paste this code?

          Comment

          Working...