Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4
You mean: to store resizable frames after user have modify them? It was not design for that... but with javascript, you can get the dimensions and store them for reuse on a non resizable frames set ( and/or convert them if you want, ie: percentage ): in this case, the saving built-in function to get real element sizes is: window.getComputedStyle(elementHTML); which return a CSSStyleDeclaration object that can be read access like the 'style' attribut of Html elements: var e = document.getElementbyId('someId'); var s = window.getComputedStyle(e); var c = s.color; var b = s.backgroundColor; var m = s.marginTop; ... and so on.
13th Jan 2017, 6:53 AM
visph
visph - avatar