Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Description: Execute different functions when the page loads in a better way than default onload JS event. Include it in the end of the JS document.
Arguments: Name of the function that you want to execute when the page loads.
Author: Simon Williso...
0
1005
posted 13 years ago by alberomo
jLim is a small JavaScript base code. It can be used to built your own JavaScript library or framework.
0
1040
posted 13 years ago by freelancephp
The code is in three parts, a HTML layout (with some requirements I'll go over below), some CSS code (again, requirements below) and the actual jQuery code. I go over all the code in detail at the link, but I'll give a quick rundown od the jQuery as...
0
1052
posted 13 years ago by FatFolderDesigner
Simple código en python que te pregunta tu email (gmail) y el correo de tu amigo, pregunta tu contraseña para loguearse vÃa SMTP en Gmail y enviar el correo. Copyright: http://andriy.im
0
791
posted 13 years ago by andriyleu
Create a Hello World module in the Magento system
Configure this module with routes
Create Action Controller(s) for our routes
1
968
posted 13 years ago by necode
Save config: http://inchoo.net/ecommerce/magento/how-to-programmatically-change-magentos-core-config-data/
http://www.magentocommerce.com/wiki/5_-_modules_and_development/0_-_module_development_in_magento/how_to_add_a_custom_module_for_custom_admin_...
0
826
posted 13 years ago by necode
Every developer has favorite tools and a workflow that’s unique from other developers, so I won’t dictate which specific pieces of software you should use. Instead, for each piece of your development environment, review some choices if you don’...
0
761
posted 13 years ago by necode
Ordena alfabéticamente el array $friends['data'] obtenido con la api de facebook.
0
1184
posted 13 years ago by serialk89
Hey guys, I struggled a little to find a crossbrowser, non repetitive params way to embed swfs; this object embed works flawlessly for me in all browsers - ie7, ie8, safari, chrome, firefox. Why is swfobject and YouTube using this format - http://cod...
0
1156
posted 13 years ago by digitalzoomstudio
If you are struggling against some problems with google maps and tabs be aware that, in order to avoid problems, jQuery sets the width & height of every hidden element to Zero.
To fix this problem all you have to do is trigger the resize event and...
1
1334
posted 13 years ago by Whiteagle
If you are struggling against some problems with google maps and tabs be aware that, in order to avoid problems, jQuery sets the width & height of every hidden element to Zero.
To fix this problem all you have to do is trigger the resize event and...
0
1001
posted 13 years ago by Whiteagle
To start my new post area I will share a simple stored procedure that will check if a record exists, if so update it, otherwise create it; Simple hum?! Just Update it to your needs :)
0
823
posted 13 years ago by Whiteagle
[Query related to PHP code to save tweets from the twitter search API to a MySQL database](http://snipplr.com/view/56994/save-tweets-using-php-from-the-twitter-search-api-to-a-mysql-database/ "PHP code to save tweets from the twitter search API to a...
0
1606
posted 13 years ago by eddequincey
[Related SQL query to create the storage table](http://snipplr.com/view/56995/sql-query-to-create-a-table-in-mysql-to-store-tweets/ "Related SQL query to create the storage table")
0
1941
posted 13 years ago by eddequincey