Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 417 418 419 420 421 ... 552
This is a snippet to assign an active class to active links when the navigation is included in a php file.
1 1975 posted 17 years ago by grazz
This describes how to embed font in to Flex(mxml) file without using the <mx:style> tag (fully AS3).
1 2374 posted 17 years ago by shabith
Append html to a div tag (using System.Web.UI.HtmlControls)
1 2789 posted 17 years ago by hobeau
1 2276 posted 17 years ago by cobra90nj
0 1578 posted 17 years ago by resurge
I needed to clean up strings with an unpredictable number of spaces interspersed throughout. Powershell's Replace method to the rescue.
1 5647 posted 17 years ago by ericmorin21
Remove item (number or string) from array, using jQuery (method grep).
3 19198 posted 17 years ago by gustavopaes
2 1961 posted 17 years ago by kokikr
Controls what actions the template's index.php file takes depending on the current state of a module or a set of modules
2 1867 posted 17 years ago by sfjalar
2 2146 posted 17 years ago by sfjalar
Down & Dirty Wordpress code to show specific links only to admininstrators. Can be refined using WP roles and Capabilities for more specific needs.
3 1847 posted 17 years ago by goddess
Block - install as normal
0 1098 posted 17 years ago by fearghalmurphy
This is an example piece of code that will load a SubSonic collection into the "col1" object. The collection class is told to look for the column "VendorId" in the products table and pull it based based on the matching supplied vendorId.
0 1823 posted 17 years ago by mordecaix7
Cairngorm pretty much just works in Gumbo straight out of the box. Only hiccup I found was that you can't instantiate the services and controller components using mxml tags. Just define them once in the main application using ActionScript and you s...
0 3895 posted 17 years ago by GarthDB
1 ... 417 418 419 420 421 ... 552