Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Using contrib's trace ns in order to debug functions in the REPL
0
1156
posted 15 years ago by narkisr
Ready for the addition of other country regions as needed.
0
1264
posted 15 years ago by johnandrewsroot
Con esto evitamos que un enlace que tengamos con 'href="#"' actue como tal y la pagina haga scroll hasta la parte superior.
0
782
posted 15 years ago by jacinmontava
Searches all array elements for a given substring. Returns an array of found key=>value pairs or false if not found.
0
1000
posted 15 years ago by lancemonotone
Use the l() in Drupal with an array('html' => TRUE) to get a linked image
0
808
posted 15 years ago by karmacode
Use the l() in Drupal with an array('html' => TRUE) to get a linked image
0
837
posted 15 years ago by karmacode
A little function I add to the base Page_Controller class that allows you to define what actions are explicitly SSL. It will put users in SSL when they access it and take them out of it when they navigate somewhere else. It is available in any cont...
0
658
posted 15 years ago by dalethedeveloper
Now that you have set up your ManyToManyField to use your intermediary model (Membership, in this case), you're ready to start creating some many-to-many relationships. You do this by creating instances of the intermediate model:
0
1149
posted 15 years ago by magicrebirth
Snippet provided by YomWeb.co.cc. YomWeb is a blog specially dedicated webmasters who are interested in coding, design and blogging. We are currently a new blog but have big plans for the blog. If you find any mistakes in our articles you can contact...
0
758
posted 15 years ago by yomweb
This snippet is provided to you by YomWeb.co.cc. YomWeb is a blog specially dedicated webmasters who are interested in coding, design and blogging. We are currently a new blog but have big plans for the blog. If you find any mistakes in our articles...
0
823
posted 15 years ago by yomweb
Run in the FireBug console, and copy the output. An odd class is included for row striping, and the number of items can be controlled via the for loop.
1
1014
posted 15 years ago by Jamie
This is the most simple example of a ComboBox created in AS3, based mostly on Adobe's example from http://help.adobe.com/en_US/ActionScript/3.0_UsingComponentsAS3/WS5b3ccc516d4fbf351e63e3d118a9c65b32-7fa9.html
Inside the zip file you will find two...
0
2040
posted 15 years ago by Winkyboy