久久久久av_欧美日韩一区二区在线_国产精品三区四区_日韩中字在线

請教各位,如何判斷主導(dǎo)航下面是否有二級導(dǎo)航?

2160 6 0提示:支持鍵盤翻頁<-左 右-> artery 發(fā)表于 2023-6-28 10:39 帖子模式

如題,沒找到在模板里的判斷辦法,比如說: “社區(qū)”和“使用教程” ,一個(gè)有二級,另一個(gè)沒有,我想讓有二級導(dǎo)航的變化一種樣式,要如何判斷呢? <!--{if ..............}--> .............................. ... 查看全文

    組圖打開中,請稍候......
artery發(fā)表于  2023-6-28 15:08:29

感謝!!
artery發(fā)表于  2023-6-28 15:08:14
onetheme發(fā)表于  2023-6-28 11:49:43
artery 發(fā)表于 2023-6-28 11:23
感謝回復(fù),我可能沒表達(dá)清楚,我是想這樣:
  1. .header .nav span[onmouseover] a:after {
  2.     float: right;
  3.     display: block;
  4.     position: relative;
  5.     top: 13px;
  6.     width: 6px;
  7.     height: 6px;
  8.     margin-left: 7px;
  9.     border: 1px solid #ccc;
  10.     border-left-color: transparent;
  11.     border-top-color: transparent;
  12.     transform: rotate(45deg);
  13.     -webkit-transition: all .3s ease-in-out;
  14.     -moz-transition: all .3s ease-in-out;
  15.     transition: all .3s ease-in-out;
  16. }
復(fù)制代碼

評分

參與人數(shù) 1金幣 +1 收起 理由
artery + 1 多謝支持

查看全部評分

科站網(wǎng)發(fā)表于  2023-6-28 11:39:32
  1. strpos($nav['nav'],"onmouseover=") !== false
復(fù)制代碼

評分

參與人數(shù) 1金幣 +1 收起 理由
artery + 1 多謝支持

查看全部評分

onetheme發(fā)表于  2023-6-28 11:08:09
利用“onmouseover”寫有二級菜單的導(dǎo)航樣式




  • 關(guān)注公眾號
  • 有償服務(wù)微信
  • 有償服務(wù)QQ

手機(jī)版|小黑屋|Discuz! 官方交流社區(qū) ( 皖I(lǐng)CP備16010102號 |皖公網(wǎng)安備34010302002376號 )|網(wǎng)站地圖|star

GMT+8, 2025-9-19 12:49 , Processed in 0.094660 second(s), 36 queries .

Powered by Discuz! W1.0 Licensed

Copyright © 2001-2025 Discuz! Team.

關(guān)燈 在本版發(fā)帖
有償服務(wù)QQ
有償服務(wù)微信
返回頂部
快速回復(fù) 返回頂部 返回列表