modif width button

This commit is contained in:
Marion Muszynski 2016-04-20 12:35:20 +02:00
parent d7b7e7abc6
commit 4c4c069588
2 changed files with 26 additions and 0 deletions

View File

@ -7,6 +7,19 @@
margin-top: 5px;
}
</style>
<script>
$(document).ready(function() {
if ($('#submitAccount').outerWidth() > $('a#SubmitLogin').outerWidth()) {
$('a#SubmitLogin').css({
width: $('#submitAccount').outerWidth()+'px'
});
} else {
$('#submitAccount').css({
width: $('a#SubmitLogin').outerWidth()+'px'
});
}
});
</script>
<p class="cart_navigation" id="account_form_bottom">
<a id="SubmitLogin" href="{$link->getPageLink('authentication.php')}">{l s='Already member' mod='landingpages'}</a>
</p>

View File

@ -18,6 +18,19 @@
background: #565485;
}
</style>
<script>
$(document).ready(function() {
if ($('#submitAccount').outerWidth() > $('a#SubmitLogin').outerWidth()) {
$('a#SubmitLogin').css({
width: $('#submitAccount').outerWidth()+'px'
});
} else {
$('#submitAccount').css({
width: $('a#SubmitLogin').outerWidth()+'px'
});
}
});
</script>
<p class="cart_navigation" id="account_form_bottom">
<a id="SubmitLogin" href="{$link->getPageLink('authentication.php')}">{l s='Already member' mod='landingpages'}</a>
</p>