Loading ...
Sorry, an error occurred while loading the content.

Re: [svg-developers] Re: Blink cursor inside the textbox

Expand Messages
  • Arvind Sareen
    Hi Francis Thanks for the code. I am trying to incorporate the code. Thanks for the help. Regards Arvind ... __________________________________ Do you Yahoo!?
    Message 1 of 18 , Jul 17, 2003
    • 0 Attachment
      Hi Francis

      Thanks for the code. I am trying to incorporate the
      code. Thanks for the help.

      Regards

      Arvind

      --- Francis Hemsher <francishemsher@...>
      wrote:
      > Hi Arvind,
      >
      > Earlier today I uploaded a file to the list that
      > demonstrates typing
      > text directly onto the svg drawing. It uses the
      > blinker code I sent
      > you a few days ago. My focus problem was when the
      > user's cursor
      > wanders outside the svg while they are using the
      > keyboard. The
      > keyboard lost focus on the svg. So I added a
      > function that is fired
      > when new text is being created. It works to keep
      > keyboard focus on
      > the SVG.
      >
      > function focusCursor()
      > {
      > if(addText!=null)
      > docSVG.focus
      > }
      >
      > onmouseover, onmouseout, onmousemove at the SVG
      > drawing fires the
      > function. It keeps focus about 95%, loses it
      > sometimes when the
      > blinker interval calls at same time the cursor is
      > leaving the svg and
      > heading into the HTML side of the fence.
      >
      > You can see this example at:
      > http://groups.yahoo.com/group/svg-
      > developers/files/xmlSVGrealtimeTEXT.zip
      >
      > Francis
      >
      >
      >
      >


      __________________________________
      Do you Yahoo!?
      SBC Yahoo! DSL - Now only $29.95 per month!
      http://sbc.yahoo.com
    Your message has been successfully submitted and would be delivered to recipients shortly.