[jQuery] Re: jqDnR + jqModal -- dragging causes jump in IE & Safari

2007-07-04 Thread rolfsf
I'll give that a try, since I primarily need to fix IE6, but then I'm still puzzled why Safari is (and Firefox isn't) affected. garyh wrote: > > > I had this problem and managed a workaround by adding a line in the > jqModal.css file: > > In the * html .jqmWindow selector add the line: > >

[jQuery] Re: jqDnR + jqModal -- dragging causes jump in IE & Safari

2007-07-04 Thread garyhall01
I had this problem and managed a workaround by adding a line in the jqModal.css file: In the * html .jqmWindow selector add the line: left: expression(Math.round(50 * (document.documentElement.offsetWidth || document.body.clientWidth) / 100) + 'px'); (Note: the value of 50 relates the percentag

[jQuery] Re: jqDnR + jqModal -- dragging causes jump in IE & Safari

2007-07-03 Thread rolfsf
that makes some sense, but if it were the case, why wouldn't Firefox jump too? perhaps we'll have to wait for Brice... Brian Cherne wrote: > > It's hard to read Brice's minimalist (elegant and light) code style... but > I > suspect the reason it's breaking is on line 27: > > var f=function(w

[jQuery] Re: jqDnR + jqModal -- dragging causes jump in IE & Safari

2007-07-03 Thread Brian Cherne
It's hard to read Brice's minimalist (elegant and light) code style... but I suspect the reason it's breaking is on line 27: var f=function(w,t){return parseInt(w.css(t)) || 0}; If w.css returns undefined then your value will be 0 initially. If w.css is a percentage, then it will think 10% is re

[jQuery] Re: jqDnR + jqModal -- dragging causes jump in IE & Safari

2007-07-03 Thread rolfsf
hmmm... in your case, you're actually using absolute positioning with pixels instead of %, which is what "fixes" the problem for me. Head scratcher... Glen Lipka wrote: > > The picture on the top right of my blog does the exact same thing. > Im very interested to know how to fix.. > > Glen >

[jQuery] Re: jqDnR + jqModal -- dragging causes jump in IE & Safari

2007-07-03 Thread Glen Lipka
The picture on the top right of my blog does the exact same thing. Im very interested to know how to fix.. Glen http://www.commadot.com On 7/3/07, rolfsf <[EMAIL PROTECTED]> wrote: I've posted a stripped-down example page here: http://www.monkeypuzzle.net/testfiles/jquery/jqDnR_drag_bug/

[jQuery] Re: jqDnR + jqModal -- dragging causes jump in IE & Safari

2007-07-03 Thread rolfsf
I've posted a stripped-down example page here: http://www.monkeypuzzle.net/testfiles/jquery/jqDnR_drag_bug/ Firefox works fine. In IE6, IE7, or Safari 2 (mac), the modal window will jump partially off-screen if you try to drag the window. If I set top and left to pixels instead of %, this jump