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
2839
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
2821
posted 16 years ago by adamcoulombe
Regular menu item adding current class if current url equal menu item destination.
1
2129
posted 16 years ago by smoothdzion
I needed to make menu items that kept the current class based on the controller being accessed.
1
1821
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
1864
posted 16 years ago by smoothdzion
This sinpet is extracted from a post of "Undefined Value", Kris Johnson's Blog.
2
4314
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
2221
posted 16 years ago by blackf0rk
This is the standard template to use in your header.php (WordPress).
2
3981
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
2946
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
1669
posted 16 years ago by iloveitaly
This class uses static methods to create html controls on the fly in .NET
2
2195
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
2314
posted 16 years ago by blackf0rk