Retrait du javascript de la structure html
This commit is contained in:
parent
a9838cd5a5
commit
c34efc45f8
@ -25,19 +25,3 @@
|
||||
<?=$this->action('financiere', 'criteres')?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$( "#accordion" ).accordion({
|
||||
icons: {
|
||||
header: "ui-icon-circle-arrow-e",
|
||||
headerSelected: "ui-icon-circle-arrow-s"
|
||||
}
|
||||
});
|
||||
$( "#toggle" ).button().toggle(function() {
|
||||
$( "#accordion" ).accordion( "option", "icons", false );
|
||||
}, function() {
|
||||
$( "#accordion" ).accordion( "option", "icons", icons );
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
@ -79,10 +79,19 @@ $(document).ready(function(){
|
||||
$('.'+name).show('slide');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$( "#accordion" ).accordion({
|
||||
autoHeight: false,
|
||||
navigation: true
|
||||
navigation: true,
|
||||
icons: {
|
||||
header: "ui-icon-circle-arrow-e",
|
||||
headerSelected: "ui-icon-circle-arrow-s"
|
||||
}
|
||||
});
|
||||
$( "#toggle" ).button().toggle(function() {
|
||||
$( "#accordion" ).accordion( "option", "icons", false );
|
||||
}, function() {
|
||||
$( "#accordion" ).accordion( "option", "icons", icons );
|
||||
});
|
||||
|
||||
$( "#sortable" ).sortable({
|
||||
|
Loading…
Reference in New Issue
Block a user