Hi,

i have installed projectmenu plugin after installation main navigation
tab not highlighted even i can click it, suppose,     i have disabled
the projectmenu plugin then it is working,,


here i have put the following code..,

python web_ui.py file :


for project in os.listdir(search_path):
           if project != this_project and os.path.isdir(os.path.join
(search_path, project)) :
                     proj_elm = tag.OPTION(project,
value=posixpath.join(base_url, project))
                     projects.append((proj_elm,
project))

        projects.sort(lambda a,b: cmp(a[1],b[1])) # Sort on the
project names
        projects.insert(0, (tag.OPTION(self.env.project_name,
value=''), None))

        yield 'metanav', 'projectmenu', tag.SELECT([e for e,_ in
projects], name='projectmenu', id='projectmenu', onchange='return
on_projectmenu_change();')




javascirpt file :

function on_projectmenu_change() {
var s = document.getElementById('projectmenu');
            if(s.value != '') {
                window.location = s.value;
                        }
    }


all functionalities are working fine main problem navigation tabs not
getting properly highlighted.

can anybody suggest me ..
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to