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
2176
posted 16 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
3242
posted 16 years ago by Gustavs
long htaccess expired header for all files except for server side scripts
2
1179
posted 16 years ago by dennyhalim
Proje güncellemeden önce güncelleme dosyalarının aranması için filtre, modify date olarak tarihinde verilmesi gerekiyor.
0
933
posted 16 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
681
posted 16 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
984
posted 16 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
1340
posted 16 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
1096
posted 16 years ago by axtg
this codings display welcome message , curent date and greetings
0
702
posted 16 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
800
posted 16 years ago by benjaminpearson