-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
init #3
base: master
Are you sure you want to change the base?
init #3
Conversation
|
||
## Решения | ||
|
||
* [Pure CSS](http://jsfiddle.net/sameoldmadness/PyhZK/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Посмотри это решение в Firefox.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Смотрел. В коде есть ссылка на статью автора метода, где эта проблема упоминается.
Именно поэтому ниже — решения на js.
А вообще, вариант принуждения пользователей к хрому тоже стоит рассматривать. Например, это табло может быть частью корпоративного приложения.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не, допустим это сайт)
}; | ||
|
||
cells.forEach(function (cell) { | ||
cell.addEventListener('mouseover', function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Этот код возможно оптимизировать)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Я ответил, посмотри последний outdated diff. Вкратце: не стоит овчинка выделки.
Или ты про какую-то другую оптимизацию? For могу на foreach заменить, меньше буков будет.
No description provided.