JS jump menu location indexing on search engines

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Oct 2006
Posts: 198
Reputation: MaxMumford is an unknown quantity at this point 
Solved Threads: 1
MaxMumford's Avatar
MaxMumford MaxMumford is offline Offline
Junior Poster

JS jump menu location indexing on search engines

 
0
  #1
Oct 24th, 2009
Hi all,

I'm creating different pages on a website for each branch in the country for a business. The way the user gets to their branch is through a dreamweaver generated jump menu.

My question is: Will search engine robots crawl the pages that are linked via the jump menu?

So for example the page for the London branch can only be navigated to via the jump menu (or typing in the url in the address bar). Will a search engine index this page?

The jump menu script is below:
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <script type="text/javascript">
  2. <!--
  3. function MM_jumpMenuGo(objId,targ,restore){ //v9.0
  4. var selObj = null; with (document) {
  5. if (getElementById) selObj = getElementById(objId);
  6. if (selObj) eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  7. if (restore) selObj.selectedIndex=0; }
  8. }
  9. //-->
  10. </script>
  11.  
  12.  
  13.  
  14. <form id="form">
  15. <select name="country" id="country" onchange="MM_jumpMenuGo('country','parent',0)">
  16. <option value="">Choose</option>
  17. <option value="">======</option>
  18. <option value="england">England</option>
  19. <option value="scotland">Scotland</option>
  20. <option value="wales">Wales</option>
  21. <option value="northernireland">Northern Ireland</option>
  22. </select>
  23. <input type="button" name="go_button" id= "go_button" value="Go" onclick="MM_jumpMenuGo('country','parent',0)" />
  24. </form>
Ill solve somebody's thread someday! xD
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 821
Reputation: Airshow is on a distinguished road 
Solved Threads: 116
Airshow's Avatar
Airshow Airshow is offline Offline
Practically a Posting Shark
 
0
  #2
Oct 24th, 2009
Max,

That's a good question. I have always assumed NO, search engines will not penetrate javascript orchestrated hyperlinks. However, there's no particular reason why a smart search engine should not do so. But my best guess remains that most search engines will not.

A workaround would be to include standard html hyperlinks in addition to your jump menu. You could do this on the/each page (eg in a footer) or (probably better) in a "Site Map" page linked eg. from your site's main nav bar.

With a little imagination, you could automate the construction of both jump menu(s) and the corresponding section of the site map by writing either functions or a class that draws on the same "database" of urls (could be simply hard coded). This would ensure that the site map is always up to date with changes to your jump menu(s).

Airshow
Last edited by Airshow; Oct 24th, 2009 at 7:02 pm.
50% of the solution lies in accurately describing the problem!
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 198
Reputation: MaxMumford is an unknown quantity at this point 
Solved Threads: 1
MaxMumford's Avatar
MaxMumford MaxMumford is offline Offline
Junior Poster
 
0
  #3
34 Days Ago
thanks for the reply and advice airshow. I had thought of having the drop down menu's automated using a database but by the time i had got to the branch page, the unique content for each page would be too detailed (with html codes and so on) to be stored in a database. Little changes will be made to the pages once they have been created anyway so I concluded it would be easiest to just do it all manually.

As for making my links search engine friendly, I will use the site map solution and consider adding text links to the pages as well underneath (also good for people with javascript turned off).

Thanks again for your help, much appreciated.
Ill solve somebody's thread someday! xD
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 821
Reputation: Airshow is on a distinguished road 
Solved Threads: 116
Airshow's Avatar
Airshow Airshow is offline Offline
Practically a Posting Shark
 
0
  #4
34 Days Ago
No probs.

Good luck

Airshow
50% of the solution lies in accurately describing the problem!
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 1
Reputation: jaspaltech is an unknown quantity at this point 
Solved Threads: 0
jaspaltech jaspaltech is offline Offline
Newbie Poster

select Box

 
0
  #5
33 Days Ago
sir i have a problem with select box,
Q1. I have two option in one select box sell and rent then we select the sell then 23 field will show and then rent selected then some field is remove by selection then how should i use the validation in this functionality .
Reply With Quote Quick reply to this message  
Reply

Tags
engine, index, jump, menu, search

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC