Link instead of button

This commit is contained in:
Pierre Rudloff 2014-05-23 19:47:36 +02:00
parent 245d46c164
commit 49793ff54e
2 changed files with 7 additions and 5 deletions

View file

@ -68,7 +68,7 @@ if (isset($_GET["url"])) {
} }
if (!isset($video->formats)) { if (!isset($video->formats)) {
?> ?>
<input class="downloadBtn" type="submit" value="Download" /><br/> <a class="downloadBtn" href="<?php echo $video->url; ?>">Download</a><br/>
<?php <?php
} }
?> ?>

View file

@ -174,10 +174,12 @@ margin-top:8px;
font-size:24px; font-size:24px;
font-weight:800; font-weight:800;
cursor:pointer; cursor:pointer;
-webkit-transition: all 0.1s ease-in; -webkit-transition: all 0.1s ease-in;
-moz-transition: all 0.1s ease-in; -moz-transition: all 0.1s ease-in;
-o-transition: all 0.1s ease-in; -o-transition: all 0.1s ease-in;
} text-decoration:none;
display:inline-block;
}
.downloadBtn:focus, .downloadBtn:focus,
.downloadBtn:hover .downloadBtn:hover