На моей странице есть настройка меню, которая загружает элементы в iframe. Это пользовательские карты, которые заменяют карту Google по умолчанию. Мой вопрос: как мне сделать так, чтобы элемент меню, отображаемый в данный момент, оставался выделенным?
Мой CSS:
#right_col ul{
position: relative;
list-style: none;
top: -17px;
}
#right_col ul a{
text-decoration: none;
color: #000000;
display: block;
padding:10px 10px 10px 15px;
margin: 10px;
background: #eeeeee;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px; /* future proofing */
-khtml-border-radius: 10px; /* for old Konqueror browsers */
}
#right_col ul a:hover{
background: #e9b900;
text-decoration: none;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px; /* future proofing */
-khtml-border-radius: 10px; /* for old Konqueror browsers */
}
Подробнее здесь: https://stackoverflow.com/questions/198 ... ighlighted