We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
class 其中的 .active 似乎有點怪怪的,直覺應該是點到哪一項就 assign active class 到對應的 item 上才對(?),另外 .active 也有重複 assign 的部分。
.active
active
The text was updated successfully, but these errors were encountered:
我抄的是這頁的 "pointing": http://semantic-ui.com/modules/dropdown.html 沒有顯示會換,只有menu,沒有dropdown則會顯示: http://semantic-ui.com/collections/menu.html 是 semantic ui class 的問題嗎?要怎麼修?
重複的 active 要砍掉+1
Sorry, something went wrong.
嗯...先把多餘的 active 拿掉了。 .active assign 的部分看了一下,官方網站看起來有另外 load 一個 menu.js 來切換 .active 狀態,不過也許也不需要加進來,因為 g0v menu 上的幾乎都是 dropdown,可能也不太適用(?)。
menu.js
這是它的 menu.js 檔: https://raw.github.com/Semantic-Org/Semantic-UI/a4aad08a1bf9231a50faed20cc2e3921994e8a93/server/files/javascript/menu.js
應該是 extend layout 時要給目前的 toplevel menu class, 好讓 layout.jade 指定 active
Successfully merging a pull request may close this issue.
class 其中的
.active
似乎有點怪怪的,直覺應該是點到哪一項就 assignactive
class 到對應的 item 上才對(?),另外.active
也有重複 assign 的部分。The text was updated successfully, but these errors were encountered: