a.oninput = function(){
b.value = this.value
}
b.oninput = function(){
a.value = this.value
}
https://jsfiddle.net/ncwd08bu/ чтобы просто открыть эти несколько тысяч страниц в браузере - нужно несколько сотен компьютеров.10 вкладок на компьютер, серьезно?
use Zend\Dom\Query;
$dom = new Query($html);
$nodes = $dom->execute('div.issue');
foreach ($nodes as $node) {
// $node is a DOMElement http://php.net/manual/ru/class.domelement.php
echo $node->C14N();
}
function Охранник() {
this.name = "Штирлиц";
this.password = "У вас продается славянский шкаф?";
}
Охранник.prototype.проверяй = function(name, password) {
return this.name == name && this.password == password;
};
let Василий = new Охранник()
Василий.проверяй('Штирлиц', 'У вас продается славянский шкаф?')
let waveform = '0000000000000000022222044440111110oooo0vvvvv0ffff011111000000000000000000dddd0ccccc0dddd0aaaaa099990aaaaa0aaaaa088880eeeee0eeee01111103333033333066666077770111110000000000000000000000000000'
var canvas = document.createElement('canvas')
document.body.appendChild(canvas)
var ctx = canvas.getContext('2d')
waveform.split('').forEach((item, i) => {
let height = parseInt(item, 32)+1
ctx.fillRect(i*5, 70-height, 3, height);
})
absolute
Do not leave space for the element. Instead, position it at a specified position relative to its closest positioned ancestor if any, or otherwise relative to the initial containing block. Absolutely positioned boxes can have margins, and they do not collapse with any other margins.