Welcome To Snipplr
Everyone's Recent Snippets
- 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
1697
posted 11 years ago by cbruegg
Use to control inline or block questions at different media query breakpoints.
0
1027
posted 11 years ago by eklemen
This technical tip shows how developers can split worksheets of an Excel workbook to a separate workbook, TIFF, PNG or any supported image format in the cloud. This example allows you to split all or specific worksheets of a workbook file and save ea...
0
1567
posted 11 years ago by johansonkatherine
I had a spreadsheet with a ton of data on it that I wanted in my seeds file. Using example columns in your database titled db_column1, db_column2, db_column3. Place your .xls file into your public folder and run 'gem install roo'
0
998
posted 11 years ago by asalgan
A quick demonstration of fading an element in over a set time by starting opacity at 0 and incrementing it + .1 over time.
0
969
posted 11 years ago by winthropite
Mail merge allows you to produce document (potentially large numbers of documents) from a single template and a structured data source. The letter may be sent out to many recipients with small changes, such as a change of address or a change in the g...
0
1517
posted 11 years ago by johansonkatherine
This example shows you how to remove file extension from URLs using .htaccess file directives. Remember, that "mod_rewrite" works only on Apache server. Before trying please be sure that you are working on Apache server and the "mod_rewrite" module/e...
0
1124
posted 11 years ago by apphp-snippets
We know that normally index.html or index.php is the default page for many servers, when visitor types a directory without specifying a file name. You can change this rule with .htaccess:
0
1093
posted 11 years ago by apphp-snippets
This Effect is Mostly Created with Combination of Javascript and Css
By the Below CSS Code Create Same Effect without javascript
For Live Demo visit http://extremecss.blogspot.in/2014/01/awesome-image-hover-effect-using-pure.html
0
951
posted 11 years ago by marutichintan
MySQL has a handy and simple string function REPLACE() that allows table data with the matching string to be replaced by new string. This is useful if there is need to search and replace a text string which affects many records or rows, such as chang...
0
1303
posted 11 years ago by apphp-snippets
This is a very simple snippet about how to create a database 1st, a user and then assign some privileges to the user to allow him/her to perform some specific actions like insert, create, update, select etc.
0
1153
posted 11 years ago by apphp-snippets
To get button with line breaks you can use carriage return characters to break the line: 
 or just <br> with a <button> tag:
0
1624
posted 11 years ago by apphp-snippets
The <!--> syntax is the HTML comment. This is the way to add your own notes into the code which will not display when the HTML is rendered by the browser. It is also a good practice for web-developers to use the comment tags to "hide" scripts from br...
0
3987
posted 11 years ago by apphp-snippets
This example shows you how to create custom tooltips, using just a pure CSS. In this examples we use "transform" feature of the CSS3 and some other tricks. Also you may find additional tooltip class provided, to show you the way you may customize thi...
0
949
posted 11 years ago by apphp-snippets
This solution will help you to prevent many issues with your site, when you need to prevent long URL's from breaking out of container.
0
1082
posted 11 years ago by apphp-snippets
- I have not tested on android
- This is not animated as I did not need it for my needs. To make it animated, look at the second to last line in the function `layer3.transform = Ti.UI.create2DMatrix().rotate(angle);` You should be able to animate th...
0
1224
posted 11 years ago by rondog
This uses the timthumb script saved as sized.php in the theme directory
1
969
posted 11 years ago by bitsculptor
Javascript to open a URL in a new window without triggering a browser's pop-up blocker. (May not work in callbacks, but not sure why.)
1
1563
posted 11 years ago by eklemen
This script is a custom module to copy one field to another.
0
1082
posted 11 years ago by DesignGoggles
This technical tip shows how .NET developers can export Microsoft Visio diagram to XML inside their own applications using Aspose.Diagram for .NET. Aspose.Diagram for .NET lets you export diagrams to a variety of formats: image formats, HTML, SVG, SW...
0
1842
posted 11 years ago by johansonkatherine
Sometimes you need the page dynamically changes a texbox with a dropdown box. On the example below we show you how to perform this work. The first way demonstrates how to do this with remove() and append() jQuery methods and the second shows how to p...
1
5324
posted 11 years ago by apphp-snippets
Class member encapsulation in JavaScript is very important thing and may be implemented with easy. To define private property or method just use var before the definition or this., if you need to give a public access to property or method.
0
1114
posted 11 years ago by apphp-snippets
Función sql que devuelve una tabla. parametros ID, cadena, caracter_slit
0
925
posted 11 years ago by ironcrema