Как сделать якорь с подсветкой при переходе
-
Добрый день, подскажите можно ли сделать якорь с подсветкой при нажатие ?
Есть большая таблица и при переходе нужно чтобы подсвечивалась нужная ячейка.
Нашел примерно что нужно, но в wordpress не работает
Пример: http://jsfiddle.net/davidThomas/NGyVL/
Код вставлял так
<style type="text/css"> #demo { width: 75%; margin: 0 auto; background-color: #fff; -webkit-transition: all 1s linear; } #demo:target { background-color: #ffa; -webkit-transition: all 1s linear; } </style> <a href="#demo">Link to a demo</a> <div id="demo"> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p> </div>
Может быть есть какой то другое решение, или готовый плагин
Просмотр 4 ответов — с 1 по 4 (всего 4)
Просмотр 4 ответов — с 1 по 4 (всего 4)
- Тема «Как сделать якорь с подсветкой при переходе» закрыта для новых ответов.