Changeset 3631 in products


Ignore:
Timestamp:
Feb 14, 2013 3:21:14 PM (11 years ago)
Author:
kroman0
Message:

Added ids for navigation

Location:
quintagroup.dropdownmenu/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.dropdownmenu/trunk/docs/HISTORY.txt

    r3630 r3631  
    1515 
    1616* Wraped mobile menu in div [kroman0] 
     17 
     18* Added ids for navigation [kroman0] 
    1719 
    18201.2.11 - August 10,2012 
  • quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/browser/templates/sections_recurse.pt

    r3630 r3631  
    77            ><li tal:define="is_current      node/currentItem; 
    88                             is_in_path      node/currentParent; 
     9                             li_id           string:portaltab-${node/id}-level$level; 
    910                             li_curr_class   python:is_current and 'selected' or ''; 
    1011                             li_extr_class   python:(is_in_path and not is_current) and 'selected' or ''; 
     
    1213                             li_class string:${li_curr_class}${li_extr_class}; 
    1314                             li_class python:li_class or nothing" 
    14                  tal:attributes="class li_class" 
     15                 tal:attributes="class li_class; id li_id" 
    1516                ><tal:level define="show_children node/show_children; 
    1617                            children node/children; 
     
    2829                            >Selected Item Title</span 
    2930                        ></a 
    30                     ><ul tal:attributes="class python:'globalSectionsLevel'+str(level)" 
     31                    ><ul tal:attributes="class string:globalSectionsLevel$level" 
    3132                         tal:condition="python: len(children) > 0 and show_children" 
    3233                        ><li tal:replace="structure python:view.recurse(children=children, level=level+1)" 
Note: See TracChangeset for help on using the changeset viewer.