开发者

Redraw the page after heavy javascript usage

I have a page in which I use javascript heavily, I use jquery, extjs, tinymce and bunch of other things in the same place.

Sometimes when I open Jquery dialog the page breaks, look at this screen shot

Redraw the page after heavy javascript usage

Then when I move the dialog a little bit, thins start looking better, but there are still some issues, look at the header of the dialog for example it's not a complete rectangle an开发者_JAVA技巧ymore

Redraw the page after heavy javascript usage

Is there anything that can be done about this? like redrawing the page or something like that?

Upon requests, here is the code that opens this dialog, what it does is that it receives an initial value, then it will open the dialog and return the callback function with the new value if user clicks on OK

http://pastebin.com/2Zi4Fymc


I agree that we would have to see your code to do anything serious about it... In the meantime, if it's better when you move it, why don't you try moving it programmatically (say, 1 px, then back), to force it to redraw?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜