03 января 2008 ~ 4732 Комментария

Делаем якорные ссылки удобными

a

Якорные ссылки это ссылки внутри одной странички, что-то вроде навигации по интерфейсу сайта. Лично я не люблю использовать эти ссылки как пользователь, так как происходит моментальное перемещение в другой участок страницы и я теряю то место на котором я остановился и не могу его сопоставить со следующим.

Вобщем сегодня мы будем заменять этот неудобный моментальный переход на плавный и удобный авто-скроллинг.

Для этого мы будем использовать jQuery, а также малюсенький плагин «anchorAnything v1.0».

Для полноценной работы нам нужно подключить эти скрипты, и присвоить якорным ссылкам класс anchorLink и вуаля — все работает!

Посмотреть демо

Посетить страничку автора плагина «anchorAnything»

An American Affair film

4732 Комментария для “Делаем якорные ссылки удобными”

  1. nike air zoom vapor 18 мая 2012 at 3:33 Permalink

    I am very enjoyed for this blog. Its an informative topic. It help me very much to solve some problems. Its opportunity are so fantastic and working style so speedy. I think it may be help all of you. Thanks.Great information once again. I am looking forward for more updates!

  2. heathrow taxi service 18 мая 2012 at 5:14 Permalink

    Multicast Cell phone is usually a mission-based, industry leading, intensifying multiledia corporation.

  3. Miasto Wnętrz Poznań 18 мая 2012 at 5:16 Permalink

    I have to voice my affection for your kind-heartedness for persons who need help on in this niche. Your special commitment to passing the message all-around appeared to be especially invaluable and has constantly permitted ladies much like me to get to their ambitions. This warm and helpful report indicates a whole lot a person like me and additionally to my fellow workers. Thanks a ton; from all of us.

  4. 24 7 Emergency Locksmith 18 мая 2012 at 5:22 Permalink

    Enjoyed reading through this, very good stuff, regards . «Talk sense to a fool and he calls you foolish.» by Euripides.

  5. Begonie 18 мая 2012 at 5:24 Permalink

    I am also writing to let you know what a exceptional encounter my wife’s girl experienced browsing yuor web blog. She learned some pieces, not to mention how it is like to possess a very effective teaching heart to get others without difficulty have an understanding of a number of extremely tough subject areas. You actually did more than our own desires. Thanks for churning out those effective, safe, educational and in addition easy tips on your topic to Kate.


Оставить комментарий