Menu asp, potentiel de referencement

WRInaute discret
Bonjour à tous,

J'ai posté ce message sur deux forums auparavant, et j'ai reçu deux réponses plus ou moins contradictoires...

Je souhaiterais avoir votre avis sur la capacité d'aide au référencement de ce menu : http://www.obout.com/sm/pro_5.asp?sm=pro_5
J'entend par la savoir si Google est-il capable d'y suivre les liens durs?

De plus, la situation est-elle la même si le menu en .txt est généré par un include(php)?

Merci pour vos avis... A bientôt
 
WRInaute accro
Le robot lit le résultat final, peu importe comment il a été inscrit dans la page.
Tu fais un test, tu lis le code source et tu as ta réponse.
 
WRInaute discret
Je ne peux justement pas faire de test et je ne sais pas intérpréter le code pour voir s'il va ou non...

Code:
<BODY>
<TABLE style="POSITION: relative; TOP: -4px" cellSpacing=0 cellPadding=0 
width="100%" border=0>
  <TBODY> 
  <TR> 
    <TD width=181></TD>
    <TD 
    style="PADDING-LEFT: 8px; FONT: 11px verdana; BORDER-LEFT: #74c6f4 1px solid; PADDING-TOP: 8px" 
    vAlign=top align=left> 
      <TABLE cellSpacing=10 cellPadding=10 width=491 align=left border=0>
        <TBODY> 
        <TR> 
          <TD vAlign=top align=middle width=160> 
            
            <LINK 
            href="Slide Menu - SlideMenu - ASP and ASP_net - obout_fichiers/05.css" 
            rel=stylesheet>
            <SCRIPT language=javascript id=clientEventHandlersJS><!--
 var SMinitiallyOpenSub0 = "SM01Sub"; var SMheightToOpen0 = 110; var SMspeed0 = 1; var SMstep0 = 15; var SMableToCloseSub0 = true; var SMobjOpen0 = null; var SMobj0 = null; var SMtimer0 = null; var SMopening0 = false; var SMisWorking0 = false; var SMtmpNeedOpen0 = 0; var SMtmpNeedClose0 = 0; var SMToOpen0 = -1; var SMCaller0 = null; var SMCallerOpen0 = null; var SMFS0 = false; var SMCallerName0 = "SM01"; var SMSl0; function SMpoc0(SMsubName, SMCaller, SMSlide) { SMSl0 = SMSlide; SMCaller0 = SMCaller; SMToOpen0 = parseInt(SMheightToOpen0); if(SMisWorking0 == false) { SMobj0 = document.getElementById(SMsubName); if(SMinitiallyOpenSub0 != "") { SMobjOpen0 = document.getElementById(SMinitiallyOpenSub0); SMinitiallyOpenSub0 = ""; SMCallerOpen0 = document.getElementById(SMCallerName0); SMCallerName0 = ""; } if(SMobjOpen0 != null) { SMtmpNeedClose0 = parseInt(SMobjOpen0.style.height); } SMtimer0 = window.setInterval("SMda0()", SMspeed0); } } function SMpoc20(SMsubName, toOpen, SMCaller, SMSlide) { SMSl0 = SMSlide; SMCaller0 = SMCaller; SMToOpen0 = parseInt(toOpen); if(SMisWorking0 == false) { SMobj0 = document.getElementById(SMsubName); if(SMinitiallyOpenSub0 != "") { SMobjOpen0 = document.getElementById(SMinitiallyOpenSub0); SMinitiallyOpenSub0 = ""; SMCallerOpen0 = document.getElementById(SMCallerName0); SMCallerName0 = ""; } if(SMobjOpen0 != null) { SMtmpNeedClose0 = parseInt(SMobjOpen0.style.height); } SMtimer0 = window.setInterval("SMda0()", SMspeed0); } } function SMda0() { if(SMobjOpen0 == null) { SMoo0(); } else if(SMobjOpen0 == SMobj0) { if(SMableToCloseSub0 == true) { SMco0(); } else { window.clearInterval(SMtimer0); } } else { SMoo20(); } } function SMoo0() {  if(SMSl0 == 0) { SMcs0(SMCaller0, "SM_ps", ""); SMCallerOpen0 = SMCaller0; window.clearInterval(SMtimer0); SMsl0 = 1; return; } SMisWorking0 = true; if(SMToOpen0 > 0) { SMobj0.style.display = "block"; } if(SMtmpNeedOpen0 + SMstep0 <= SMToOpen0) { SMobj0.style.height = SMtmpNeedOpen0 + SMstep0; SMtmpNeedOpen0 = SMtmpNeedOpen0 + SMstep0; } else { window.clearInterval(SMtimer0); SMobj0.style.height = SMToOpen0; SMcs0(SMCaller0, "SM_ps", ""); if(SMCallerOpen0 != null) { SMFS0 = true; SMcs0(SMCallerOpen0, "SM_p", ""); SMFS0 = false; } SMCallerOpen0 = SMCaller0; SMobjOpen0 = SMobj0; SMtmpNeedOpen0 = 0; SMisWorking0 = false; SMToOpen0 = -1; } } function SMco0() { if(SMSl0 == 0) { window.clearInterval(SMtimer0); SMsl0 = 1; return; } SMisWorking0 = true; if(SMtmpNeedClose0 - SMstep0 < SMstep0) { window.clearInterval(SMtimer0); SMobjOpen0.style.display = "none"; SMobjOpen0.style.height = 1; SMobjOpen0 = null; SMisWorking0 = false; SMtmpNeedClose0 = 0; SMFS0 = true; SMcs0(SMCallerOpen0, "SM_p", ""); SMCallerOpen0 = null; SMFS0 = false; } else { SMobjOpen0.style.height = SMtmpNeedClose0 - SMstep0; } SMtmpNeedClose0 = SMtmpNeedClose0 - SMstep0; } function SMoo20() { if(SMSl0 == 0) { SMcs0(SMCaller0, "SM_ps", ""); SMFS0 = true; if(SMCallerOpen0 != null && SMCallerOpen0 != SMCaller0) { SMcs0(SMCallerOpen0, "SM_p", ""); } SMCallerOpen0 = SMCaller0; SMFS0 = false; window.clearInterval(SMtimer0); SMsl0 = 1; return; } SMisWorking0 = true; if(SMToOpen0 > 0) { SMobj0.style.display = "block"; } if(SMtmpNeedOpen0 + SMstep0 <= SMToOpen0) { SMobj0.style.height = SMtmpNeedOpen0 + SMstep0; SMtmpNeedOpen0 = SMtmpNeedOpen0 + SMstep0; } if(SMtmpNeedClose0 - SMstep0 >= 1) { SMobjOpen0.style.height = SMtmpNeedClose0 - SMstep0; SMtmpNeedClose0 = SMtmpNeedClose0 - SMstep0; } else { SMobjOpen0.style.display = "none"; if(SMtmpNeedOpen0 + SMstep0 > SMToOpen0 && SMtmpNeedClose0 - SMstep0 < 1) { window.clearInterval(SMtimer0); SMobj0.style.height = SMToOpen0; SMobjOpen0.style.display = "none"; SMobjOpen0.style.height = 1; SMobjOpen0 = null; SMobjOpen0 = SMobj0; SMtmpNeedOpen0 = 0; SMtmpNeedClose0 = 0; SMisWorking0 = false; SMToClose0 = -1; SMcs0(SMCaller0, "SM_ps", ""); SMFS0 = true; SMcs0(SMCallerOpen0, "SM_p", ""); SMCallerOpen0 = SMCaller0; SMFS0 = false; } } } function SMcs0(SMobj, SMstyle, SMimage) { if(SMCallerName0.length > 0)  if(SMobj == document.getElementById(SMCallerName0)) return; if((SMobj == SMCallerOpen0 && SMFS0 == false)) return; if(SMstyle != "") { SMobj.className = SMstyle; } if(SMimage != "") { (document.getElementById(SMobj.id + "I")).src = SMimage;  } }//--></SCRIPT>
            <TABLE 
            style="BORDER-RIGHT: white 2px solid; BORDER-LEFT: white 2px solid; BORDER-BOTTOM: white 2px solid" 
            cellSpacing=0 cellPadding=0 border=0>
              <TBODY> 
              <TR> 
                <TD> 
                  <DIV class=SM_ps id=SM01 
                  onmouseover='SMcs0(this, "SM_po", "")' 
                  style="BORDER-TOP: white 2px solid; WIDTH: 160px; POSITION: relative; TOP: 0px" 
                  onclick='SMpoc0("SM01Sub", this, 1)' 
                  onmouseout='SMcs0(this, "SM_p", "")'> 
                    <TABLE cellSpacing=0 cellPadding=0 width=160 border=0>
                      <TBODY> 
                      <TR> 
                        <TD align=left width=10><IMG 
                        src="Slide Menu - SlideMenu - ASP and ASP_net - obout_fichiers/05_left.gif"></TD>
                        <TD class=sm_t>Company Home</TD>
                        <TD align=right width=10><IMG 
                        src="Slide Menu - SlideMenu - ASP and ASP_net - obout_fichiers/05_right.gif"></TD>
                      </TR>
                      </TBODY> 
                    </TABLE>
                  </DIV>
                  <DIV class=SM_cb id=SM01Sub 
                  style="DISPLAY: block; OVERFLOW: hidden; WIDTH: 160px; POSITION: relative; TOP: 0px; HEIGHT: 110px"><A 
                  href="http://www.obout.com/sm/pro_5.asp?sm=pro_5&amp;j=sm2_0"> 
                    <DIV class=SM_cs id=SM019Sub19 
                  style="BORDER-TOP: white 2px solid; WIDTH: 160px">Entertainment</DIV>
                    </A><A 
                  href="http://www.obout.com/sm/pro_5.asp?sm=pro_5&amp;j=sm2_1"> 
                    <DIV class=SM_c id=SM029Sub29 
                  onmouseover='SMcs0(this, "SM_co", "")' 
                  style="BORDER-TOP: white 2px solid; WIDTH: 160px" 
                  onmouseout='SMcs0(this, "SM_c", "")'>Games</DIV>
                    </A>
---
---
	<A 
                  href="http://www.obout.com/sm/pro_5.asp?sm=pro_5&amp;j=sm2_27"> 
                    <DIV class=SM_c id=SM0375Sub375 
                  onmouseover='SMcs0(this, "SM_co", "")' 
                  style="BORDER-TOP: white 2px solid; WIDTH: 160px" 
                  onmouseout='SMcs0(this, "SM_c", "")'>Free Product Info</DIV>
                    </A> 
                    <DIV 
                  style="BORDER-TOP: white 2px solid; OVERFLOW: hidden; WIDTH: 100%; HEIGHT: 1px"></DIV>
                  </DIV>
                </TD>
              </TR>
              </TBODY> 
            </TABLE>
            <!-- obout ASP Slide Menu Component   http://www.slidemenu.com -->
          </TD>
          <TD 
            width=292></TD>
        </TR>
        <TR> 
          <TD height="321"></TD>
          <TD></TD>
        </TR>
        </TBODY> 
      </TABLE>
    </TD>
  </TR>
  </TBODY>
</TABLE>
<DIV style="POSITION: relative; TOP: -16px"><IMG 
src="Slide Menu - SlideMenu - ASP and ASP_net - obout_fichiers/bottom2.gif" 
border=0> </DIV></BODY>
 
WRInaute discret
monky,

si tu peux, place tout le javascript suivant dans un fichier externe car il va rendre les robots malade :)
Code:
    <SCRIPT language=javascript id=clientEventHandlersJS><!--
 var SMinitiallyOpenSub0 = "SM01Sub"; var SMheightToOpen0 = 110; var SMspeed0 = 1; var SMstep0 = 15; var SMableToCloseSub0 = true; var SMobjOpen0 = null; var SMobj0 = null; var SMtimer0 = null; var SMopening0 = false; var SMisWorking0 = false; var SMtmpNeedOpen0 = 0; var SMtmpNeedClose0 = 0; var SMToOpen0 = -1; var SMCaller0 = null; var SMCallerOpen0 = null; var SMFS0 = false; var SMCallerName0 = "SM01"; var SMSl0; function SMpoc0(SMsubName, SMCaller, SMSlide) { SMSl0 = SMSlide; SMCaller0 = SMCaller; SMToOpen0 = parseInt(SMheightToOpen0); if(SMisWorking0 == false) { SMobj0 = document.getElementById(SMsubName); if(SMinitiallyOpenSub0 != "") { SMobjOpen0 = document.getElementById(SMinitiallyOpenSub0); SMinitiallyOpenSub0 = ""; SMCallerOpen0 = document.getElementById(SMCallerName0); SMCallerName0 = ""; } if(SMobjOpen0 != null) { SMtmpNeedClose0 = parseInt(SMobjOpen0.style.height); } SMtimer0 = window.setInterval("SMda0()", SMspeed0); } } function SMpoc20(SMsubName, toOpen, SMCaller, SMSlide) { SMSl0 = SMSlide; SMCaller0 = SMCaller; SMToOpen0 = parseInt(toOpen); if(SMisWorking0 == false) { SMobj0 = document.getElementById(SMsubName); if(SMinitiallyOpenSub0 != "") { SMobjOpen0 = document.getElementById(SMinitiallyOpenSub0); SMinitiallyOpenSub0 = ""; SMCallerOpen0 = document.getElementById(SMCallerName0); SMCallerName0 = ""; } if(SMobjOpen0 != null) { SMtmpNeedClose0 = parseInt(SMobjOpen0.style.height); } SMtimer0 = window.setInterval("SMda0()", SMspeed0); } } function SMda0() { if(SMobjOpen0 == null) { SMoo0(); } else if(SMobjOpen0 == SMobj0) { if(SMableToCloseSub0 == true) { SMco0(); } else { window.clearInterval(SMtimer0); } } else { SMoo20(); } } function SMoo0() {  if(SMSl0 == 0) { SMcs0(SMCaller0, "SM_ps", ""); SMCallerOpen0 = SMCaller0; window.clearInterval(SMtimer0); SMsl0 = 1; return; } SMisWorking0 = true; if(SMToOpen0 > 0) { SMobj0.style.display = "block"; } if(SMtmpNeedOpen0 + SMstep0 <= SMToOpen0) { SMobj0.style.height = SMtmpNeedOpen0 + SMstep0; SMtmpNeedOpen0 = SMtmpNeedOpen0 + SMstep0; } else { window.clearInterval(SMtimer0); SMobj0.style.height = SMToOpen0; SMcs0(SMCaller0, "SM_ps", ""); if(SMCallerOpen0 != null) { SMFS0 = true; SMcs0(SMCallerOpen0, "SM_p", ""); SMFS0 = false; } SMCallerOpen0 = SMCaller0; SMobjOpen0 = SMobj0; SMtmpNeedOpen0 = 0; SMisWorking0 = false; SMToOpen0 = -1; } } function SMco0() { if(SMSl0 == 0) { window.clearInterval(SMtimer0); SMsl0 = 1; return; } SMisWorking0 = true; if(SMtmpNeedClose0 - SMstep0 < SMstep0) { window.clearInterval(SMtimer0); SMobjOpen0.style.display = "none"; SMobjOpen0.style.height = 1; SMobjOpen0 = null; SMisWorking0 = false; SMtmpNeedClose0 = 0; SMFS0 = true; SMcs0(SMCallerOpen0, "SM_p", ""); SMCallerOpen0 = null; SMFS0 = false; } else { SMobjOpen0.style.height = SMtmpNeedClose0 - SMstep0; } SMtmpNeedClose0 = SMtmpNeedClose0 - SMstep0; } function SMoo20() { if(SMSl0 == 0) { SMcs0(SMCaller0, "SM_ps", ""); SMFS0 = true; if(SMCallerOpen0 != null && SMCallerOpen0 != SMCaller0) { SMcs0(SMCallerOpen0, "SM_p", ""); } SMCallerOpen0 = SMCaller0; SMFS0 = false; window.clearInterval(SMtimer0); SMsl0 = 1; return; } SMisWorking0 = true; if(SMToOpen0 > 0) { SMobj0.style.display = "block"; } if(SMtmpNeedOpen0 + SMstep0 <= SMToOpen0) { SMobj0.style.height = SMtmpNeedOpen0 + SMstep0; SMtmpNeedOpen0 = SMtmpNeedOpen0 + SMstep0; } if(SMtmpNeedClose0 - SMstep0 >= 1) { SMobjOpen0.style.height = SMtmpNeedClose0 - SMstep0; SMtmpNeedClose0 = SMtmpNeedClose0 - SMstep0; } else { SMobjOpen0.style.display = "none"; if(SMtmpNeedOpen0 + SMstep0 > SMToOpen0 && SMtmpNeedClose0 - SMstep0 < 1) { window.clearInterval(SMtimer0); SMobj0.style.height = SMToOpen0; SMobjOpen0.style.display = "none"; SMobjOpen0.style.height = 1; SMobjOpen0 = null; SMobjOpen0 = SMobj0; SMtmpNeedOpen0 = 0; SMtmpNeedClose0 = 0; SMisWorking0 = false; SMToClose0 = -1; SMcs0(SMCaller0, "SM_ps", ""); SMFS0 = true; SMcs0(SMCallerOpen0, "SM_p", ""); SMCallerOpen0 = SMCaller0; SMFS0 = false; } } } function SMcs0(SMobj, SMstyle, SMimage) { if(SMCallerName0.length > 0)  if(SMobj == document.getElementById(SMCallerName0)) return; if((SMobj == SMCallerOpen0 && SMFS0 == false)) return; if(SMstyle != "") { SMobj.className = SMstyle; } if(SMimage != "") { (document.getElementById(SMobj.id + "I")).src = SMimage;  } }//--></SCRIPT>
 
WRInaute discret
le_gber a dit:
monky,

si tu peux, place tout le javascript suivant dans un fichier externe car il va rendre les robots malade :)

C'est ce que je viens de faire et ca marche très bien quand je le teste sur mon C://

Par contre, le menu n'aarive pas à capter le .js le permettant de se dérouler sur le serveur, alors que je met la bonne URL...

J'ai ma page "home" sur laquelle je met mon "include" pour trouver le menu... Sur quelle page dois-je faire appel au .js et .css du menu?
 
WRInaute discret
Monky a dit:
J'ai ma page "home" sur laquelle je met mon "include" pour trouver le menu... Sur quelle page dois-je faire appel au .js et .css du menu?

si tu reference to script avec

Code:
<script language="Javascript" type="text/javascript" src="/menu.js"></script>

la page sur laquelle tu le places ne devrait pas avoir d'importance
 
Discussions similaires
Haut