Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Jaidee Framework is Graceful and powerful HTML & CSS Framework for building flexible and responsive website and mobile app development.
1
889
posted 11 years ago by kanin2604
Here the simplest way of selecting random rows from the MySQL database with using "ORDER BY RAND()" clause in the query.
0
1105
posted 11 years ago by apphp-snippets
http://www.codeproject.com/Articles/33052/Visual-Representation-of-SQL-Joins
0
754
posted 11 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
794
posted 11 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
1052
posted 11 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
1173
posted 11 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
961
posted 11 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
938
posted 11 years ago by apphp-snippets
These 2 techniques can be used for alternating row-colors in a table.
0
944
posted 11 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
876
posted 11 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
1075
posted 11 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
983
posted 11 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
1011
posted 11 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
883
posted 11 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
924
posted 11 years ago by apphp-snippets
This solution is based on Mozilla specific CSS extension. Other browsers will ignore this rule.
0
763
posted 11 years ago by apphp-snippets
This snippet is a lambda function (anonymous function) to create an xml from an array. It uses recursiveness.
1
1050
posted 11 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
746
posted 11 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
814
posted 11 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
753
posted 11 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
937
posted 11 years ago by apphp-snippets