Forums

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

Home Forums CSS Making images appear

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #39829
    kpiatak
    Member

    I would like to click on one image (click here) and makes new images appear, either with css or jquery.

    Help me please :(

    #110074
    zonger
    Member
    #110079
    chrisburton
    Participant

    Same thing but with a fade: http://codepen.io/anon/pen/Eyuoz

    #110081
    Johnnyb
    Member

    For accessibility purposes you’ll want to use a button for the image you’re clicking rather than just adding a cursor like Christopher did, as you can’t tab to and activate an image using the keyboard. Also, ideally you should be hiding the content initially using JS and not CSS, although it may not be a big deal depending on the context you’re using this in.

    Here’s an example for you: http://codepen.io/anon/pen/eoKqd

    #110214
    kpiatak
    Member

    Thank you! I have gotten pretty far on this, there is only one more thing I would like to do with this. And that is to have the bus slide in:

    http://webapps.easy2.com/ce/ext1104/messages/iris_messages-1.html

    I have some css3 set up, but I most not have it correct.

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