Welcome To Snipplr


Everyone's Recent Snippets



1 ... 45 46 47 48 49 ... 553
Here the simplest way of selecting random rows from the MySQL database with using "ORDER BY RAND()" clause in the query.
0 3638 posted 12 years ago by apphp-snippets
Basic HTML template including jQuery and HTML5 Shiv
0 2604 posted 12 years ago by rickygri
http://www.codeproject.com/Articles/33052/Visual-Representation-of-SQL-Joins
0 1211 posted 12 years ago by hairajeshk
File inputs can have an attribute of "multiple" which then allows multiple files to be selected in the file section dialog box. Currently only Firefox 3.6+ and WebKit browsers are supporting it.
0 1280 posted 12 years ago by apphp-snippets
This example is a basic design structure for loading multiple video and audio formats for universal work of media content on your page.
1 2664 posted 12 years ago by apphp-snippets
This example is a basic HTML5 page structure that you can use for developing of your HTML5 website layout.
0 3767 posted 12 years ago by apphp-snippets
This definition allows redirection to the provided URL in 5 seconds. You may set it to 0 if you need an immediate redirect.
0 1448 posted 12 years ago by apphp-snippets
Using the same code in different browsers can be displayed in different ways. Resetting styles will help you to avoid such problems.
0 2496 posted 12 years ago by apphp-snippets
These 2 techniques can be used for alternating row-colors in a table.
0 2371 posted 12 years ago by apphp-snippets
Groovy - Freemind - getModeController()
0 3313 posted 12 years ago by laurenceosx
This is a combined version of Bill Erickson's hide post editor and rilwis' Metabox include for specific IDs. It hides the editor for a specified post ID. You can have multiple IDs, just separate with commas.
1 1331 posted 12 years ago by rickahontas
equal-height columns
0 1391 posted 12 years ago by thesmu
Ektron smartform data contains a xml nodelist which I put in a data table and parse out into an html table
0 2673 posted 12 years ago by dego89
The following code retrieves a list of content based on a taxonomy id. The list is bound to a repeater that display a preview of the content with a quick link to a content page. The content comes in based on the previous taxonomy id but exposes a con...
0 2468 posted 12 years ago by dego89
The sysprotects system table reports all of the permissions granted or denied in a given database. We'll need to join it with sysusers and sysobjects to get all the information we need. Here's an example query that only pulls information on objects (...
0 1577 posted 12 years ago by edwinet
don't forget to add jfxrt.jar to class path
0 2340 posted 12 years ago by alexedy
This snippet shows how to retrieve information from the SEO plugin of Yoast, to be used for front-end use. This snippet is taken from the opensource free Nexus WP framework supporting front-end editing, custom layout and drag & drop.
0 2350 posted 12 years ago by barkgj
Today with CSS3, you no longer need a background image for gradients. You can use CSS to add a gradient to the background of some elements on your page. For ex.: change the color hex values ("84c8d7" and "327fbd") to the gradient color you need.
1 1732 posted 12 years ago by apphp-snippets
This solution is based on Mozilla specific CSS extension. Other browsers will ignore this rule.
0 1291 posted 12 years ago by apphp-snippets
WordPress, IIS, Permalinks and index.php | Richard Shepherd
0 1351 posted 12 years ago by thesmu
Form Trick: Disappearing Text
0 1307 posted 12 years ago by thesmu
This snippet is a lambda function (anonymous function) to create an xml from an array. It uses recursiveness.
1 2572 posted 12 years ago by abrahamsustaita
To make a custom link to a downloadable File in Views
0 1387 posted 12 years ago by mktimes5
Reading xml from file and create XElement from string
0 2658 posted 12 years ago by samilce
Monster.com Clone v6.3.8 is a ready Job-Portal and the best clone of Monster.com. The script comes packed with tons of essential features.
0 1204 posted 12 years ago by iTechScripts
This can be used in casting shadows off block-level elements like divs, tables etc. (still not supported in IE7 and IE8). Parameters (from left to right): horizontal offset of the shadow, vertical offset of the shadow, blur radius (optional), spread...
1 1320 posted 12 years ago by apphp-snippets
Sometimes it's desirable to change a style of the first and/or last elements in a container. You can do this by manually applying classes to your HTML elements: ("last-child" still not supported in IE8).
0 1273 posted 12 years ago by apphp-snippets
This simple scripts show a possibility to call a JavaScript function that retrieves a variable passed from drop down box as a parameter and then the JavaScript redirects the browser to the variable that was passed to it.
0 1646 posted 12 years ago by apphp-snippets
Send array through ajax tools request to js
0 2550 posted 12 years ago by dosde
Disable (remove) some sidebars, or widgets at all in **Wordpress** on page template with suffix in the template name (*-no-widgets.php, *-no-sidebars.php)
1 1427 posted 12 years ago by Internet-Uzver
1 ... 45 46 47 48 49 ... 553