The Montoya Herald — ChristianMontoya.com
Last Sunday I decided to finally take Construct to version 0.5 with some long-awaited features. It now supports:
It also has some small fixes and improvements, most importantly:
These changes required some major updates to the Construct code. For example:
$('#construct .container.selected').prev(); // ... $('#construct .container.selected').next();
Had to become:
$('#construct .container.selected').prevAll('.container').slice($(this).length - 1, 1); // ... $('#construct .container.selected').nextAll('.container').slice(0,1);
And I'm not sure if that's because there's a bug in jQuery or that's just the intended way.
var tagName = el.nodeName.toLowerCase(); // tag name! if( tagName == 'hr' ) { markup += tabToDepth() + "<" + tagName + "> <br>"; return markup; } else if( tagName == 'p' ) { parseDepth += 2; markup += tabToDepth() + "<" + tagName + ">Lorem Ipsum...</" + tagName + "> <br>"; parseDepth -= 2; return markup; }
I'll have some screenshots and maybe a fresh tutorial up soon, but make sure to check version 0.5 out. Also, I think it's worth mentioning that with what I did on Sunday, it's apparent that I can achieve a lot more in terms of allowing users to add their own sample content to the layout as well as allowing them to customize more things, such as colors and background images, as well as content styles. More than ever before, I can see the potential for a completely semantic, clean, standards-based layout editor built on top of Blueprint and jQuery, with a very minimal amount of code. It's cool stuff.
If anyone has any ideas for what I can do to reach more people with this project and make it better as well, do share.
Very nice tool Christian, and one i'll definitely be using in the near future. Just one small question. For a column to align only to the right, do i have to hard edit the generated css / html file? Because i couldn't find any option of aligning the comments.
Prof: What Construct produces is what Blueprint's grid provides. Columns are all floated left, with the last one have class "last" to flush with the right side of the container. You can toggle that class on any column with L, but floating right or source ordering or any of that stuff is not available.