I
I
Ilya Rodionov2015-06-22 22:06:15
JavaScript
Ilya Rodionov, 2015-06-22 22:06:15

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, 77a81a8815614be8867f6ac2d56bbd8e.png
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)
5ec034fed9414d92a1dde071856959d7.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Maxim Timofeev, 2018-09-24
@webinar

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.

N
Nikolai Chuprik, 2018-09-24
@choupa

<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 );

S
silverjoe, 2015-06-23
@silverjoe

No way.
Is it possible to use third-party utilities, something like BetterSnapTool

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question