• Stars
    star
    549
  • Rank 80,988 (Top 2 %)
  • Language
    JavaScript
  • License
    GNU General Publi...
  • Created almost 15 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A resize event for ALL your jQueries!

jQuery resize event

http://benalman.com/projects/jquery-resize-plugin/

Version: 1.1, Last updated: 3/14/2010

With jQuery resize event, you can bind resize event handlers to elements other than window, for super-awesome-resizing-greatness!

Note that while this plugin works in jQuery 1.3.2, if an element's event callbacks are manually triggered via .trigger( 'resize' ) or .resize() those callbacks may double-fire, due to limitations in the jQuery 1.3.2 special events system. This is not an issue when using jQuery 1.4+.

Visit the project page for more information and usage examples!

Documentation

http://benalman.com/code/projects/jquery-resize/docs/

Examples

This working example, complete with fully commented code, illustrates a few ways in which this plugin can be used.

http://benalman.com/code/projects/jquery-resize/examples/resize/

Support and Testing

Information about what version or versions of jQuery this plugin has been tested with, what browsers it has been tested in, and where the unit tests reside (so you can test it yourself).

jQuery Versions

1.3.2, 1.4.1, 1.4.2

Browsers Tested

Internet Explorer 6-8, Firefox 2-3.6, Safari 3-4, Chrome, Opera 9.6-10.1.

Unit Tests

http://benalman.com/code/projects/jquery-resize/unit/

Release History

1.1 - (3/14/2010) Fixed a minor bug that was causing the event to trigger immediately after bind in some circumstances. Also changed $.fn.data to $.data to improve performance.
1.0 - (2/10/2010) Initial release

License

Copyright (c) 2010 "Cowboy" Ben Alman
Dual licensed under the MIT and GPL licenses.
http://benalman.com/about/license/

More Repositories

1

dotfiles

My Ubuntu / OS X dotfiles.
Shell
1,567
star
2

jquery-hashchange

This jQuery plugin enables very basic bookmarkable #hash history via a cross-browser HTML5 window.onhashchange event.
JavaScript
1,214
star
3

jquery-bbq

jQuery BBQ: Back Button & Query Library
JavaScript
1,175
star
4

jquery-throttle-debounce

jQuery throttle / debounce: Sometimes, less is more!
JavaScript
1,125
star
5

jquery-tiny-pubsub

A really, really, REALLY tiny pub/sub implementation for jQuery.
JavaScript
961
star
6

php-simple-proxy

Simple PHP Proxy: Get external HTML, JSON and more!
JavaScript
538
star
7

javascript-debug

JavaScript Debug: A simple wrapper for console.log
JavaScript
434
star
8

jquery-postmessage

jQuery postMessage: Cross-domain scripting goodness
JavaScript
356
star
9

jquery-dotimeout

jQuery doTimeout: Like setTimeout, but better!
JavaScript
273
star
10

javascript-hooker

Monkey-patch (hook) functions for debugging and stuff.
JavaScript
243
star
11

jquery-outside-events

Why trigger an event on something, when you can trigger it on everything else?
JavaScript
229
star
12

javascript-linkify

JavaScript Linkify: Process links in text
JavaScript
135
star
13

synology-update-plex

Script to Auto Update Plex Media Server on Synology NAS
Shell
110
star
14

node-globule

An easy-to-use wildcard globbing library.
JavaScript
103
star
15

javascript-library-boilerplate

JavaScript Library Boilerplate: Roll your own
JavaScript
100
star
16

jquery-replacetext

String replace for your jQueries!
JavaScript
90
star
17

wesbos

WES BOS
JavaScript
87
star
18

javascript-route-matcher

A simple route matching / url building utility. Intended to be included as part of a larger routing library.
JavaScript
81
star
19

javascript-sync-async-foreach

An optionally-asynchronous forEach with an interesting interface.
JavaScript
76
star
20

jquery-misc

Miscellaneous small jQuery plugins and code fragments
JavaScript
75
star
21

talks

Slides (and more) from my talks
CSS
65
star
22

node-exit

A replacement for process.exit that ensures stdio are fully drained before exiting.
JavaScript
65
star
23

jquery-message-queuing

jQuery Message Queuing: Get all your JavaScript ducks in a row
JavaScript
61
star
24

jquery-urlinternal

jQuery urlInternal allows you to easily test internal-, external-, or fragment-ness for any relative or absolute URL. Includes element filtering methods and pseudo-selectors.
JavaScript
37
star
25

node-prolog

An event- and stream-aware logger for pros. Meaning, professionals.
JavaScript
34
star
26

jquery-equalizebottoms

jQuery equalizeBottoms
JavaScript
34
star
27

node-getobject

get.and.set.deep.objects.easily = true;
JavaScript
31
star
28

ed-rare-trade-route-generator

Elite: Dangerous Rare Trade Route Generator
Ruby
31
star
29

javascript-packify

Packify: Something like a JavaScript packer
JavaScript
28
star
30

js1k-organ1k

Organ1k: JS1k contest entry
JavaScript
24
star
31

javascript-emotify

JavaScript Emotify: Making the web a better place, one tiny image at a time...
JavaScript
23
star
32

node-toc

Linkify HTML headers and generate a TOC.
JavaScript
17
star
33

node-glob-whatev

A quick and dirty file globbing utility based on minimatch.
JavaScript
14
star
34

javascript-getclass

Get the [[Class]] of a value.
JavaScript
13
star
35

battlelog-hacks

Battlelog Hacks: EA's new Battlelog service is pretty awesome. Except when it isn't.
JavaScript
13
star
36

node-heredoc-tag

Heredoc helpers for ES2015 template strings
JavaScript
13
star
37

jquery-longurl

jQuery longUrl: Uniform Resource Elongator
JavaScript
13
star
38

jquery-getobject

jQuery getObject: get.and.set.deep.objects.easily = true;
JavaScript
12
star
39

jquery-starwipe

jQuery Star Wipe: Why eat hamburger when you can have steak?
JavaScript
9
star
40

grunt-jquery-example

This is example output generated by the "grunt init:jquery" task.
JavaScript
9
star
41

jquery-plugin

This "shell" plugin repo contains the directory structure and files that I use to create a new plugin. It exists only to make my life easier. Feel free to utilize anything here (customized for your needs, of course) if it helps you with your plugin development.
JavaScript
9
star
42

javascript-htmlslice

An HTML-aware String#slice.
JavaScript
9
star
43

node-linken

like "npm link" but maybe easier or something.
JavaScript
7
star
44

js-es6-es7-workflow-ideas

JS / ES6 / ES7 Workflow Ideas
JavaScript
6
star
45

Simplified.lnk2Style

A Linkinus Style
JavaScript
6
star
46

gaucho-old

Ruby + Git + Content = Gaucho
Ruby
6
star
47

textual-simplified-stealth

Simplified Stealth: a Textual IRC Style
JavaScript
6
star
48

grunt-node-example

This is example output generated by the "grunt init:node" task.
JavaScript
6
star
49

jquery-untils

jQuery Untils: nextUntil, prevUntil, parentsUntil
JavaScript
6
star
50

node-zombie-connect-socket

zombie <-> connect, without a physical port.
JavaScript
4
star
51

wow-cowboy

WoW miscellany
Lua
4
star
52

js-art

I call it "art"
CSS
4
star
53

Organ1k

Organ1k Screen Saver (OS X 10.5+)
Objective-C
4
star
54

state-of-grunt-fe-summit-2014-talk

The State of Grunt, August 2014
JavaScript
4
star
55

github-markdown-anchors

3
star
56

node-jqbuild

A command line build tool for jQuery plugins.
JavaScript
3
star
57

css-misc

Miscellaneous CSS Examples
JavaScript
3
star
58

personal-jira-tweaks

This extension is specific to my workplace's JIRA and will most likely not work for you
CSS
3
star
59

benalman.com-idea

An experiment.
JavaScript
3
star
60

grunt-commonjs-example

This is example output generated by the "grunt init:commonjs" task.
JavaScript
3
star
61

bash-misc

Miscellaneous bash scripts and configs
Shell
2
star
62

grunt-gruntfile-example

This is example output generated by the "grunt init:gruntfile" task.
JavaScript
2
star
63

grunt-testing123

Whatever
JavaScript
2
star
64

grunt-gruntplugin-example

This is example output generated by the "grunt init:gruntplugin" task.
JavaScript
2
star
65

REDACTED

Because I don't care if you find the name of this project offensive.
JavaScript
2
star
66

bots

Some bot stuff I'm fooling around with.
JavaScript
2
star
67

processingjs-pattern

A processing.js pattern
JavaScript
2
star
68

Linkinus.AdiumEmoticonset

Emoticons for Simplified
1
star
69

benalman.com-content-OLD

Movable Type + Gaucho + OCD = This is going to take a while...
Python
1
star
70

gaucho

Ruby + Git + Content = Gaucho
Ruby
1
star
71

move_follow_test

testing if followers are preserved with a move
1
star
72

node-stream-eachline

Like readline or split, but behaves more like ruby's .each_with_index method when streams lack trailing newlines.
JavaScript
1
star
73

philly-ete-talk

Building the β€œFront Half” of Your App (With Grunt)
JavaScript
1
star
74

jsconf-grunt-test

A grunt test thing for JSConf
1
star
75

comment.aculo.us

Have you ever wanted to comment on mir.aculo.us blog posts? Me neither. But now, you can!
JavaScript
1
star