Welcome To Snipplr
Everyone's Recent Snippets
- 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
2785
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
2759
posted 16 years ago by adamcoulombe
Regular menu item adding current class if current url equal menu item destination.
1
2083
posted 16 years ago by smoothdzion
I needed to make menu items that kept the current class based on the controller being accessed.
1
1772
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
1823
posted 16 years ago by smoothdzion
This sinpet is extracted from a post of "Undefined Value", Kris Johnson's Blog.
2
4262
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
2170
posted 16 years ago by blackf0rk
This is the standard template to use in your header.php (WordPress).
2
3927
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
2879
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
1640
posted 16 years ago by iloveitaly
This class uses static methods to create html controls on the fly in .NET
2
2155
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
2260
posted 16 years ago by blackf0rk