Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
The Controller class handles user gestures through navigation logic and updates the Model.
0
1679
posted 16 years ago by derrekwayne
The singleton model extends EventDispatcher and fires events when it is updated by the controller.
0
1953
posted 16 years ago by derrekwayne
The Main class uses the MCV design pattern. The entire flash embed responds to mouseover with the engage function.
0
1465
posted 16 years ago by derrekwayne
Allows you to still view PHP parse errors, even if you don't have write access to your php.ini file. Since PHP pages are parsed before being executed, parse errors won't show up even if you turn on display_errors in the page you are checking.
2
1721
posted 16 years ago by Moridin
It's fun to read what I wrote ages ago. An ORM that was heavily influenced (or should I say misguided) by CakePHP, lol.
2
1973
posted 16 years ago by fredwu
A small plugin that you can use in the jQuery chain to delay the next in queue. For those using a jQuery library pre 1.4 (v1.4 + has .delay() ).
$('.notice').fadeIn().idle(2000).fadeOut('slow');
0
1671
posted 16 years ago by Meander365
<p>Add this line to "functions.php" in your theme directory to remove RSS feeds specific to categories. The primary blog RSS feed will still be accessible. </p><p>Taken from a post by Hollywood grind on the Wordpress.org forums.</p>
0
1838
posted 16 years ago by rgsmith007
Meta Tags to Config your Web site for iPhone, iPod Touch, and iPad users
1
1804
posted 16 years ago by siyingui
This may be necessary to properly add theme support for multiple menus.
0
1902
posted 16 years ago by Jamie
Using the CssRegistration control is the proper way to register CSS in a SharePoint master page/layout page, but it has drawbacks. Namely, no matter what order you put them on the page the server loads them in a seemingly arbitrary order, making it...
2
2115
posted 16 years ago by rumremix
<asp:ScriptManager> must be placed inside a form tag with runat=server, that is, beneath
<form>
0
1944
posted 16 years ago by rumremix
To exclude pages from wordpress search results include the following in your theme's functions.php
0
1515
posted 16 years ago by myke
Placing this in a .htaccess file in a sub folder you disable password security for this folder.
2
2948
posted 16 years ago by arnekolja
Almost all Magento Models have a corresponding Collection object that can be used to fetch multiple instances of a Model
0
1655
posted 16 years ago by dmistriotis