Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS a:active state last longer

  • This topic is empty.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #37891
    shamai
    Member

    how can i make the image used when a link is active stay longer by a few seconds.
    if you click to fast you don’t see the cage it just looks like a mistake even.

    how can I make a:active last a bit longer.

    and when is the start new discussion button on the side here going to be fixed!!
    its missing its bottom!

    #102180
    TheDoc
    Member

    You can add a class called ‘active’ and apply the same stylings to that.

    You can do this via JS, then just remove the class after a certain number of time.

    #102181
    shamai
    Member

    using delay() ?

    how?
    it was simpler using css…

    #102182
    TheDoc
    Member
    #102183
    shamai
    Member

    ah….
    i was trying something like that… thanks

    #102184

    You can certainly do this only using CSS, but it won’t work on older browsers: http://jsfiddle.net/joshnh/FcEpZ/

    #102187
    shamai
    Member

    that as the first thing i tried but i don’t think it works on backgrounds that are images

    #102189

    @shamai Should work fine (http://jsfiddle.net/joshnh/pS7Qy/). Got a link?

    #102195
    shamai
    Member

    it doesn’t seem to work. I looked at your jsfiddle and it doesn’t work.

    #102198

    What browser are you using? It works fine for me in Chrome.

    #102253
    shamai
    Member

    ah.. i was on safari….

Viewing 11 posts - 1 through 11 (of 11 total)
  • The forum ‘CSS’ is closed to new topics and replies.