I have a fly out menu similar to the one on this page http://jc-designs.net/demo/flyout.html
When hovering over the main tabs, is it possible to insert a line between one more items on this menu?
So for "Home" instead of:
About this template here
Flash
jQuery
It would be:
About this template here
--------------------------------------
Flash
--------------------------------------
jQuery
The best way is to do it in css adding something like
.listTab li{
border-bottom: 1px;
border-style : dashed;
}
Add a bottom border to each item:
var sel = "ul > li > ul > li";
$(sel).css("border-bottom", "black solid 1px");
You can also conditionally not add this styling to the last element ( :last-child
)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.