PDA

View Full Version : Cursor blinking behind dhtmlmodal



lostinpok
05-26-2011, 02:39 PM
1) Script Title: DHTMLModal

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/dhtmlmodal.htm

3) Describe problem:
I am using your dhtmlmodal popups and they're working perfectly. But I have one page with a textfield that has focus when a modal window pops up, and I can see the cursor blinking behind the modal window. It's confusing since the focus field is not in the modal itself. Is there any way to stop that cursor blinking without turning off the focus? I'd like the focus to be there when the modal is closed. Also, the onclose function is shared among many different pages, so it will be somewhat difficult to code something in there specific to this one page with focus.

Thanks.