Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This class is used to convert any WYSIWYG text to flash friendly text.
Hope you people would like that.
0
712
posted 14 years ago by aamirrajpoot
Grab Google CDN's jQuery. Fall back to local if necessary, Taken from the HTML5 Boilerplate.
1
1032
posted 14 years ago by f6design
Always force latest IE rendering engine (even in intranet) & Chrome Frame. Taken from the HTML5 Boilerplate.
0
947
posted 14 years ago by f6design
How to get a custom product attribute inside a view (.phtml) file.
0
717
posted 14 years ago by TioSolid
Add this code to your App.xaml.cs inside your App class to enable a static property that will give you the current theme at runtime.
0
778
posted 14 years ago by jacob4u2
Simula in Django i campi created e updated aggiornati automaticamente alla creazione e alla modifica del record (Versione 2 senza funzione save ridefinita)
0
947
posted 14 years ago by munkypot
This is partial code for calling a custom foxycart shipping request.
0
590
posted 14 years ago by webmovementllc
Allows you to read any config in the magento database based in its path. The path is defined inside the system.xml file of the module. The table is core_config_data
0
803
posted 14 years ago by TioSolid
The first thing to do is to create header files. Create as many different headers as you want. In this exemple, I have created 3 custom headers from my theme default file header.php, names headercontact.php, headergallery.php and headerdefault.php....
1
855
posted 14 years ago by stephcode
Replace "getMyAttribute" with "get" followed by the attribute name in camel case.
0
709
posted 14 years ago by Groove
Another handy one and one which I see quite often. You rollover an element and it animates. You then mouseover and mouseleave really quickly, multiple times and all the animations gets queued. This solves that problem. The delay(200) is like adding...
1
906
posted 14 years ago by Meander365
Handy. Hide an element as soon as possible, before document.ready. The element gets hidden but only when a class is applied to the html via js.
1
781
posted 14 years ago by Meander365