From 2a7b957440b5e5bf402f2c735813d3e8d23131b0 Mon Sep 17 00:00:00 2001 From: Chouchen Date: Thu, 23 Sep 2010 13:44:04 +0000 Subject: [PATCH] Debug de la reserve link --- db/links.xml | 24 ++++++++++++++++++++++++ js/jquery.links.js | 9 +-------- 2 files changed, 25 insertions(+), 8 deletions(-) diff --git a/db/links.xml b/db/links.xml index 39c807d..78ffe2e 100644 --- a/db/links.xml +++ b/db/links.xml @@ -140,5 +140,29 @@ mail-yahoo.png Yahoo Mail + + http://www.meebo.com/messenger/ + popup + meebo.png + Meebo + + + http://www.mail.com + popup + mailcom.png + Mail.com + + + http://www.xp-dev.com + popup + xp-dev.png + XP-DEV + + + http://www.leboncoin.fr + popup + leboncoin.gif + LeBonCoin + \ No newline at end of file diff --git a/js/jquery.links.js b/js/jquery.links.js index 68da52f..3233e70 100644 --- a/js/jquery.links.js +++ b/js/jquery.links.js @@ -5,7 +5,6 @@ $(document).ready(function(){ // Apparition de la reserve de liens $('#links-menu').live('click', function(){ - //$('#reserve').show(); $.get('ajax/loadReserve.php', function(html){ $.fancybox( html, @@ -24,7 +23,7 @@ $(document).ready(function(){ $('#reserveiconlist .item').live('click', function(e){ e.preventDefault(); $.post("ajax/reserveToList.php", {reserve: $(this).attr('id')}); - $('.iconlist').last().append($(this).parent().html()); + $('.iconlist').last().append('
  • '+$(this).html()+'
  • '); $.fancybox.close(); }); @@ -41,12 +40,10 @@ $(document).ready(function(){ $.post("ajax/listToReserve.php", {reserve: $(this).parent().attr('id')}); $(this).parent().fadeOut(); }); - // ?? // Mouvement des liens avec enregistrement $(".iconlist").sortable( { - //distance: 45, connectWith: '.iconlist', update: function(event,ui){ var linkOrder = $(this).sortable('toArray').toString(); @@ -57,10 +54,6 @@ $(document).ready(function(){ start: function(e) { // have to remvoe click handler off item so drop doesn't click $("a.popup").unbind("click"); - }, - stop: function(e) { - //$("a.popup").bind("click", function(e){ itemClickHandler(e, $(this)); }); - //$("a.popup").click(itemClickHandler); } } ).disableSelection().mouseout(function(){