minor renovations, beautify round 2 (final)
This commit is contained in:
parent
fad6615c42
commit
8410ce6421
212 changed files with 1981 additions and 1717 deletions
|
@ -24,7 +24,7 @@ tooltip.innerHTML = "Подсказка";
|
|||
|
||||
// при "наведении на элемент" показать подсказку
|
||||
new HoverIntent({
|
||||
elem: elem,
|
||||
elem: elem,
|
||||
over: function() {
|
||||
tooltip.style.left = this.getBoundingClientRect().left + 'px';
|
||||
tooltip.style.top = this.getBoundingClientRect().bottom + 5 + 'px';
|
||||
|
|
|
@ -161,12 +161,12 @@
|
|||
|
||||
```js
|
||||
table.onmouseover = function(event) {
|
||||
var target = event.target;
|
||||
var target = event.target;
|
||||
target.style.background = 'pink';
|
||||
};
|
||||
|
||||
table.onmouseout = function(event) {
|
||||
var target = event.target;
|
||||
var target = event.target;
|
||||
target.style.background = '';
|
||||
};
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue