0
点赞
收藏
分享

微信扫一扫

帝国CMS友情连接修改为 option 下拉菜单

我阿霆哥 2022-12-22 阅读 154

<select name=""

          onchange="this.options[this.selectedIndex].value!='default' ?  window.open(this.options[this.selectedIndex].value): console.log('')">

          <option value="default" selected="selected">全局导航</option>

          [e:loop={'select lname,lurl from [!db.pre!]enewslink where checked=1 and classid=4 order by

          myorder,lid',20,24,0}]

          <option value="<?=$bqr[lurl]?>">

            <?=$bqr[lname]?>

          </option>

          [/e:loop]

        </select>


举报

相关推荐

0 条评论