Welcome To Snipplr
Everyone's Recent Snippets Tagged jquery
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Better than previous version. You don't have to mark up your links with 'rel=external'.
0
803
posted 14 years ago by lancemonotone
jQuery
JS, JQUERY : mettre une fonction en queue et annuler l'exécution d'une fonction en queue avec queue(), dequeue(), clearQueue()
ici on souhaite qu'une info s'affiche aux survole d'un <li> mais seulement une fois qu'un délai de 650 millisecondes est passé. Cependant si l'user ne survole plus la zone avant la fin du délai, il faut interrompre l'affichage de l'info. Voilà un...
0
983
posted 14 years ago by alexandrepayet
Sometimes, you need a jQuery tab that will close. Finding the right way to do that has been a challenge for me, personally. This is especially true when you are adding new tabs dynamically. The trick is getting the proper index of the closable elemen...
0
731
posted 14 years ago by tbelknap
execute javaScript only for iphone / ipad / ipod using jQuery, triggered on page load
7
2100
posted 14 years ago by humanoid
While there seem to be plenty accordion examples built with jQuery, I had trouble finding one that both worked well and was easily styled. UI Tabs is a pain in the ass to modify and adds a crap load of extra DOM elements that must be accounted for wh...
2
721
posted 14 years ago by jHulbert
on using any wysiwyg editor (f.e. CKEditor) is inserted link to anchor on same page in this form: [a href="#anchor"]text[/a]
if on web site is used tag BASE, anchors links are wrong - on all page are on this url: www.domain.com/#anchor
this fun...
0
862
posted 14 years ago by knedle
This overrides a couple core Drupal functions in the autocomplete.js file. It changes the behavior of the autocomplete such that if a user selects an item from the autocomplete menu, it takes them directly to that node instead of just populating the...
1
766
posted 14 years ago by unravelme1
Don't know if the code is working, it's written from memory, but I think it will work....
1
787
posted 14 years ago by sbglasius
This jQuery plugin can be used to detect when the user smashes their keyboard.
You can set a threshold as to how many keys need to be depressed in order to trigger the event.
1
870
posted 14 years ago by adamcoulombe
Example of how to send a subscribe_user request using Notifo's api. Notifo lets you setup push notifications to mobiles - for any site.
Put the PHP into a separate file named notifo-proxy.php
0
1015
posted 14 years ago by Meander365