Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
3616
posted 16 years ago by Gustavs
long htaccess expired header for all files except for server side scripts
2
1701
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
1194
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
835
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
1179
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
1577
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
1313
posted 16 years ago by axtg
this codings display welcome message , curent date and greetings
0
887
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
975
posted 16 years ago by benjaminpearson
Call with the path of any javascript you want to load into the HEAD of the ASPX page.
1
2853
posted 16 years ago by jink
Returns the postback sender ID. This is usually a button ID from a form that caused a post back.
0
1435
posted 16 years ago by jink