The Web page in a revBrowser instance on the card has this: div onclick="this.className='highlightedEntry'; window.location='#?RecNum=450'" /div
When the user clicks the div, the window.location clause triggers the browserBeforeNavigate message to be sent to the stack; the className change highlights the div. This works 95% of the time. When it fails, I know from the "on browserBeforeNavigate" handler that the message hasn't been sent--the handler is not called. The handler is in the card script. The failure happens in the IDE and in standalones in Windows and Mac OS X. It seems entirely random: I launch the standalone twenty times, and the click produces the expected results about 19 times out of 20. My only recourse is to close the app and re-launch it. Since the browserBeforeNavigate message isn't sent, and since I know from the highlighting that the click has registered, I don't know where I can insert any diagnostic check. My only hope is that someone who has used revBrowser a lot has seen this and has a suggestion. Thanks! Slava _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode