Jump to content

Gorobez

Newbie
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Gorobez

  1. Я не могу понять как это происходит? $('UL #id_test A').each(function () { var re = new RegExp('^' + this.href); if(re.test(document.location.pathname)) { this.parentNode.className = "current"; } });
  2. Зачем value="" ? Это если нужна надпись - мне она не нужна. У меня надпись на картинке. Разобрался....
  3. Как убрать надпись "отправить запрос", на кнопке(исп. картинку)? <input type="submit"> Если поставить type="button" надпись убирается но данные в форму не отправляются...
  4. есть список вида <ul id="id_test"> <li><a href="http://test.ru/blog/link1.html">link1</a> <li><a href="http://test.ru/blog/link2.html">link2</a> <li><a href="http://test.ru/blog/link2.html">link3</a> </ul> .current a{ color: red; } как на js сделать подсветку активной ссылки?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy