Before setting out to attempt my own jQuery plugin I had a look
through the list of existing plugins to see if someone had already
contributed a means to convert ems to pixels. I wasn't expecting to
find a script that responds to changes as well! This is an ideal
foundation onto which I can build.

I have a problem - jQEm is failing in Safari. Running the test Dave
conveniently included on the plugin page I get two errors in Safari's
(v2.0.4) JavaScript console:

It highlights this line of jqem-uncompressed.js:

var public = {

And the last line of:

$.jqem.bind(function() {
    if( $.jqem.current() > $.jqem.previous() ) {
        alert('You increased the font size!');
    } else if( $.jqem.current() < $.jqem.previous() ) {
        alert('You decreased the font size!');
    } else {
        alert('You triggered the event without changing the font size!');
    }
});

I'm running the plugin in partnership with jQuery v1.0 uncompressed.

Can anyone reproduce this problem or shed any light on it?

Cheers
Ollie

On 24/08/06, Dave Cardwell <[EMAIL PROTECTED]> wrote:
> Hi John.
>
> I liked both of your suggestions so have released jQEm v0.2 at
> http://davecardwell.co.uk/geekery/javascript/jquery/jqem/0.2/.
>
> Thanks for the feedback.
>
>
>
> Best wishes,
> Dave Cardwell ~ http://davecardwell.co.uk/

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to