[rz] Layer Sizes Boundaries *** UPD 2015-Jan-14 ***

In this section you can announce self-made paid extensions.
*** THIS SECTION CONTAINS PAID EXTENSIONS ONLY ***
Post Reply
User avatar
[RZ]
 
 
Posts: 2165
Joined: Tue Nov 04, 2008 12:08 pm

[rz] Layer Sizes Boundaries *** UPD 2015-Jan-14 ***

Post by [RZ] » Sun Jul 06, 2014 5:52 pm

[rz] Layer Sizes Boundaries - v1.0.1.1

The most reliable and lightweight cross-browser, cross-platform and backward-compatible solution to have minimum and maximum position and sizes for resizable layers.
This extension replaces and extends virtual properties to a resizable layer: min-top, min-left, min-width, min-height, max-top, max-left, max-width and max height.


DEMO


HTML 4.01 Transitional
W3C compliant


* New in version 1.0.1.1:

- Fixed an implementation bug in Firefox, Chrome and Opera browsers.

* New in version 1.0.1:

- Added RWD support.
- Supports custom breakpoints for the eight virtual/extended properties (min-* and max-* values).
- Improved round/fix size; sporadic 1px gap in IE.


How to use?

1. Design a layer as you usually do. It is assumed that at least it has a relative position and/or relative size.
2. Drag and drop this extension and open its properties dialog.
3. Enter the layer id; if you need to handle more than one layer with the same boundaries, just enter each id separated by commas (i.e. Layer1 or Layer1, Layer2, Layer3). For different min/max positions and/or min/max sizes, you can add as many instances as you need in the same page.
4. Publish or preview.
5. Enjoy!

* Resize your browser to see it in action!
Last edited by [RZ] on Thu Jan 15, 2015 8:45 am, edited 1 time in total.

User avatar
[RZ]
 
 
Posts: 2165
Joined: Tue Nov 04, 2008 12:08 pm

Re: [rz] Layer Sizes Boundaries *** UPD 2014-Nov-11 ***

Post by [RZ] » Tue Nov 11, 2014 3:50 pm

UPGRADE AVAILABLE:

* New in version 1.0.1:

- Added RWD support.
- Supports custom breakpoints for the eight virtual/extended properties (min-* and max-* values).
- Improved round/fix size; sporadic 1px gap in IE.

sailorspy
 
 
Posts: 12
Joined: Tue May 12, 2009 3:42 pm

Re: [rz] Layer Sizes Boundaries *** UPD 2014-Nov-11 ***

Post by sailorspy » Tue Dec 02, 2014 7:22 am

I cannot get this extension to function correctly. When I put a value for min-width and leave the rest unchanged the layer becomes ENORMOUS. See
http://www.wiggleroomstuff.co.uk/layer_ ... _test.html Scroll down to see second layer.

User avatar
[RZ]
 
 
Posts: 2165
Joined: Tue Nov 04, 2008 12:08 pm

Re: [rz] Layer Sizes Boundaries *** UPD 2014-Nov-11 ***

Post by [RZ] » Tue Dec 02, 2014 9:21 am

you asked the extension to reserve a minimum of 1000px width
the extension behavior is correct

User avatar
[RZ]
 
 
Posts: 2165
Joined: Tue Nov 04, 2008 12:08 pm

Re: [rz] Layer Sizes Boundaries *** UPD 2015-Jan-14 ***

Post by [RZ] » Thu Jan 15, 2015 8:45 am

* New in version 1.0.1.1:

- Fixed an implementation bug in Firefox, Chrome and Opera browsers.

Post Reply