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 
        
        
            3122 
        
                    posted 11 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 
        
        
            3130 
        
                    posted 12 years ago by adambuczek
            The relative "em" version of the fixed page layout of the Nexus core theme
        
        
        
            0 
        
        
            2221 
        
                    posted 13 years ago by vanseijen
            Snippet for getting the layout handles in Magento on each request, helpful for front-end developers.
        
        
        
            1 
        
        
            2413 
        
                    posted 13 years ago by zoranmk
            Snippet for logging down all of the layout updates loaded on each request in Magento.
        
        
        
            1 
        
        
            2475 
        
                    posted 13 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 
        
        
            2343 
        
                    posted 14 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 
        
        
            2545 
        
                    posted 15 years ago by adamcoulombe
            Use this to disable view and layout in Zend Framework controller action
        
        
        
            2 
        
        
            2405 
        
                    posted 15 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 
        
        
            2721 
        
                    posted 15 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 
        
        
            2789 
        
                    posted 15 years ago by LeeProbert
            The FontsManager class has embedded fonts in it. This is not a TLF class.
        
        
        
            0 
        
        
            2296 
        
                    posted 15 years ago by LeeProbert
            
