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

Link Development Forum

    
Value of links within drop down lists
D4vid




msg:3901283
 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);
}
}

</script>

<form name="frmLink">

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

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

</select>
</form>
</div>


 

nealrodriguez




msg:3901715
 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>

[googlewebmastercentral.blogspot.com...]

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