rfones / jquery-inputlimiter

Automatically exported from code.google.com/p/jquery-inputlimiter
0 stars 0 forks source link

viewing failure when applying to any element with a z-index > 2000. #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.apply the inputlimiter to any element that has or inherits a z-index > 2000

What is the expected output? What do you see instead?
should display, displays nothing

What version of the product are you using? On what operating system?
1.2.3

Please provide any additional information below.
z-index is a number. change it to opts.zindex or something.

Original issue reported on code.google.com by sjcle...@gmail.com on 8 Jul 2012 at 11:04

GoogleCodeExporter commented 8 years ago
Actually, I've changed this to make it work:

>>>>if (!opts.zindex) {
>>>>            opts.zindex = 9999;
>>>>        }

        if(opts.boxAttach){
            $('#'+opts.boxId).css({
                'width':$(this).outerWidth()-($('#'+opts.boxId).outerWidth()-$('#'+opts.boxId).width())+'px',
                'left':$(this).offset().left+'px',
                'top':   ($(this).offset().top+$(this).outerHeight())-1+'px',
>>>>                'z-index':opts.zindex
                });
        }

Original comment by sjcle...@gmail.com on 8 Jul 2012 at 11:09