Welcome To Snipplr


Everyone's Recent Snippets



1 ... 28 29 30 31 32 ... 558
add to functions.php
1 395 posted 8 years ago by gabbo
This method draws a specified string to a Bitmap with the desired text width and text size.
0 965 posted 8 years ago by cbruegg
Use to control inline or block questions at different media query breakpoints.
0 504 posted 8 years ago by eklemen
2 option for onIconSelect
0 572 posted 8 years ago by uthopiko
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 826 posted 8 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 538 posted 8 years ago by asalgan
Slides in a banner-header after some pixels of scrolling.
0 433 posted 8 years ago by mountbatt
To be improved to work with fasterCSV
0 714 posted 8 years ago by legrandkay
Prints all $_Server variables to table
0 539 posted 8 years ago by kidmizere
Text for functions.php
1 437 posted 8 years ago by gabbo
A quick demonstration of fading an element in over a set time by starting opacity at 0 and incrementing it + .1 over time.
0 550 posted 8 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 802 posted 8 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 583 posted 9 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 555 posted 9 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 488 posted 9 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 699 posted 9 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 607 posted 9 years ago by apphp-snippets
Validating phone number using jquery
0 844 posted 9 years ago by satinfo30
To get button with line breaks you can use carriage return characters to break the line: &#x00A; or just <br> with a <button> tag:
0 952 posted 9 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 1454 posted 9 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 524 posted 9 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 593 posted 9 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 648 posted 9 years ago by rondog
This uses the timthumb script saved as sized.php in the theme directory
1 484 posted 9 years ago by bitsculptor
the HTML for my tutorial on using requireJS
0 481 posted 9 years ago by asimmittal
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 991 posted 9 years ago by eklemen
This script is a custom module to copy one field to another.
0 575 posted 9 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 1094 posted 9 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 3064 posted 9 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 570 posted 9 years ago by apphp-snippets
1 ... 28 29 30 31 32 ... 558