Welcome To Snipplr


Everyone's Recent JavaScript Snippets



1 ... 14 15 16 17 18 ... 65
0 469 posted 12 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 660 posted 12 years ago by nickaranz
0 602 posted 12 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 570 posted 12 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 594 posted 12 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 777 posted 12 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 833 posted 12 years ago by a1ias
Función para validar rut chileno en javascript
0 1063 posted 12 years ago by n19ht
Función para validar un e-mail en javascript
0 510 posted 12 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 708 posted 12 years ago by alberomo
0 538 posted 12 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 633 posted 12 years ago by alberomo
A JavaScript starter with a namespace and closure
0 719 posted 12 years ago by geekyjohn
A SWFObject embed example with all options.
0 679 posted 12 years ago by geekyjohn
jLim is a small JavaScript base code. It can be used to built your own JavaScript library or framework.
0 767 posted 12 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 741 posted 12 years ago by Whiteagle
0 749 posted 12 years ago by alexilin
Recomienda la app facebook a los amigos mediante FB.ui
0 608 posted 12 years ago by serialk89
Envia un mensaje a los amigos desde method send de facebook graph
0 583 posted 12 years ago by serialk89
Muestra un cuadro de dialigo en una app de facebook
0 513 posted 12 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 646 posted 12 years ago by blantonious
This small javascript hides the table that holds statistical counters on hotdog.hu profile pages [footer part].
0 452 posted 12 years ago by Oroborus9
1 ... 14 15 16 17 18 ... 65