View Full Version : NS 4.75 Javascript windows focus issues

03-10-2004, 01:17 PM
Hi there,

I've written some DHTML but have hit a bug when testing it in NS4.75. When the visitor reaches each page i write back a tag to the data base that records they have visited the page. However when it goes of to write back this data the window looses focus and in order to regain it the user has to click the title bar etc to regain the windows focus.
Is there any way round this? I've found its a real pain as the pages process really slowly and the user is forced to then click the title bar, minimise the window etc.
I've tried using the window.focus() etc etc but this hasn't worked.

If you have a solution could you please reply.

Thanks a lot :)


03-10-2004, 07:38 PM
I don't know about everyone else, but I need to see some code here..

Post the section of code that does the 'write to database'.