I think it is possible to attach a single ClickHandler to the HTML widget 
containing the HTML document. When clicked call preventDefault(), as Jen 
suggested, look at the source of the click, and if it is your anchor, 
scroll to the cursor position.

On Friday, September 21, 2012 10:55:51 AM UTC-4, Jens wrote:
>
> Have you tried to attach an event listener (DOM.addEventListener()) to 
> these anchors and call ClickEvent.preventDefault() when you click on them?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Se6hclu0wdMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to