paguira
Messages postés12Date d'inscriptionlundi 8 janvier 2007StatutMembreDernière intervention 1 octobre 2008
-
7 mars 2008 à 20:46
paguira
Messages postés12Date d'inscriptionlundi 8 janvier 2007StatutMembreDernière intervention 1 octobre 2008
-
18 mars 2008 à 02:34
Bonjour à tous,
Je boss actuellement sur un agenda en Ajax, pour cela j’utilise jquery et le plugin interface.
Je bloque sur le réajustement d’un événement lors d’un
surbooking (un RDV le même jour la même heure), mon événement ne reprend pas sa
taille d’origine :
}
.event_hand p{
font-size: 0.8em;
margin:0;
padding:0;
}
.event_hand img {
padding: 1px;
}
.event_hand span{
font-size: 0.8em;
color: #000000;
border: 1px solid #000000;
background-color: #FFFFFF;
}
#hour_title {
width: 55px;
height: 18px;
float: left;
background-color: #C6DEFF;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-bottom-style: solid;
border-top-color: #5D8CC9;
border-right-color: #5D8CC9;
border-bottom-color: #5D8CC9;
border-left-color: #5D8CC9;
}
.day_title{
height: 19px;
float: left;
background-image: url(css/images/agenda/day_title.gif);
background-repeat: repeat-x;
width: 110px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-right-style: solid;
border-top-color: #5D8CC9;
border-right-color: #5D8CC9;
border-bottom-color: #5D8CC9;
border-left-color: #5D8CC9;
font-size: 0.8em;
text-align: center;
font-weight: bold;
}
.box{}
#agenda_title{
position: relative;
}
#days_title {
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-right-style: solid;
border-left-style: solid;
border-top-color: #8DAED9;
border-right-color: #8DAED9;
border-bottom-color: #8DAED9;
border-left-color: #8DAED9;
width:777px;
float:left;
height:19px;
position:relative;
}
/* */
#agenda_splitter {
height: 400px;
margin: 1em 3em;
border: 4px solid #5D8CC9;
/* No padding allowed */
}
/*
* Left-side element of the splitter. Use pixel units for the
* min-width and max-width; the splitter plugin parses them to
* determine the splitter movement limits. Set the width to
* the desired initial width of the element; the plugin changes
* the width of this element dynamically.
*/
#LeftPane {
background: #efe;
padding: 4px;
overflow: auto;
width: 150px; /* optional, initial splitbar position */
min-width: 50px; /* optional */
/* No margin or border allowed */
}
/*
* Right-side element of the splitter.
*/
#RightPane {
min-width: 100px;
overflow: auto;
background-color: #C6DEFF; /* No margin or border allowed */
}
/*
* Splitter bar style; the .active class is added when the
* mouse is over the splitter or the splitter is focused
* via the keyboard taborder or an accessKey.
*/
#agenda_splitter .vsplitbar {
width: 6px;
background-color: #5D8CC9;
background-image: url(css/images/vgrabber.gif);
background-repeat: no-repeat;
background-position: center;
}
#agenda_splitter .vsplitbar.active, #agenda_splitter .vsplitbar:hover {
background: #e88 url(vgrabber.gif) no-repeat center;
}
-->
</style>
</head>
<!--
fdf fjkl
-->
<!--
-->
<!-- -->
lun
mar
mer
jeu
ven
sam
dim
<!-- -->
<!-- -->
<!-- -->
00 00
15
30
45
01 00
15
30
45
02 00
15
30
45
03 00
15
30
45
<!-- -->
<!-- -->
08h00 - 09h00
M Willy Roy-Belleplaine
10h00 - 10h30
M Willy Roy-Belleplaine
09h00 - 10h00
M Willy Roy-Belleplaine
09h00 - 10h00
M Willy Roy-Belleplaine
<!-- -->
<!--
-->
<script type="text/javascript">
/*$().ready(function() {
$("#agenda_splitter").splitter({
type: 'v',
initA: true, // use width of A (#LeftPane) from styles
accessKey: '|'
});
// Firefox doesn't fire resize on page elements
$(window).bind("resize", function(){
$("#agenda_splitter").trigger("resize");
}).trigger("resize");
});*/
</script>
//combien de secondes
sec = second - (hour * 3600) - (minute * 60);
if (sec < 10)
sec = "0" + sec;
return hour + ":" + minute + ":" + sec;
}
function BookingEvent(){
var i=1;
// on recherche tous les évènements
$(".event").each(function(){
var StartEvent = $(this).css('top');
StartEvent = StartEvent.replace("px","");
StartEvent = parseInt(StartEvent);
var hour = $(this).css('height');
hour = hour.replace("px","");
hour = parseInt(hour);
// Hauteur en px de l'heure
var HourInterval = 25;
var StartEvent = $(this).css('top');
StartEvent = StartEvent.replace("px","");
StartEvent = parseInt(StartEvent);
var hour = $(this).css('height');
hour = hour.replace("px","");
hour = parseInt(hour);
// Hauteur en px de l'heure
var HourInterval = 25;
var StartEvent = $(this).css('top');
StartEvent = StartEvent.replace("px","");
StartEvent = parseInt(StartEvent);
<script type="text/javascript">
// Gestion de l'ascenseur
var ocontainer;
var ocontent;
var spaceToScroll;
$(document).ready(
function ()
{
ocontainer = $("#agenda");
ocontent = $("#agenda_content");
cs_bultez
Messages postés13615Date d'inscriptionjeudi 13 février 2003StatutMembreDernière intervention15 octobre 201330 8 mars 2008 à 11:36
Bonjour,
à mon humble avis....
soit tu fais l'extrait de ce qui plante, tout ce qu'il faut mais pas plus
soit du donnes une adresse où tester...
en précisant... où ça pêche...