SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Oct 2006
    Posts
    216
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS: Input field and Get Cursor to Blink

    I have declared the followng in css:

    input.text, input.title { width: 300px; margin:0.5em 0.5em 0.5em 0; }

    I need to get the cursor to blink in the input field as default behaviour. Can someone tell how I can do this?

  2. #2
    SitePoint Wizard bronze trophy DaveWoods's Avatar
    Join Date
    Dec 2004
    Location
    Derbyshire - UK
    Posts
    2,651
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It'll need to be done with JavaScript. Have a read of this article as it's a useful pointer as to how this can be achieved with usability in mind.

    http://www.themaninblue.com/writing/...ve/2005/10/27/


Bookmarks

Posting Permissions

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