Chase Milhorn Chase Milhorn - 1 year ago 72
CSS Question

What languages should I use to allow users to increase or decrease an image size on a webpage?

I am interested in having +/- buttons to increase and decrease the size of an image. What programming languages could I use, and what would be the pros/cons for using each one? I apologize for my incredibly novice questions.

Answer Source

Bored, so I decided to build this simple stuff for ya! Please buy be a beer. HTML:

    <img src=""><br>
    <span id="plus">+</span><br>
    <span id="minus">-</span>


    $("img").css({"height": "+=50px", "width": "+=50px"});

    $("img").css({"height": "-=50px", "width": "-=50px"});


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download