Файловый менеджер - Редактировать - /home2/cocinasdalloway/public_html/public/scripts/vendors/jqvmap/src/JQVMap/positionPins.js
Назад
JQVMap.prototype.positionPins = function(){ var map = this; var pins = this.container.find('.jqvmap-pin'); jQuery.each(pins, function(index, pinObj){ pinObj = jQuery(pinObj); var countryId = map.getCountryId(pinObj.attr('for').toLowerCase()); var countryObj = jQuery('#' + countryId); var bbox = document.getElementById(countryId).getBBox(); var position = countryObj.position(); var scale = map.scale; var left = position.left + (bbox.width / 2) * scale - pinObj.width() / 2, top = position.top + (bbox.height / 2) * scale - pinObj.height() / 2; pinObj.css('left', left).css('top', top); }); };
| ver. 1.4 |
Github
|
.
| PHP 8.2.22 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка