1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 How do I find the ID of a selected tab

Discussion in 'XenForo Questions and Support' started by Mr Lucky, May 29, 2014.

  1. Mr Lucky

    Mr Lucky Well-Known Member

    How do I find the ID of a selected tab?

    e.g. I want a notice to appear only in the resource section

    Thanks.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Use a browser inspection tool.

    upload_2014-5-29_18-36-35.png

    In this case it is 'resources'.
     
  3. Mr Lucky

    Mr Lucky Well-Known Member

    Many thanks.

    Is the manual wrong then, because I thought that a class is not the same thing as an ID.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    It's just terminology and application.

    In this case the ID is also the class.
     
  5. Mr Lucky

    Mr Lucky Well-Known Member

    Many thanks.
     

Share This Page