Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1903
posted 13 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
3339
posted 13 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
4613
posted 13 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
2074
posted 13 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
3219
posted 13 years ago by apphp-snippets
These 2 techniques can be used for alternating row-colors in a table.
0
3132
posted 13 years ago by apphp-snippets
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
2004
posted 13 years ago by rickahontas
Ektron smartform data contains a xml nodelist which I put in a data table and parse out into an html table
0
3404
posted 13 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
3213
posted 13 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
2376
posted 13 years ago by edwinet
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
3037
posted 13 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
2454
posted 13 years ago by apphp-snippets
This solution is based on Mozilla specific CSS extension. Other browsers will ignore this rule.
0
1979
posted 13 years ago by apphp-snippets
This snippet is a lambda function (anonymous function) to create an xml from an array. It uses recursiveness.
1
3311
posted 13 years ago by abrahamsustaita
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
1825
posted 13 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
1952
posted 13 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
1954
posted 13 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
2419
posted 13 years ago by apphp-snippets
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
2119
posted 13 years ago by Internet-Uzver
To solve an issue for a blog main page in wordpress to display the latest post in its entirety and the remaining posts only the excerpt.
1
1775
posted 13 years ago by rickahontas
A simple widget for displaying a single post in a dynamic sidebar. Originally developed to accommodate a WP user who wanted full control of which posts were displayed and what order they were on a certain page.
0
1929
posted 13 years ago by chasecrawford
Gets "src" attributes from all "img" tags in RSS entries descriptions
0
4321
posted 13 years ago by alces