Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
here's the suckerfish dropdown menu for Joomla 1.5 that written by tbianco. It's extremely easy and here's what you need to do:
1) Create the main menu module and add a suffix to it of '_topmenu'. I use the underscore to so that the class name in...
4
2372
posted 17 years ago by jitendraweb
An example of how to write your own navigation with dynamic "active" classes.
3
2524
posted 17 years ago by kristarella
I currently have project_issue nodes set for replacement pattern issues/issue[nid] in Drupal 5.x PathAuto. This query fixes all of the URL aliases for entries created before this was set correctly.
0
1852
posted 17 years ago by tgbdad
This snippet assumes that you have a container `div` with an id of "images".
It also assumes that each img element inside your container div has the CSS property `visibility: hidden`
0
1462
posted 17 years ago by username
This snippet contains a text input field called 'abc' and we calling the checkNum function as the onclick action of a button 'btn'
0
2153
posted 17 years ago by juzerali
this will give you a lovely RSS.
Im sure you will need to edit the database stuff and row names
5
2551
posted 17 years ago by antpaw
A PHP function that correctly validates all parts of a given email address, according to RFCs 5322, 5321, 1123, 2396, 3696, 4291, 4343, 2821 & 2822. I’ve released it under a license that allows you to use it royalty-free in commercial or non-commer...
4
2965
posted 17 years ago by dominicsayers
Is.Gd is a URL-shortening service much like TinyURL. Using PHP’s cURL library, you can create shortened URLs on the fly with ease. “is.gd†is much shorter than “tinyurl.com†so if you need the URL to be as short as possible, use this method...
0
1995
posted 17 years ago by nerdsane
If reading email from a POP box with PHP, you can use this to strip out signatures (ones that are delimited with the proper '--' notation). It will only strip the last signature of an email, in case someone enters a '--' intentionally elsewhere.
0
1993
posted 17 years ago by DaveChild