Compatibilité IE6

This commit is contained in:
Michael RICOIS 2012-01-18 11:45:59 +00:00
parent cf50bc0374
commit f01ba975c7
5 changed files with 17 additions and 1730 deletions

View File

@ -1,4 +1,4 @@
<div <?php if ($this->preferences) { ?>id="accordion" <?php } else {?> id="rappel" <?php }?>>
<div id="panel">
<?=$this->action('criteres', 'index');?>
</div>
<div id="tabs">

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +1,12 @@
$(document).ready(function(){
$( "#tabs" ).tabs({
cookie: { expires: 1 },
cookie: { expires: 1 }
});
$("li.tooltip").each(function(){
var title = $('a', this).attr('title');
var width = $(this).attr('wdth');
var width = $(this).attr('width');
$(this).qtip({
solo:true,
content: title,
@ -16,7 +16,7 @@ $(document).ready(function(){
},
position: {
my: 'top right',
at: 'bottom right',
at: 'bottom right'
}
});
});
@ -39,7 +39,7 @@ $(document).ready(function(){
stop: function( event, ui ) {
var name = $(this).attr('input');
set(name, ui.values[ 0 ] + "," + ui.values[ 1 ]);
},
}
});
$("input.datepicker").datepicker({ dateFormat: 'dd/mm/yy' } );
@ -103,7 +103,7 @@ $(document).ready(function(){
e.stopPropagation();
set($(this).attr('name'), $(this).val());
});
$('#tabs').delegate('a.interval', 'click', function(e){
e.preventDefault();
var key = $(this).attr('id');
@ -111,7 +111,7 @@ $(document).ready(function(){
set(key, values);
return false;
});
$('#tabs').delegate('a.arborescence', 'click', function(e) {
e.preventDefault();
var title = $(this).attr('title');
@ -143,7 +143,7 @@ $(document).ready(function(){
$('<div id="dialogtree"></div>').dialog(dialogOpts);
return false;
});
});
function set(key, value)

View File

@ -26,6 +26,6 @@ $(document).ready(function(){
$('<div id="dialogsaveciblage"></div>').dialog(dialogOpts);
return false;
});
});

View File

@ -213,22 +213,21 @@ h3 {
width:700px;
}
#accordion {
#panel {
background: #ffffff;
color: #000000;
float:right;
width:280px;
margin:2px;
margin:2px 0;
padding:2px;
}
#accordion {
}
#rappel {
background: #ffffff;
color: #000000;
float:right;
width:280px;
margin:2px;
padding:2px;
}
.ui-accordion .ui-accordion-content {