Sunday, 16 June 2013

251 - Development

Next step was to incorporate the keys into the buttons so that if I pressed them they would send that Request:

<div id="tv-btns-container">

<form action="index.php" method="get">

<a href="#"><button type="submit" name="tv" class="tv-btns" id="volumeup"
value="volumeup">+</button></a>

<a href="#"><button type="submit" name="tv" class="tv-btns" id="volumedown" value="volumedown">-</button></a>

<a href="#"><button type="submit" name="tv" class="tv-btns tv-mid-btn" id="ligardesligar" value="ligardesligar"><img src="on-off.png"/></button></a>

            <a href="#"><button type="submit" name="tv" class="tv-btns" id="channelup" value="channelup">&#60;</button></a>

            <a href="#"><button type="submit" name="tv" class="tv-btns last-btn" id="channeldown" value="channeldown">&#62;</button></a>

</form>

</div>

No comments:

Post a Comment