Ajout du passage liste -> reserve
This commit is contained in:
@@ -5,7 +5,7 @@ $(document).ready(function(){
|
||||
|
||||
// Apparition de la reserve de liens
|
||||
$('#links-menu').live('click', function(){
|
||||
$('#reserve').show();
|
||||
//$('#reserve').show();
|
||||
$.get('ajax/loadReserve.php', function(html){
|
||||
$.fancybox(
|
||||
html,
|
||||
@@ -24,13 +24,23 @@ $(document).ready(function(){
|
||||
$('#reserveiconlist .item').live('click', function(e){
|
||||
e.preventDefault();
|
||||
$.post("ajax/reserveToList.php", {reserve: $(this).attr('id')});
|
||||
$('#Entertainment').append($(this).parent().html());
|
||||
$('.iconlist').last().append($(this).parent().html());
|
||||
$.fancybox.close();
|
||||
});
|
||||
|
||||
|
||||
//Passage Liste => Reserve
|
||||
$('.item').mouseover(function(){
|
||||
$(this).children('.deleteLink').show();
|
||||
});
|
||||
$('.item').mouseout(function(){
|
||||
$(this).children('.deleteLink').hide();
|
||||
});
|
||||
|
||||
$('.deleteLink').click(function(){
|
||||
$.post("ajax/listToReserve.php", {reserve: $(this).parent().attr('id')});
|
||||
$(this).parent().fadeOut();
|
||||
});
|
||||
// ??
|
||||
|
||||
// Mouvement des liens avec enregistrement
|
||||
|
Reference in New Issue
Block a user