Welcome To Snipplr
Everyone's Recent Snippets Tagged jquery
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
finds a specific attribute in an iFrame and loads it to another div on page.
1
989
posted 14 years ago by vagrantradio
Add target blank or rel external to outgoing links automatically.
3
975
posted 14 years ago by vagrantradio
Any link with a hash (#) will scroll to that id on the page. Hat Tip, Karl Swedberg.
1
858
posted 14 years ago by vagrantradio
jQuery Ajax function to load xml data into a table and add class to even rows for striping.
1
1528
posted 14 years ago by vagrantradio
link to plugin http://projects.exvoto.org/jquery-extjsoncookie/
1
759
posted 14 years ago by almazom
Dropdown navigation is fairly inaccessible as it depends on hover events in 99.9% of cases. Tabbing through the navigation with the keyboard fails to reveal the dropdowns leaving those navigation items virtually inaccessible. Worse, each of the hidde...
0
1869
posted 14 years ago by chrisdpratt
Just replace classic document.ready with pageLoad function as belows:
pageLoad function will called on all postback and partial postbacks. So it makes the jquery code no matter what :D
Even in update panel.
1
778
posted 14 years ago by delikassap
This plugin will, by default, truncate a block of text down to one line at its current width (if the text block exceeds 1 line). You can also pass in a pixel value and it will truncate it to that width.
0
1121
posted 14 years ago by adamcoulombe