IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

JavaScript Discussion :

pb bouton suivant et precedent


Sujet :

JavaScript

  1. #1
    Membre habitué
    Profil pro
    Inscrit en
    Février 2006
    Messages
    321
    Détails du profil
    Informations personnelles :
    Localisation : France, Nord (Nord Pas de Calais)

    Informations forums :
    Inscription : Février 2006
    Messages : 321
    Points : 142
    Points
    142
    Par défaut pb bouton suivant et precedent
    Voila, mon soucis, je dois faire un petit script qui permet sur la page d'accueil du site, de faire defiler les infos du jour.
    Voici le code que j'ai fait et qui marche:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
     
    <?
    require_once($GLOBALS[DOCUMENT_ROOT]."/inc/****.php");         //  les classes
    require_once($GLOBALS[DOCUMENT_ROOT]."/inc/******.php");   // la session
    ?>
    <table align="center" border="0" cellspacing="0" cellpadding="0" >
    	<tr>
        	<td width="17"><a href="#"><img border="0" src="/new_charte/images/index/fildinfos_03.gif" ></a>
    		</td>
            <td style="background-image:url(/new_charte/images/index/fildinfos_04.gif);background-repeat: repeat-x;font-family:Arial, Helvetica, sans-serif; font-size:12px;" valign="middle">
    		</td>
    		<td  width="17"><a href="#"><img src="/new_charte/images/index/fildinfos_06.gif" border="0"></a>
    		</td>
    	</tr>
    </table>
     
    <script language="JavaScript1.2">
    // Les variables de style à changer :
    var scrollerwidth='150px' // Largeur
    var scrollerheight='180px' // Hauteur
    var scrollerbgcolor='#f6f5fd' // Couleur de fond
    var scrollerbackground='' // L'image de fond
    var scrollertime='4000' // temps d'attente entre chaque info
     
    <?
    //constantes
    $art_a_afficher="10";
    $nbre_carac="100";
     
    mysql_select_db($database_CONN_MAB, $connexion);
    $query_news = "SELECT NEWS_ARTICLE.*, NEWS_RUBRIQUE.RUBRIQUE FROM NEWS_ARTICLE, NEWS_RUBRIQUE WHERE NEWS_ARTICLE.ID_RUBRIQUE=NEWS_RUBRIQUE.ID_RUBRIQUE and ETAT='V' and (NEWS_ARTICLE.LANGUAGE='".$_SESSION['site_language']."' or NEWS_ARTICLE.LANGUAGE='INT') ORDER BY DATE DESC, HEURE DESC limit 0,". $art_a_afficher;
    $news = mysql_query($query_news, $connexion) or die(mysql_error());
    $totalRows_news = mysql_num_rows($news);
    $i=0;
    $messages=array();
    while ($row_news = mysql_fetch_assoc($news))
    {
    	$ppp = "SELECT customers_login from osc_customers where customers_id=".$row_news['ID_PERSONNE'];
    	$pp = mysql_fetch_assoc(mysql_query($ppp, $connexion));
    	$string[$i]=$row_news['TEXTE'];
     
    	$messages[$i]="<img src=# height=8 width=4> le <b>".substr($row_news['DATE'],8,2)."/".substr($row_news['DATE'],5,2)." </b><a href=/news/archives_". $row_news['SEMAINE'] .".htm#". $row_news['ID_NEWS'] .">". $row_news['TITRE'] ."</a><br /><div align=right> par ".$pp[customers_login]."</div><br />".substr(strip_tags(preg_replace('/\s\s+/', ' ',ereg_replace("[\r\n\t]", ' ', html_entity_decode($row_news['TEXTE'])))),0,$nbre_carac)." ...<br /><div align=right>".$row_news['NB_COMMENT']." réacs</div>";
     
    	$i=$i+1;
    } 
    /*echo implode("\",\"", $messages);
    exit;*/
    echo "var messages = new Array(\"" . implode("\",\"", $messages) . "\");";
     
    ?>
     
    // Ne plus rien changer dessous
    var ie=document.all
    var dom=document.getElementById
    if (messages.length>2)
    	i=2
    else
    	i=0
     
     
     
    function move1(whichlayer)
    {
    	tlayer=eval(whichlayer)
    	if (tlayer.top>0&&tlayer.top<=5)
    	{
    		tlayer.top=0
    		setTimeout("move1(tlayer)",scrollertime)
    		setTimeout("move2(document.main.document.second)",scrollertime)
    		return
    	}
    	if (tlayer.top>=tlayer.document.height*-1)
    	{
    		tlayer.top-=5
    		setTimeout("move1(tlayer)",50)
    	}
    	else
    	{
    		tlayer.top=parseInt(scrollerheight)
    		tlayer.document.write(messages[i])
    		tlayer.document.close()
    		if (i==messages.length-1)
    			i=0
    		else
    			i++
    	}
    }
     
    function move2(whichlayer)
    {
    	tlayer2=eval(whichlayer)
    	if (tlayer2.top>0&&tlayer2.top<=5)
    	{
    		tlayer2.top=0
    		setTimeout("move2(tlayer2)",scrollertime)
    		setTimeout("move1(document.main.document.first)",scrollertime)
    		return
    	}
    	if (tlayer2.top>=tlayer2.document.height*-1)
    	{
    		tlayer2.top-=5
    		setTimeout("move2(tlayer2)",50)
    	}
    	else
    	{
    		tlayer2.top=parseInt(scrollerheight)
    		tlayer2.document.write(messages[i])
    		tlayer2.document.close()
    		if (i==messages.length-1)
    			i=0
    		else
    			i++
    	}
    }
     
    function move3(whichdiv)
    {
    	tdiv=eval(whichdiv)
    	if (parseInt(tdiv.style.top)>0&&parseInt(tdiv.style.top)<=5)
    	{
    		tdiv.style.top=0+"px"
    		setTimeout("move3(tdiv)",scrollertime)
    		setTimeout("move4(second2_obj)",scrollertime)
    		return
    	}
    	if (parseInt(tdiv.style.top)>=tdiv.offsetHeight*-1)
    	{
    		tdiv.style.top=parseInt(tdiv.style.top)-5+"px"
    		setTimeout("move3(tdiv)",50)
    	} 
    	else
    	{
    		tdiv.style.top=parseInt(scrollerheight)
    		tdiv.innerHTML=messages[i]
    		if (i==messages.length-1)
    			i=0
    		else
    			i++
    	}
    }
     
    function move4(whichdiv)
    {
    	tdiv2=eval(whichdiv)
    	if (parseInt(tdiv2.style.top)>0&&parseInt(tdiv2.style.top)<=5)
    	{
    		tdiv2.style.top=0+"px"
    		setTimeout("move4(tdiv2)",scrollertime)
    		setTimeout("move3(first2_obj)",scrollertime)
    		return
    	}
    	if (parseInt(tdiv2.style.top)>=tdiv2.offsetHeight*-1)
    	{
    		tdiv2.style.top=parseInt(tdiv2.style.top)-5+"px"
    		setTimeout("move4(second2_obj)",50)
    	}
    	else
    	{
    		tdiv2.style.top=parseInt(scrollerheight)
    		tdiv2.innerHTML=messages[i]
    		if (i==messages.length-1)
    			i=0
    		else
    			i++
    	}
    }
     
    function startscroll()
    {
    	if (ie||dom)
    	{
    		first2_obj=ie? first2 : document.getElementById("first2")
    		second2_obj=ie? second2 : document.getElementById("second2")
    		move3(first2_obj)
    		second2_obj.style.top=scrollerheight
    		second2_obj.style.visibility='visible'
    	}
    	else if (document.layers)
    	{
    		document.main.visibility='show'
    		move1(document.main.document.first)
    		document.main.document.second.top=parseInt(scrollerheight)+5
    		document.main.document.second.visibility='show'
    	}
    }
     
    window.onload=startscroll
    </script>
    <table border="0" align="center" cellspacing="0">
      <tr><td style="background-repeat: repeat-x;font-family:Arial, Helvetica, sans-serif; font-size:12px;" valign="middle">
    <ilayer id="main" width=&{scrollerwidth}; height=&{scrollerheight}; bgColor=&{scrollerbgcolor}; background=&{scrollerbackground}; visibility=hide>
    <layer id="first" left=0 top=1 width=&{scrollerwidth};>
    <script language="JavaScript1.2">
    if (document.layers)
    document.write(messages[0])
    </script>
    </layer>
    <layer id="second" left=0 top=0 width=&{scrollerwidth}; visibility=hide>
    <script language="JavaScript1.2">
    if (document.layers)
    document.write(messages[dyndetermine=(messages.length==1)? 0 : 1])
    </script>
    </layer>
    </ilayer>
    <script language="JavaScript1.2">
    if (ie||dom){
    document.writeln('<div id="main2" style="position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hidden;background-color:'+scrollerbgcolor+' ;background-image:url('+scrollerbackground+')">')
    document.writeln('<div style="position:absolute;width:'+scrollerwidth+';height:'+scrollerheight+';clip:rect(0 '+scrollerwidth+' '+scrollerheight+' 0);left:0px;top:0px">')
    document.writeln('<div id="first2" style="position:absolute;width:'+scrollerwidth+';left:0px;top:1px;">')
    document.write(messages[0])
    document.writeln('</div>')
    document.writeln('<div id="second2" style="position:absolute;width:'+scrollerwidth+';left:0px;top:0px;visibility:hidden">')
    document.write(messages[dyndetermine=(messages.length==1)? 0 : 1])
    document.writeln('</div>')
    document.writeln('</div>')
    document.writeln('</div>')
    }
    </script>
    </td></tr>
     
    </table>
    j'ai bien mes infos qui defilent les unes a la suite des autres avec un temps d'attente entre chaque info de 4 secondes.

    Ce que je veux faire, c'est un bouton précédent et un bouton suivant pour soit revenir à l'info précédente ou passer à l'info suivante. Et qu'ensuite le défilement reprend.

    Si quelqu'un à déjà fait ceci, ça serait sympa de m'aiguiller car je n'ai aucune piste, d'avance merci

  2. #2
    Membre habitué
    Profil pro
    Inscrit en
    Février 2006
    Messages
    321
    Détails du profil
    Informations personnelles :
    Localisation : France, Nord (Nord Pas de Calais)

    Informations forums :
    Inscription : Février 2006
    Messages : 321
    Points : 142
    Points
    142
    Par défaut
    dites moi si c'est pas clair!!!!

  3. #3
    Inactif  
    Avatar de Kerod
    Profil pro
    Inscrit en
    Septembre 2004
    Messages
    11 672
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2004
    Messages : 11 672
    Points : 20 778
    Points
    20 778
    Par défaut
    Ton message il est contenu dans un tableau et donc à chaque message un indice, il faudrait peut etre jouer sur ceci
    Garder en mémoire quelque part l'indice actuellement affiché puis sur le bouton récupérer cette indice et ressortir le message à indice-1 si bien sur c'est pas le premier message. De même si tu veux faire un bouton suivant.

    Pour le garder en mémoire tu as plusieurs possibilités, un hidden ou autre (peut etre une variable globale en js)

  4. #4
    Membre habitué
    Profil pro
    Inscrit en
    Février 2006
    Messages
    321
    Détails du profil
    Informations personnelles :
    Localisation : France, Nord (Nord Pas de Calais)

    Informations forums :
    Inscription : Février 2006
    Messages : 321
    Points : 142
    Points
    142
    Par défaut
    j'ai modifié mon code mais le probleme reste le meme:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
     
    <?
    require_once($GLOBALS[DOCUMENT_ROOT]."/inc/global.inc.php");         //  les classes
    require_once($GLOBALS[DOCUMENT_ROOT]."/inc/session_club.inc.php");   // la session
    ?>
    <style type="text/css">
     
    #pscroller1{
    width: 150px;
    height: 180px;
    background-color: #f6f5fd;
    }
     
    .someclass{ //class to apply to your scroller(s) if desired
    }
     
    </style>
    <table align="center" border="0" cellspacing="0" cellpadding="0" >
    	<tr>
        	<td width="17"><a href="/news/index.php"><img border="0" src="/new_charte/images/index/fildinfos_03.gif" ></a>
    		</td>
            <td style="background-image:url(/new_charte/images/index/fildinfos_04.gif);background-repeat: repeat-x;font-family:Arial, Helvetica, sans-serif; font-size:12px;" valign="middle">
    		</td>
    		<td  width="17"><a href="/news/index.php"><img src="/new_charte/images/index/fildinfos_06.gif" border="0"></a>
    		</td>
    		</td>
    	</tr>
    </table>
    <script type="text/javascript">
    var pointeur_temp=""
    <?
    //constantes
    $art_a_afficher="10";
    $nbre_carac="100";
     
    mysql_select_db($database_CONN_MAB, $connexion);
    $query_news = "SELECT NEWS_ARTICLE.*, NEWS_RUBRIQUE.RUBRIQUE FROM NEWS_ARTICLE, NEWS_RUBRIQUE WHERE NEWS_ARTICLE.ID_RUBRIQUE=NEWS_RUBRIQUE.ID_RUBRIQUE and ETAT='V' and (NEWS_ARTICLE.LANGUAGE='".$_SESSION['site_language']."' or NEWS_ARTICLE.LANGUAGE='INT') ORDER BY DATE DESC, HEURE DESC limit 0,". $art_a_afficher;
    $news = mysql_query($query_news, $connexion) or die(mysql_error());
    $totalRows_news = mysql_num_rows($news);
    $i=0;
    $messages=array();
    while ($row_news = mysql_fetch_assoc($news))
    {
    	$ppp = "SELECT customers_login from osc_customers where customers_id=".$row_news['ID_PERSONNE'];
    	$pp = mysql_fetch_assoc(mysql_query($ppp, $connexion));
     
    	$messages[$i]="<img src=http://www.moveandbe.com/img/fl.gif height=8 width=4> le <b>".substr($row_news['DATE'],8,2)."/".substr($row_news['DATE'],5,2)." </b><a href=/news/archives_". $row_news['SEMAINE'] .".htm#". $row_news['ID_NEWS'] .">". $row_news['TITRE'] ."</a><br /><div align=right> par ".$pp[customers_login]."</div><br />".substr(strip_tags(preg_replace('/\s\s+/', ' ',ereg_replace("[\r\n\t]", ' ',html_entity_decode($row_news['TEXTE'])))),0,$nbre_carac)." ...<br /><div align=right>".$row_news['NB_COMMENT']." réacs</div>";
     
     
    	$i=$i+1;
    }
    /*echo implode("\",\"", $messages);
    exit;*/
    echo "var pausecontent = new Array(\"" . implode("\",\"", $messages) . "\");";
     
    ?>
     
    function pausescroller(content, divId, divClass, delay){
    this.content=content //message array content
    this.tickerid=divId //ID of ticker div to display information
    this.delay=delay //Delay between msg change, in miliseconds.
    this.mouseoverBol=0 //Boolean to indicate whether mouse is currently over scroller (and pause it if it is)
    this.hiddendivpointer=1 //index of message array for hidden div
    document.write('<div id="'+divId+'" class="'+divClass+'" style="position: relative; overflow: hidden"><div class="innerDiv" style="position: absolute; width: 100%" id="'+divId+'1">'+content[0]+'</div><div class="innerDiv" style="position: absolute; width: 100%; visibility: hidden" id="'+divId+'2">'+content[1]+'</div></div>')
    var scrollerinstance=this
    if (window.addEventListener) //run onload in DOM2 browsers
    window.addEventListener("load", function(){scrollerinstance.initialize()}, false)
    else if (window.attachEvent) //run onload in IE5.5+
    window.attachEvent("onload", function(){scrollerinstance.initialize()})
    else if (document.getElementById) //if legacy DOM browsers, just start scroller after 0.5 sec
    setTimeout(function(){scrollerinstance.initialize()}, 500)
    }
     
    pausescroller.prototype.initialize=function(){
    this.tickerdiv=document.getElementById(this.tickerid)
    this.visiblediv=document.getElementById(this.tickerid+"1")
    this.hiddendiv=document.getElementById(this.tickerid+"2")
    this.visibledivtop=parseInt(pausescroller.getCSSpadding(this.tickerdiv))
    //set width of inner DIVs to outer DIV's width minus padding (padding assumed to be top padding x 2)
    this.visiblediv.style.width=this.hiddendiv.style.width=this.tickerdiv.offsetWidth-(this.visibledivtop*2)+"px"
    this.getinline(this.visiblediv, this.hiddendiv)
    this.hiddendiv.style.visibility="visible"
    var scrollerinstance=this
    document.getElementById(this.tickerid).onmouseover=function(){scrollerinstance.mouseoverBol=1}
    document.getElementById(this.tickerid).onmouseout=function(){scrollerinstance.mouseoverBol=0}
    if (window.attachEvent) //Clean up loose references in IE
    window.attachEvent("onunload", function(){scrollerinstance.tickerdiv.onmouseover=scrollerinstance.tickerdiv.onmouseout=null})
    setTimeout(function(){scrollerinstance.animateup()}, this.delay)
    }
     
    pausescroller.prototype.animateup=function(){
    var scrollerinstance=this
    if (parseInt(this.hiddendiv.style.top)>(this.visibledivtop+5)){
    this.visiblediv.style.top=parseInt(this.visiblediv.style.top)-5+"px"
    this.hiddendiv.style.top=parseInt(this.hiddendiv.style.top)-5+"px"
    setTimeout(function(){scrollerinstance.animateup()}, 50)
    }
    else{
    this.getinline(this.hiddendiv, this.visiblediv)
    this.swapdivs()
    setTimeout(function(){scrollerinstance.setmessage()}, this.delay)
    }
    }
     
    pausescroller.prototype.swapdivs=function(){
    var tempcontainer=this.visiblediv
    this.visiblediv=this.hiddendiv
    this.hiddendiv=tempcontainer
    }
     
    pausescroller.prototype.getinline=function(div1, div2){
    div1.style.top=this.visibledivtop+"px"
    div2.style.top=Math.max(div1.parentNode.offsetHeight, div1.offsetHeight)+"px"
    }
    pausescroller.prototype.setmessage=function(){
    var scrollerinstance=this
    if (this.mouseoverBol==1)
    setTimeout(function(){scrollerinstance.setmessage()}, 100)
    else{
    var i=this.hiddendivpointer
    var ceiling=this.content.length
    this.hiddendivpointer=(i+1>ceiling-1)? 0 : i+1
    this.hiddendiv.innerHTML=this.content[this.hiddendivpointer]
    this.animateup()
    }
    }
     
    pausescroller.getCSSpadding=function(tickerobj){ 
    if (tickerobj.currentStyle)
    return tickerobj.currentStyle["paddingTop"]
    else if (window.getComputedStyle) 
    return window.getComputedStyle(tickerobj, "").getPropertyValue("padding-top")
    else
    return 0
    }
     
    function reload()
    {
    	scrollerinstance.hiddendivpointer=scrollerinstance.hiddendivpointer-1
    }
    </script>
     
    <table border="0" align="center" cellspacing="0">
      <tr><td style="background-repeat: repeat-x;font-family:Arial, Helvetica, sans-serif; font-size:12px;" valign="middle">
    <script type="text/javascript">
    new pausescroller(pausecontent, "pscroller1", "someclass", 3000)
    </script>
    </td></tr>
    <tr height="30" width="150"><td>
    <img src="http://www.moveandbe.com/img/fl2.gif" height=8 width=4 align="left" onclick="reload()" />
    <img src="http://www.moveandbe.com/img/fl.gif" height=8 width=4 align="right" />
    </td></tr>
    </table>

  5. #5
    Membre habitué
    Profil pro
    Inscrit en
    Février 2006
    Messages
    321
    Détails du profil
    Informations personnelles :
    Localisation : France, Nord (Nord Pas de Calais)

    Informations forums :
    Inscription : Février 2006
    Messages : 321
    Points : 142
    Points
    142
    Par défaut
    Kerod je comprend ce que tu me propose de faire mais je n'arrive à l'appliquer

  6. #6
    Membre habitué
    Profil pro
    Inscrit en
    Février 2006
    Messages
    321
    Détails du profil
    Informations personnelles :
    Localisation : France, Nord (Nord Pas de Calais)

    Informations forums :
    Inscription : Février 2006
    Messages : 321
    Points : 142
    Points
    142
    Par défaut
    bon je vois que personne n'a d'idée

    Pourtant je pensais avoir déjà vu ça sur d'autres site et donc ça me semblais faisable pour des pros du javascript


  7. #7
    Inactif  
    Avatar de Kerod
    Profil pro
    Inscrit en
    Septembre 2004
    Messages
    11 672
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2004
    Messages : 11 672
    Points : 20 778
    Points
    20 778
    Par défaut
    J'ai pas regardé ton code car il me fait mal aux yeux

    Mais mon idée est la suivante (je me base sur ce que tu as dit, tous les messages sont stockés dans un tableau et je suppose que c'est un tableau javascript) :
    • On crée une variable temporaire, globale qui aura pour but de connaitre la position du message affichée.
    • Dans ta fonction qui fait défiler tes messages, on incrémente notre var temporaire en fonction du champ du tableau.
    • Maintenant pour ce qui est de l'affichage du message sur le bouton précédent : Tu récupères ta variable globale et tu affiches le contenu du tableau à la position de ta var temporaire(bien sur il faut tester pour voir s'il y a un message avant c'est-à-dire qu'il faut que ta var soit supérieur à 0 pour pouvoir faire précédent et etc...)
    Je pense que ca être une bonne idée, à améliorer certainement

  8. #8
    Membre habitué
    Profil pro
    Inscrit en
    Février 2006
    Messages
    321
    Détails du profil
    Informations personnelles :
    Localisation : France, Nord (Nord Pas de Calais)

    Informations forums :
    Inscription : Février 2006
    Messages : 321
    Points : 142
    Points
    142
    Par défaut
    J'ai pas regardé ton code car il me fait mal aux yeux
    ça je me doute qui fait mal aux yeux et analyser le code de quelqu'un d'autres, c'est des fois plus de boulot que de refaire un nouveau script

    Pour ton idée, je trouve que c'est une bonne piste, je vais essayer de l'approfondir.

    En tout cas, merci de me consacrer un peu temps pour me répondre

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Réponses: 6
    Dernier message: 16/04/2009, 17h00
  2. les boutons suivant et precedant
    Par sky88 dans le forum VB.NET
    Réponses: 4
    Dernier message: 06/02/2009, 22h42
  3. calcul bouton suivant et precedent
    Par samspitz dans le forum ASP
    Réponses: 3
    Dernier message: 11/10/2006, 19h44
  4. Réponses: 1
    Dernier message: 11/09/2006, 20h07
  5. Réponses: 2
    Dernier message: 24/04/2006, 13h56

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo