Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

init #3

wants to merge 2 commits into from

Conversation

sameoldmadness
Copy link

No description provided.


## Решения

* [Pure CSS](http://jsfiddle.net/sameoldmadness/PyhZK/)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Посмотри это решение в Firefox.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Смотрел. В коде есть ссылка на статью автора метода, где эта проблема упоминается.

Именно поэтому ниже — решения на js.

А вообще, вариант принуждения пользователей к хрому тоже стоит рассматривать. Например, это табло может быть частью корпоративного приложения.

Copy link
Contributor

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 () {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Этот код возможно оптимизировать)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Я ответил, посмотри последний outdated diff. Вкратце: не стоит овчинка выделки.

Или ты про какую-то другую оптимизацию? For могу на foreach заменить, меньше буков будет.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants