homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Marketing and Biz Dev / Link Development
Forum Library, Charter, Moderators: martinibuster

Link Development Forum

Value of links within drop down lists

5+ Year Member

Msg#: 3901281 posted 3:24 am on Apr 27, 2009 (gmt 0)

Does Google see straight through code like this and treat such links as it would direct links? Or are these watered down because of the javascript?

<div id="homeQuickLinks">
<script language="javascript">

function openURL() {
if (document.frmLink.select.value!="") {
var load = window.open(document.frmLink.select.value);


<form name="frmLink">

<select name="select" onchange="javascript: openURL();">

<option value="http://ABC.com">ABC</option>
<option value="http://123.com">123</option>




WebmasterWorld Senior Member 5+ Year Member

Msg#: 3901281 posted 6:06 pm on Apr 27, 2009 (gmt 0)

google has stated that it can read javascript; however, you want to facilitate the crawling of your website with links that can be seen with javascript turned off:

When creating your links, format them so they'll offer a static link as well as calling a JavaScript function. That way you'll have the Ajax functionality for JavaScript users, while non-JavaScript users can ignore the script and follow the link. For example:

<a href=”ajax.htm?foo=32” onClick=”navigate('ajax.html#foo=32'); return false”>foo 32</a>


Global Options:
 top home search open messages active posts  

Home / Forums Index / Marketing and Biz Dev / Link Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved