ul li active
this will point to the <ul> selected by .nav-list . You can use delegation instead! $('.nav-list').on('click', 'li', function() $('.nav-list li.active').,Ok, my only guess is add a css rule on "active" class with position:absolute;. EDIT : Try this solution here, if it's what you're looking for. I hope it helps!
相關軟體 Axialis IconWorkshop 資訊 | |
---|---|
用 Axialis IconWorkshop 為 Windows,MacOS 和 Unix 製作自己的圖標。為 Windows Vista / 7 創建 Windows 圖標高達 256x256,為 OSX Lion 10.7 創建最高為 1024x1024 的 Macintosh 圖標。 Unix / Linux 使用 PNG 圖標。 IconWorkshop 使用 alpha 通道創建 PNG... Axialis IconWorkshop 軟體介紹
ul li active 相關參考資料
Active li link not working - HTML & CSS - The SitePoint Forums
(I would like to add when I was using the JQuery tab function, the "active" link worked very well, ... ul.tabs li.current a:active background: #A9DB73; color: #333; ... https://www.sitepoint.com addremove active class for ul list with jquery? - Stack Overflow
this will point to the <ul> selected by .nav-list . You can use delegation instead! $('.nav-list').on('click', 'li', function() $('.nav-list li.active'). https://stackoverflow.com Animate ul li.active within view site - Stack Overflow
Ok, my only guess is add a css rule on "active" class with position:absolute;. EDIT : Try this solution here, if it's what you're looking for. I hope it helps! https://stackoverflow.com Change active li when clicking link - Stack Overflow
I understood the following if the user clicks on a link the class of the parent node should be set to active <ul class="nav menu"> <li ... https://stackoverflow.com Change css for li with class active Bootstrap - Stack Overflow
Try .navbar-default .navbar-nav > .active color: #000; background: red; } .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav ... https://stackoverflow.com CSS :active Selector - W3Schools
The :active selector is used to select and style the active link. ... Note: :active MUST come after :hover (if present) in the CSS definition in order to be effective! https://www.w3schools.com Get the value of active li in ul - Stack Overflow
Change class to ID i.e li.credit to li#credit and interest to data-interest. HTML <ul id="credit" name="credit"> <li data-interest = "0.056" ... https://stackoverflow.com How To Add Active Class To Current Element - W3Schools
Get the container element var btnContainer = document.getElementById("myDIV"); // Get all buttons with class="btn" inside the container var btns = btnContainer. https://www.w3schools.com HTML新手求解。关于CSS对于li标签的active状态的背景颜色-CSDN论坛
之类的里面的li标签显示<li class="active">就会直接运行HTML以后在一个标签处显示出背景颜色的变化怎么 ... .test #ul li a:active background :#. https://bbs.csdn.net Why is my nav ul li:active background color not working? - Stack ...
You've misunderstood what :active means. Your web browser has no concept of which li on the page represent the current page, unless you ... https://stackoverflow.com |