[jQuery] Re: Script to keep draggable windows in the main window not working?

2008-11-12 Thread CodingCyborg
Well, it turns out I just wasn't paying attention when I ended the .each function and only had a } when I needed a }); That fixed it all up and it's running fine now :) On Nov 12, 3:55 pm, CodingCyborg <[EMAIL PROTECTED]> wrote: > Thank you for your response. Unfortunately that didn't solve the >

[jQuery] Re: Script to keep draggable windows in the main window not working?

2008-11-12 Thread CodingCyborg
Thank you for your response. Unfortunately that didn't solve the problem, nor did it bring any errors to error console. I believe both ways of doing that are valid, unless there is something in the code stopping it from getting there, in which case they might not work. Would it be possible that ot

[jQuery] Re: Script to keep draggable windows in the main window not working?

2008-11-11 Thread pd
I'm completely guessing but i think these lines might be the problem: newTop= window.height - $(this).outerHeight(); newLeft= window.width - $(this).outerWidth(); maybe try: newTop= $(window).height() - $ (this).outerHeight