Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2004
    Thanked 0 Times in 0 Posts

    NS 4.75 Javascript windows focus issues

    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


  • #2
    Senior Coder
    Join Date
    Feb 2004
    Thanked 0 Times in 0 Posts
    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'.



    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts