Announcement

Collapse
No announcement yet.

Suggestion : tabbed interface

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

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

    Comment


    • #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:	156
Size:	5.4 KB
ID:	23415

      Comment


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

        Comment


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

          Comment

          Working...
          X