Forum Moderators: open

Message Too Old, No Replies

Will the spiders follow this simple jump menu?

         

theadvocate

1:46 pm on Nov 6, 2003 (gmt 0)

10+ Year Member



Hi All,

Will the spiders follow the links in the following JavaScript menu? Or should I create a separate site map page?

<html>

<head>
<SCRIPT language="JavaScript">
<!--
function showPage(selectObject){
var URLValue = selectObject.options[selectObject.selectedIndex].value
if (URLValue){
self.location = URLValue
}
}
//-->
</SCRIPT>
</head>

<body>

<table cellSpacing="0" cellPadding="4" border="0">
<tbody>
<tr>
<td bgColor="#0000ff">
<div align="center">
<font face="Arial, Helvetica, sans-serif" color="#ffffff"><strong>Important Links</strong></font>
</div>
</td>
</tr>
<tr>
<td bgColor="#cccccc">
<form name="ReferenceSiteForm" action method="post">
<div align="center">
<select onchange="showPage(this)" name="MENU">
<option value selected>Select a page</option>
<option value="http://www.mysite.com/links.htm">Links</option>
</select>
</div>
</form>
</td>
</tr>
</tbody>
</table>

</body>

</html>

hakre

8:10 am on Nov 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



if the urls are encoded in full (like in your example) there are spiders following them. google does so, as i read on ww. check out that actual discussion (Can Google Follow JavaScript?) [webmasterworld.com], it's maybe what you're looking for.

even that thread is google specific and about javascript, it contains valuable info about how a modern spider works. i could imagine that other robots will follow full qualified urls in plain-text, too, if they are of type [....]