Organizational Research By

Surprising Reserch Topic

active menu tabs with codeigniter


active menu tabs with codeigniter  using -'php,css,codeigniter'

Which method can be used in Codeigniter to achieve active menu tabs?

For example I have a user menu Profile Friends Messages Logout

When I'm in the profile controller the URL is domain.com/profile/some_function The Profile tab should be active by changing the background color for example.

I would usually add php to the tabs to check for their corresponding URL segment and I would change the style of the active tab. In Codeigniter should I implement a helper? What function can I easily use in tabs?
    

asked Sep 15, 2015 by EdwSteere
0 votes
43 views



Related Hot Questions

4 Answers

0 votes
NULL
answered Sep 15, 2015 by JoniWBIItlb
0 votes
NULL
answered Sep 15, 2015 by HiltonMarkcv
0 votes
NULL
answered Sep 15, 2015 by RenDiamond
0 votes
NULL
answered Sep 15, 2015 by Nqjdkicu

...