Welcome To Snipplr
Everyone's Recent JavaScript Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
In this example below I am moving the "recent blogs" module in "My Home" to the very top. I have placed this code in the footer of my Affiliate Center wrapped in script tags.
For maximum efficiency:
1) Use the inspect tool in Firebug to find the...
0
670
posted 15 years ago by krunkosaurus
This clean little script assumes you have a simple "A-name" style jump to some cool stuff at the bottom of the page that you want people to see. ID your link "browse" and your good. Certainly you could scroll to another ID on the page if you are so...
0
674
posted 15 years ago by esquareda
This is a basic script that will redirect a non-member to the login page with a custom message. Place the code between script tags in your Affiliate Center header.
To use:
1) replace loginPage variable with your *login URL.
2) replace accessMe...
0
549
posted 15 years ago by krunkosaurus
Use the Ka.Util.getLocationParam utility method to get the mediaType GET parameter:
--<br>
For more tips and tricks checkout the <a href="http://www.kickdeveloper.com/resources">KickApps resources page</a>.
0
669
posted 15 years ago by krunkosaurus
Because WKW is a german social community, wird auch deutsch Kommentiert: Sobald der Kalender-Bereich aufgerufen wird, gesellt sich oben in der Menüzeile ein neuer Punkt hinzu "Grab BDdays!". Ein klick darauf listet alle Buddies mitsamt Geburtstagen...
0
589
posted 15 years ago by preasha
I came across this little snippet... and thought it was rather nice.
0
800
posted 15 years ago by gembry
Función para usar con el evento onkeydown, que funciona igual en todos los navegadores. Onkeypress devuelve 0 para las teclas especiales en navegadores que no sean Internet Explorer.
0
845
posted 15 years ago by kcmr
Always always always backup client side validation with server side validation! =D
2
1016
posted 15 years ago by charmcitycoder
This is a very simple bookmarklet that will temporarily sort the *visible* messages in Gmail by subject. You'll have to run it again each time Gmail refreshes the list.
[Sort Gmail Messages](javascript:(function(){function%20f(r){var%20t=r...
0
1006
posted 15 years ago by wizard04
This takes a very readable date, such as "Fri, 4 Dec 2008 15:13:00 +0000", and outputs it as a relative date (such as "1 hour ago").
1
942
posted 15 years ago by bjarkebech
Split and manipulate URLs easily with this module. It has similar interface to Python's urlparse library. This is patched and modified version from Denis's orignal implementation.
1
1021
posted 15 years ago by miohtama
It is utterly annoying when DOM event handler exceptions fail silently with Firebug. This package fixes this common problem.
0
740
posted 15 years ago by miohtama
How to create a custom “:checked†pseudo selector for use in MooTools. It is just a small snippet but I’ve found it incredibly useful.
0
874
posted 15 years ago by ianmonge
判æ–客户端的æµè§ˆå™¨å’Œæ“作系统的类型和版本å·
0
525
posted 15 years ago by mn232nm
a set of function useful to check data (functions name in italian but easy to translate).
0
1024
posted 15 years ago by ginoplusio