Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This example will display the full content of the five most recent posts, and just the headlines from the five before that.
1
2075
posted 15 years ago by kwilson
This allows you to get contents of any div with ID tag.
$matches[0] returns with parent div tag
$matches[1] returns with out parent div tag
1
3110
posted 15 years ago by Gustavs
long htaccess expired header for all files except for server side scripts
2
1087
posted 15 years ago by dennyhalim
Proje güncellemeden önce güncelleme dosyalarının aranması için filtre, modify date olarak tarihinde verilmesi gerekiyor.
0
845
posted 15 years ago by tenkyu
Rather simple profiler for > php5, if you want to find out where the heck those 0.5 sec function time goes into
0
649
posted 15 years ago by birdspider
This used to be code adapted from Z'Oc, but I decided to start again and write it fresh with WP_Query instead of get_posts.
3
903
posted 15 years ago by kristarella
I made an absolute tinny code to find the highest z-index of absolute DIV
to show my shouting box and to make it appear absolutely at the top of all html elements.
I used selector of â€body > *‘ instead of ‘body *‘.
â€body > *‘ means...
2
1246
posted 15 years ago by adnan
For a client I needed a bit of code that could split one file (html, editable through wysiwyg editor) to multiple files, since all files would by default become very long. This code splits one file by the <h1> tag. Easy for end-users to set. Use CSS...
0
1008
posted 15 years ago by axtg
this codings display welcome message , curent date and greetings
0
628
posted 15 years ago by beamconsultancy
Change Text Highlight Color |
Prevent Firefox Scrollbar Jump |
Print Page Breaks |
Attribute-Specific Icons |
CSS Pointer Cursors |
Prevent Safari Resizeable Text areas
2
736
posted 15 years ago by benjaminpearson