Welcome To Snipplr
Everyone's Recent Snippets Tagged layout
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This method draws a specified string to a Bitmap with the desired text width and text size.
0
1498
posted 10 years ago by cbruegg
Mixin sets element width without clogging your markup. Set layout width, number of columns and gutter width.
I use it to make sites responsive when if don't need to change the amount of columns.
eg. 1218px, 978px and 768px grids.
Usage:
Full...
0
880
posted 11 years ago by adambuczek
The relative "em" version of the fixed page layout of the Nexus core theme
0
847
posted 12 years ago by vanseijen
Snippet for getting the layout handles in Magento on each request, helpful for front-end developers.
1
943
posted 12 years ago by zoranmk
Snippet for logging down all of the layout updates loaded on each request in Magento.
1
974
posted 12 years ago by zoranmk
This bit of jquery will take whatever you give it in the selector (which should be a valid jquery selector of any kind) and add or remove additional classas as appropriate based on width.
The width and style names are all determined by the last i...
0
885
posted 13 years ago by FatFolderDesigner
Simple grid layout technique in actionscript 3. Check out the demo and more details at http://adamcoulombe.info/lab/as3/gridlayout.html
3
1146
posted 14 years ago by adamcoulombe
Use this to disable view and layout in Zend Framework controller action
2
937
posted 14 years ago by jdstraughan
ActionScript 3
Detecting when text has run into the end of the ContainerController in a TextFlow object
This snippet shows how you can detect when a FlowElement that has been added to a TextFlow object (Text Layout Framework) has run to the end of the container that is flowing into. You may have linked containers that you are flowing a load of lorem ip...
0
1152
posted 14 years ago by LeeProbert
ActionScript 3
Detecting when text has run into the end of the ContainerController in a TextFlow object
This snippet shows how you can detect when a FlowElement that has been added to a TextFlow object (Text Layout Framework) has run to the end of the container that is flowing into. You may have linked containers that you are flowing a load of lorem ip...
0
1162
posted 14 years ago by LeeProbert
The FontsManager class has embedded fonts in it. This is not a TLF class.
0
900
posted 14 years ago by LeeProbert