$magicLine.width($(".current_page_item").width()) I need to implement a scheme similar to that of MagicLine on a single page, where according to the scrolling, #url is changed and the position of the line under the menu as well. Each of these sections changes is linked to the menu, so you can do automatic scrolling. This plugin works well on multi-page sites, where each page has a unique URL, but single page sites, are divided into several sections. The difference of this plugin is that by giving :hover to another menu element, the line goes animatedly to the :hover element, returning as soon as the cursor is taken from above. active class will be added to li, and the line will be below it. Magic Line is a jQuery plugin that has the function of adding a line below li from the navigation menu to represent which page the user is in.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |