I would love for this feature to be implemented, I need it for a few of my projects.
What does it mean?
It means that it would be even easier to make responsive websites.
Lets say I have a button I want to move…
if($w('#myText').text.length > 59 && $w('#myText').text.length < 71) {
$w('#myButton').xAxis = $w('#myText').xAxis +
$w('#myText').eWidth + 10 + 'px';
/*
in this xAxis would be the x position of the element
in this eWidth would be the element width
*/
} else if ($w('#myText').text.length > 39 && $w('#myText').text.length < 51) {
$w('#myButton').xAxis = $w('#myText').xAxis + $w('#myText').eWidth + 5 + 'px';
} else {
$w('#myButton').yAxis = $w('#myText').yAxis + $w('myText').eHeight + 20 + 'px';
/*
in this yAxis would be the y position of the element
in this eHeight would be the element height
*/
}
So it would basically be
The ability to get any elements x & y axis through Corvid.
The ability to set any elements x & y axis through Corvid.
The ability to get any elements width & height through Corvid.
The ability to set any elements width & height through Corvid.
@deleteduser got you now. You mean to set element position.
It’s a variation of this request:
https://www.wix.com/corvid/forum/community-feature-request/set-and-get-element-position
and it’s so elementary and so important.
@jonatandor35 ik,r. One of the sites I’m working on is going to have to have some features made in an iframe unless this is released soon.