DEDECMS development tips. DEDECMS development skills summary 1. dedecms's built-in drop-down list menu calls dedecms's self-contained drop-down menu function, which is also very simple to call. dedecms development skills summary
1. call the drop-down list menu provided by dedecms
Dedecms has the drop-down menu function and is very simple to call. you do not need to find another tag by yourself when using the drop-down menu that comes with dedecms, you just need to modify the corresponding/templets/style/dedecms.css and the following lines of CSS code.
Open/templets/default/head.htm and find the section called by the dedecms navigation menu.
CCS won't be pasted here
- Home Page
{Dede: channel type = 'top' row = '10' currentstyle ="
- ~ Typename ~
"}
- [Field: typename/]
{/Dede: channel}
Specifically, type = 'top' indicates that the top-level column row = '10' indicates that the number of 10 columns to be called [field: rel/] is equivalent to the column id added to dropmenu. This label is added to dedecms5.5 and is mainly used to display lower-level columns in the navigation bar. do not remove this label when using the drop-down menu.
{Dede: channel type = 'top' row = '10' currentstyle ="
~ Typename ~"} You can remove currentstyle ="
~ Typename ~"We should style this part and then open/templets/default/footer.htm to find the code for calling dedecms to call the level-2 drop-down menu.