let coords = {
x1: line.offset().left,
y1: Math.abs(line.offset().top - wHeight)
};
let coords = {
x1: 10,
y1: wHeight / 2
};
function initBlock(name) {
$("#" + name + "__btn").on("click", function() {
var Ups = parseInt($("#" + name + "__val").val());
var Val = parseInt($("#" + name + "__record").html());
var Max = $("#" + name + "__record");
if (Ups >= Val) {
$(Max).html(Ups);
}
});
}
initBlock("one");
initBlock("two");
var containerEl = document.querySelector('.project__bloks');
var mixer = mixitup(containerEl);
$('.project__nav-item').on('click', function(event) {
if ( parseFloat( $('.project__bloks').css('height') ) > 810 ) {
console.log('lol');
}
console.log( $('.project__bloks').css('height') );
setTimeout(() => console.log( $('.project__bloks').css('height') ), 2000); // <= вот эту строчку
});
max-height: 600px; overflow: hidden;
и при клике на кнопку убирать этот стиль. Что-то другое будет слишком сложным. ExifTool Version Number : 11.10
File Name : keerthi.b283324e.jpg
Directory : .
File Size : 34 kB
File Modification Date/Time : 2018:09:20 07:23:31+05:00
File Access Date/Time : 2018:09:20 07:36:39+05:00
File Creation Date/Time : 2018:09:20 07:36:39+05:00
File Permissions : rw-rw-rw-
File Type : JPEG
File Type Extension : jpg
MIME Type : image/jpeg
JFIF Version : 1.01
Resolution Unit : None
X Resolution : 300
Y Resolution : 300
Image Width : 337
Image Height : 337
Encoding Process : Progressive DCT, Huffman coding
Bits Per Sample : 8
Color Components : 3
Y Cb Cr Sub Sampling : YCbCr4:4:0 (1 2)
Image Size : 337x337
Megapixels : 0.114
exiftool.exe -verbose keerthi.b283324e.jpg
ExifToolVersion = 11.10
FileName = keerthi.b283324e.jpg
Directory = .
FileSize = 34312
FileModifyDate = 1537410211.50311
FileAccessDate = 1537410999.40376
FileCreateDate = 1537410999.40376
FilePermissions = 33206
FileType = JPEG
FileTypeExtension = JPG
MIMEType = image/jpeg
JPEG APP0 (14 bytes):
+ [BinaryData directory, 9 bytes]
| JFIFVersion = 1 1
| ResolutionUnit = 0
| XResolution = 300
| YResolution = 300
| ThumbnailWidth = 0
| ThumbnailHeight = 0
JPEG DQT (130 bytes):
JPEG SOF2 (15 bytes):
ImageWidth = 337
ImageHeight = 337
EncodingProcess = 2
BitsPerSample = 8
ColorComponents = 3
JPEG DHT (27 bytes):
JPEG SOS
{ extended: false,
progressive: true,
precision: 8,
scanLines: 337,
samplesPerLine: 337,
components:
{ '1':
{ h: 1,
v: 2,
quantizationIdx: 0,
blocksPerLine: 43,
blocksPerColumn: 43,
blocks: [Array] },
'2':
{ h: 1,
v: 1,
quantizationIdx: 1,
blocksPerLine: 43,
blocksPerColumn: 22,
blocks: [Array] },
'3':
{ h: 1,
v: 1,
quantizationIdx: 1,
blocksPerLine: 43,
blocksPerColumn: 22,
blocks: [Array] } },
componentsOrder: [ 1, 2, 3 ],
maxH: 1,
maxV: 2,
mcusPerLine: 43,
mcusPerColumn: 22 }
quantizationTable Int32Array [ 3, 2, 2, 3, 4, 6, 8, 10, 2, 2, 2, 3, 4, 9, 10, 9, 2, 2, 3, 4, 6, 9, 11, 9, 2, 3, 4, 5, 8, 14, 13, 10, 3, 4, 6, 9, 11, 17, 16, 12, 4, 6, 9, 10, 13, 17, 18, 15, 8, 10, 12, 14, 16, 19, 19, 16, 12, 15, 15, 16, 18, 16, 16, 16 ]
{ width: 337,
height: 337,
jfif:
{ version: { major: 1, minor: 1 },
densityUnits: 0,
xDensity: 300,
yDensity: 300,
thumbWidth: 0,
thumbHeight: 0,
thumbData: Uint8Array [ ] },
adobe: null,
components:
[ { lines: [Array], scaleX: 1, scaleY: 1 },
{ lines: [Array], scaleX: 1, scaleY: 0.5 },
{ lines: [Array], scaleX: 1, scaleY: 0.5 } ] }
<h2>Example 1: Embedded data</h2>
<svg id="example1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<image x="0" y="0" width="5" height="5" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="/>
</svg>
<h2>Example 2: Remote image</h2>
<svg id="example2" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<image x="0" y="0" width="275" height="95" xlink:href="http://www.google.co.uk/images/srpr/logo3w.png" />
</svg>
<h2>Example 3: Local image</h2>
<svg id="example3" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<image x="0" y="0" width="136" height="23" xlink:href="/img/logo.png" />
</svg>
<svg width="700" height="660">
<defs>
<pattern id="image" x="0" y="0" patternUnits="userSpaceOnUse" height="1" width="1">
<image x="0" y="0" xlink:href="url.png"></image>
</pattern>
</defs>
<circle id='top' cx="180" cy="120" r="80" fill="url(#image)"/>
</svg>