Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
demo: http://www.adamcoulombe.info/lab/as3/360-spin-hover.html
FLA: http://www.adamcoulombe.info/lab/as3/360-spin-hover.fla
requires tweenlite
1
2902
posted 16 years ago by adamcoulombe
Spotlight Navigation effect using AS3 and Tweenlite
Demo: http://www.adamcoulombe.info/lab/as3/spots_test.html
FLA: http://www.adamcoulombe.info/lab/as3/spots_test.fla
2
2895
posted 16 years ago by adamcoulombe
Regular menu item adding current class if current url equal menu item destination.
1
2174
posted 16 years ago by smoothdzion
I needed to make menu items that kept the current class based on the controller being accessed.
1
1877
posted 16 years ago by smoothdzion
I needed to copy the value of one field to a couple of others in case users decided to forget to fill them out. Using jQuery and added it to a helper because I was using in multiple places. Created variables to make it more readable.
1
1916
posted 16 years ago by smoothdzion
This sinpet is extracted from a post of "Undefined Value", Kris Johnson's Blog.
2
4378
posted 16 years ago by funkypanda
An important thing to keep in mind about adding groups is that you add groups to site collections and not webs. To do this, we access the SiteGroups collection rather than the Groups collection.
In order to assign permissions, each group you add n...
0
2270
posted 16 years ago by blackf0rk
This is the standard template to use in your header.php (WordPress).
2
4045
posted 16 years ago by SilverFirefly
Put this at the top of your CodeIgniter models, controllers, libraries and helpers to restrict direct access to them.
1
3006
posted 16 years ago by AzizLight
Before:
`
Array
(
[0] => Array
(
[total_sessions] => 24
[study_type_id] => 1
)
[1] => Array
(
[total_sessions] => 24
[study_type_id] => 2
)...
0
1732
posted 16 years ago by iloveitaly
This class uses static methods to create html controls on the fly in .NET
2
2241
posted 16 years ago by mpcircuitry
This will delete all items in a SharePoint list. Better than looping through a SPListItemCollection and doing a .delete();
0
2396
posted 16 years ago by blackf0rk
This is the first version of my PHP DB connection class using ODBC
0
2343
posted 16 years ago by mpcircuitry