×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    34

    Button stays active after sliding

    I used css to change background image of a div to imitate button pressed, as the following:

    Code:
    div.buttonId:active
    {
          background: url(someimage.png); 
    }
    But, when i press the div and slide my finger out the div, the div stays active (even though I remove my finger from the screen) and someimage.png is still shown.

    Is there any way to prevent this, thanks,
    Onur

  2. #2
    Super Contributor
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: Button stays active after sliding

    Hi,

    Hmm.. what device are you using? I tested :active with Anna and Belle touch devices using RDA and couldn't get it to work at all. It only worked with E7 on cursor mode.
    Anyway it might be so that only way to do this is to play around with timers in a similar way as in this high end templates fix.
    http://www.developer.nokia.com/Commu...-end_templates

    -Ilkka

Similar Threads

  1. Avkon Toolbar Sliding Button
    By mike437 in forum Symbian User Interface
    Replies: 0
    Last Post: 2010-02-02, 12:12
  2. GPRS connection stays active when using Explicit connection
    By russ_world in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2009-11-20, 19:20
  3. ViewSrv 11 panic : when menu button of 7650 is pressed on an active app
    By nitinkumar in forum Symbian User Interface
    Replies: 6
    Last Post: 2008-12-09, 19:20
  4. Replies: 2
    Last Post: 2006-12-18, 18:39
  5. backlight stays on
    By ghauber in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2004-02-05, 17:10

Posting Permissions

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