00001 _navigation_menu_types = ['basictab','glowingtabs','solidblockmenu','ddcolortabs','chromemenu'] 00002 00003 def tab_num_from_url(url,navigation_tabs): 00004 i = 0 00005 _url = '%s%s' % ('/' if (not url.startswith('/')) else '',url) 00006 for tab in navigation_tabs: 00007 if (tab[0] == _url): 00008 return i 00009 i += 1 00010 return -1 00011 00012
© Copyright 2008-2009 Vyper Logix Corp., All Right Reserved; If you reference this document or any part of this document you must use the citation verbatim (including the link) "© Copyright 2008-2009 Vyper Logix Corp., All Right Reserved."
Notice: This source code contained in this document is NOT open source and is NOT being distributed as open source.
122,241 lines of code and growing...