Welcome To Snipplr


Everyone's Recent JavaScript Snippets



1 ... 14 15 16 17 18 ... 65
0 899 posted 14 years ago by focal55
.zz1_logoLinkId_1 { color: #fff; background-image:url("/_layouts/Images/HLLMRKLINK/Logo.gif"); background-repeat:no-repeat; background-position:15px 10px; background-color:#67507e; display:block; width: 170px; height: 88px; overflo...
0 1116 posted 14 years ago by nickaranz
0 1043 posted 14 years ago by BebenKoben
We use our own dialog code, but the jQuery method of creating an overlay works well, so this is taken from the jQuery UI code and simplified.
0 1015 posted 14 years ago by mejamiewilson
Copy and paste this code into the URL box and press enter. You will see it happen in realtime. Make sure all of your friends are loaded first, as Facebook uses lazy loading! To learn more, visit my blog post on it at http://www.brettwidmann.com/2011/...
0 1056 posted 14 years ago by goatboy91587
This is a simple example of the google maps javascript API v3. If you want a map with a marker this is the minimum you need to do to get it done. Theres more talk about how it's all set up, and how to use the other static image map as well at the lin...
1 1273 posted 14 years ago by FatFolderDesigner
Usage: Let's say we have an url: http://primera.vremenno.net?foo=yes&bar=no var hash = getUrlVars(); alert(hash['foo']); // returns 'yes' alert(hash['bar']); // returns 'no'
0 1498 posted 14 years ago by a1ias
Función para validar rut chileno en javascript
0 1592 posted 14 years ago by n19ht
Función para validar un e-mail en javascript
0 948 posted 14 years ago by n19ht
Description: A function that add a class to an element if the element doesn't have anyone, if it already has one, add a new class name. Arguments: The elemento to which you want to add the class and the name of the class you want to add. From boo...
0 1309 posted 14 years ago by alberomo
0 999 posted 14 years ago by ddavidd
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 1208 posted 14 years ago by alberomo
A JavaScript starter with a namespace and closure
0 1201 posted 14 years ago by geekyjohn
A SWFObject embed example with all options.
0 1359 posted 14 years ago by geekyjohn
jLim is a small JavaScript base code. It can be used to built your own JavaScript library or framework.
0 1193 posted 14 years ago by freelancephp
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 1197 posted 14 years ago by Whiteagle
0 1400 posted 14 years ago by alexilin
Recomienda la app facebook a los amigos mediante FB.ui
0 1044 posted 14 years ago by serialk89
Envia un mensaje a los amigos desde method send de facebook graph
0 1025 posted 14 years ago by serialk89
Muestra un cuadro de dialigo en una app de facebook
0 893 posted 14 years ago by serialk89
The html5.js and must be inserted in the head element (this is because IE needs to know about the element before it comes to render them - so it can't sit in the footer of the page, i.e. below the elements in question).
0 1321 posted 14 years ago by blantonious
This small javascript hides the table that holds statistical counters on hotdog.hu profile pages [footer part].
0 823 posted 14 years ago by Oroborus9
1 ... 14 15 16 17 18 ... 65