Когда в окне index.php:
Когда в модальном окне перед его открытием:
Когда находится в уже открытом модальном окне:
open Chart
// Draw a line between two elements
function drawLine(e1, e2) {
var line = new LeaderLine(
e1,
e2,
);
line.setOptions({startSocket: 'right', endSocket: 'bottom'});
line.color = '#999';
line.startPlug = 'behind';
line.endPlug = 'behind';
line.path = 'grid';
line.size = 1;
}
drawLine (
document.getElementById('role-text-1.1'),
document.getElementById('role-text-1.2')
);
drawLine (
document.getElementById('role-text-2.1'),
document.getElementById('role-text-2.2')
);
// Modal window charts-modal.php
Modal title
Contain
Type
Subcategory
4
01
- TypeProcessors
Type nameProcessors - Type code4
[*]SubcategoryGPU line
- Subcategory nameGPU line
- Subcategory code01
Close
Understood
Подробнее здесь: https://stackoverflow.com/questions/793 ... dal-window