1. REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Updated Section Id's and Section Anchors

Discussion in 'Showcase Closed Suggestions' started by Bob, Apr 4, 2023.

  1. Bob

    Bob Developer Staff Member

    I've added an anchor span class above each section title as well as modified the h3 element to include a CSS Class and an ID. These are used for the new TOC and Dropdown Navigation for Sections and Pages.

    Example... Added an anchor span class above each section title as well as modified the h3 element to include a CSS Class and an ID (that is dynamic using category_id and section_id).

    Note: This example is applicable to the Stacked Sections. I've done something similar for Tabbed Sections.

    HTML:
    <span class="u-anchorTarget" id="section_1"></span>
    
    <h3 class="scSectionH3Class" id="catid-{category.category_id} secid-s1">{$category.title_s1}</h3>
    HTML:
    <span class="u-anchorTarget" id="section_2"></span>
    
    <h3 class="scSectionH3Class" id="catid-{category.category_id} secid-s2">{$category.title_s2}</h3>

    HTML:
    <span class="u-anchorTarget" id="section_3"></span>
    
    <h3 class="scSectionH3Class" id="catid-{category.category_id} secid-s3">{$category.title_s2}</h3>
     
    Veer likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.