Answer the question
In order to leave comments, you need to log in
Automatic folder scale?
Hello!
My question is: how can I set it by default so that when a new folder is opened on the desktop, it does not open in this format,
but in the same format as all folders open if I first click on the Finder and follow the path to this folder? (I will explain - in the second screenshot, my folder size is much larger, and it is much wider than the previous one)
Answer the question
In order to leave comments, you need to log in
We make the picture in svg. After changing the data in the form, we launch a js function that performs calculations (only you know at what values what changes) and adds panels or paints them, whatever you need.
<select name='house_type'>
<option value='0'>каркасный</option>
....
</select>
<input name='square'>
<div id='battery'> // Батарея из трёх секций
<img id='hot' src='hot_section.png'>
<img id='hot' src='hot_section.png'>
<img id='hot' src='hot_section.png'>
<img id='cold' src='cold_section.png'>
<img id='cold' src='cold_section.png'>
<img id='cold' src='cold_section.png'>
</div>
$( '[name=house_type], [name=square]' ).on( 'change', function() {
var p = calcPower( $( '[name=house_type]' ).value, $( '[name=square]' ).value ) // Вычисление количества включённых секций
showPowerLevel( p );
});
function showPowerLevel( p ) {
$( '#hot:lt( '+p+' )' ).show();
$( '#hot:gt( '+p+'-1 )' ).hide();
$( '#cold:lt( '+p+' )' ).hide();
$( '#cold:gt( '+p+'-1 )' ).show();
}
showPowerLevel( 0 );
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question