css+ script

This commit is contained in:
Damien LASSERRE 2012-01-20 14:35:37 +00:00
parent 1de0e48e07
commit 35103184a1
2 changed files with 15 additions and 2 deletions

View File

@ -111,7 +111,15 @@ $(document).ready(function(){
set(key, values);
return false;
});
$('#tabs').delegate('a.intervalSelect', 'click', function(e){
e.preventDefault();
var key = $(this).attr('id');
var values = $('select[name='+key+'1] option:selected').val()+','+$('select[name='+key+'2] option:selected').val();
set(key, values);
return false;
});
$('#tabs').delegate('a.arborescence', 'click', function(e) {
e.preventDefault();
var title = $(this).attr('title');

View File

@ -341,7 +341,7 @@ table.ciblage td {
width: 110px;
}
.field input, .field select, .field textarea {
.field input, .field textarea {
font-size: 0.9em;
margin: 2px 0;
border:1px solid #000000;
@ -362,3 +362,8 @@ table.ciblage td {
.interval input[type=text] {
width:100px;
}
.intervalSelect
{
width:100px;
}