I've just released a new plugin that exposes an "onfontresize" event
on the document object.
It's based heavily on a technique created (AFAIK) by Hedger Wang which
you can read about here:
http://www.hedgerwow.com/360/dhtml/js-onfontresize.html
I made some minor tweaks and packaged it up as a s
I've made another update to the plugin. It no longer requires the
jquery dimensions plugin.
http://www.tomdeater.com/jquery/equalize_columns/
See also Michael Futreal's vjustify plugin which I recently
discovered. He has some good information about an issue involving
images with unspecified heig
On May 10, 1:58 pm, Bil Corry <[EMAIL PROTECTED]> wrote:
>
> I added "mouseover" and it worked a little better than onblur alone.
>
> - Bil
Just made another updated. Here's the change log:
Added "onpaste" event handler for IE and "oninput" event handler for
Mozilla. This should cover most ins
On May 10, 1:45 pm, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote:
> since your code is quick, you can also bind mouseup and paste events. paste
> only works on ie,
> but if you don't catch up 'til blur time, I guess it's no big deal!
>
I did test the onpaste event in IE, but it didn't seem to work
correctl
> On May 10, 6:37 am, Peng <[EMAIL PROTECTED]> wrote:
>
> > If I paste text with short menu by Right-Click it isn't working. Which
> > event
> > bound can perfect the function? There seems not acceptable event in jQuery.
>
I've added the "onblur" event handler. This somewhat alleviates the
prob
On May 10, 6:37 am, Peng <[EMAIL PROTECTED]> wrote:
> If I paste text with short menu by Right-Click it isn't working. Which event
> bound can perfect the function? There seems not acceptable event in jQuery.
>
Good catch, Peng. I'll have to think about how to handle that.
On May 9, 12:50 pm, [EMAIL PROTECTED] wrote:
> For now, I've opted for the following:
>
> var container = $(settings.container);
> if (!container.parent().parent().size()) {
> // settings.container must not be an existing page element,
> // so insert it into the DOM
> ...
>
> }
Frustratingly en
On May 9, 2:18 pm, Paul Malan <[EMAIL PROTECTED]> wrote:
> I hope you won't mind that I didn't experiment to learn this answer
> for myself, but how does your plugin handle content that expands
> within these equalized divs?
>
> For example, if #col2 contains a nested, hidden div, and that div i
On May 9, 1:29 pm, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote:
> sorry, I meant $('html').parent().parent().size() and
> $('body').parent().parent().size()
>
> I'd guess body is 0 and html would croak...
$('html').parent().parent().size() = 0
$('body').parent().parent().size() = 1 ([Document])
I'll ju
On May 9, 12:07 pm, Olaf Bosch <[EMAIL PROTECTED]> wrote:
> Fine. I found a little mystery ;)
> give a DIV padding and you see it.
>
> try
>
> #col1{padding:15px;}
Wow, that box model sure is frustrating sometimes ;)
I've updated the plugin to handle top/bottom borders/padding (with a
couple o
On May 8, 9:58 pm, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote:
> hmm, what do you get for $('body') or $('html') ??
$('html').parent() = [ Document ]
$('body').parent() = [ html ]
Nothing unusual here.
For now, I've opted for the following:
var container = $(settings.container);
if (!container.parent(
I've posted this to the discussion list once before, but now I've put
together a simple demo page for my equalize column heights plugin:
http://www.tomdeater.com/jquery/equalize_columns/
On May 8, 4:11 pm, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote:
> I remember reading the jQuery source, it's held in a div until it is put
> somewhere!
>
I wonder if $(elem).parent().parent().size() == 0 is the best/only
option then for determining whether $(elem) is a node in the HTML
document.
Any othe
On May 8, 3:15 pm, "Jonathan Sharp" <[EMAIL PROTECTED]> wrote:
> On 5/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> > I've got a slightly ugly bit of code where I check to see if the user
> > has specified an existing element by ID for the container. I'd
> > appreciate suggestions for
Per Chris's suggestion, I've made an update to the plugin. Now, you
can specify that the container be an existing DOM element (e.g,
"#myContainer") or an element type that will be created and inserted
in the DOM directly after the textarea (e.g., ""). If nothing is
specified, a element will be cr
I've just released the first version of a simple plugin to add
character counters/limiters to textarea elements. The demo and code
can be found here:
http://www.tomdeater.com/jquery/character_counter/
16 matches
Mail list logo