WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Search Engines > Search Engine Optimization Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Search Engine Optimization Forum SEO is much easier with help from peers and experts! The WebProWorld SEO forum is for the discussion and exploration of various search engine optimization topics. Any non (engine) specific SEO or SEM topics should go here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-29-2006, 08:05 AM
adbart's Avatar
adbart adbart is offline
WebProWorld Veteran
 

Join Date: Apr 2005
Location: Reading, UK
Posts: 480
adbart RepRank 0
Default Javascript Navigation Buttons.

Hello all.

The use of javascript frequently comes up in conversation. Everyone says "no, don't touch it" when it comes to SEO. Just wondered if anyone has a technical opinion on the following code and whether or not Googlebot + others can follow these links:

In the header tag:

Code:
<script language="javascript">

//detect browser:
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if (browserName == "Netscape" && browserVer >= 3) browserVer = "1";
else if (browserName == "Microsoft Internet Explorer" && browserVer == 4) browserVer = "1";
else browserVer = "2";

//preload images:
if (browserVer == 1) {

home0 = new Image;
home0.src = "http://www.example.com/image0.PNG";
home1 = new Image;
home1.src = "http://www.example.com/image1.PNG";

}

//image swapping function:
function hiLite(imgDocID, imgObjName, comment) {
if (browserVer == 1) {
document.images[imgDocID].src = eval(imgObjName + ".src");
window.status = comment; return true;
}}


</script>
And then where the image is in the body:

Code:
Reply With Quote
  #2 (permalink)  
Old 12-29-2006, 08:22 AM
stymiee's Avatar
stymiee stymiee is offline
WebProWorld Veteran
 

Join Date: May 2006
Location: New Jersey
Posts: 431
stymiee RepRank 0
Default

That's fine because you are only using javascript for the rollovers. You have a regular hyperlink otherwise which is what is required for search engines to follow the links.
__________________
John Conde
Brainyminds Merchant Account Services eBook Giant
Reply With Quote
  #3 (permalink)  
Old 12-29-2006, 09:14 AM
adbart's Avatar
adbart adbart is offline
WebProWorld Veteran
 

Join Date: Apr 2005
Location: Reading, UK
Posts: 480
adbart RepRank 0
Default

Yes, that was my thinking too.

Anyone else got an opinion on this?
__________________
Car Modifications - Car Accessories - Performance Engine Tuning - Car Styling:
Car Styling | Car Pictures
Reply With Quote
  #4 (permalink)  
Old 12-29-2006, 09:25 AM
adbart's Avatar
adbart adbart is offline
WebProWorld Veteran
 

Join Date: Apr 2005
Location: Reading, UK
Posts: 480
adbart RepRank 0
Default

Actually, to add to this topic:

Are there any drawbacks to using image-based links like these:

(1) Will Google/others give preference to crawling text-based links to images?

(2) ... even when 'img alt=' tags are used?

(3) Should you provide text-only links in addition on any page where image links are used (perhaps in the footer)?
__________________
Car Modifications - Car Accessories - Performance Engine Tuning - Car Styling:
Car Styling | Car Pictures
Reply With Quote
  #5 (permalink)  
Old 12-30-2006, 01:46 PM
incrediblehelp's Avatar
incrediblehelp incrediblehelp is offline
Moderator
WebProWorld Moderator
 

Join Date: Jan 2004
Location: Live in Cincy Now
Posts: 7,438
incrediblehelp RepRank 4incrediblehelp RepRank 4incrediblehelp RepRank 4incrediblehelp RepRank 4
Default

Their has been much arguments when proposing text based links versus image/alt based links. Both seem to work well, but my experience shows that text links seem to do work the best. No evidence why.

In the end I say why not use both?
Reply With Quote
  #6 (permalink)  
Old 01-04-2007, 04:52 AM
adbart's Avatar
adbart adbart is offline
WebProWorld Veteran
 

Join Date: Apr 2005
Location: Reading, UK
Posts: 480
adbart RepRank 0
Default

Do you not think that duplicating your navigation bar (e.g. showing it once at the top of the page as images, and showing it again at the bottom of the page as text links) might have some knock-on negative value?
__________________
Car Modifications - Car Accessories - Performance Engine Tuning - Car Styling:
Car Styling | Car Pictures
Reply With Quote
  #7 (permalink)  
Old 01-05-2007, 01:39 PM
incrediblehelp's Avatar
incrediblehelp incrediblehelp is offline
Moderator
WebProWorld Moderator
 

Join Date: Jan 2004
Location: Live in Cincy Now
Posts: 7,438
incrediblehelp RepRank 4incrediblehelp RepRank 4incrediblehelp RepRank 4incrediblehelp RepRank 4
Default

I guess I would have to see it in person to know for sure, but on the surface I don't see much of an issue. It is just like thumbnails that link to a page and those same thumbnails have text links linking to the same page underneath them. I don't see that as a negative.
Reply With Quote
  #8 (permalink)  
Old 01-08-2007, 07:23 PM
adverlicious adverlicious is offline
WebProWorld Member
 

Join Date: Dec 2006
Posts: 37
adverlicious RepRank 0
Default

Quote:
Originally Posted by adbart
Do you not think that duplicating your navigation bar (e.g. showing it once at the top of the page as images, and showing it again at the bottom of the page as text links) might have some knock-on negative value?
I think you can actually make the case that supplementary navigation links at the bottom of a page *improve* usability.

Consider the case of a long page: a user may be 2-4 "scrolls" from the top navigation ... a great opportunity to offer them high-value navigational links in the footer of the page.

My net on this topic: there's no identified downside to supplementary links and there's a likely SEO *and* usability upside.
__________________
adverlicio.us | online advertising archive
Reply With Quote
  #9 (permalink)  
Old 01-08-2007, 08:47 PM
Webnauts's Avatar
Webnauts Webnauts is online now
WebProWorld 1,000+ Club
 

Join Date: Aug 2003
Location: Worldwide
Posts: 6,987
Webnauts RepRank 3Webnauts RepRank 3
Default

Quote:
Originally Posted by adverlicious
My net on this topic: there's no identified downside to supplementary links and there's a likely SEO *and* usability upside.
That is right!
Reply With Quote
  #10 (permalink)  
Old 01-08-2007, 08:48 PM
Webnauts's Avatar
Webnauts Webnauts is online now
WebProWorld 1,000+ Club
 

Join Date: Aug 2003
Location: Worldwide
Posts: 6,987
Webnauts RepRank 3Webnauts RepRank 3
Default

Have anyone mentioned here the <noscript> tag?
Reply With Quote
Reply

  WebProWorld > Search Engines > Search Engine Optimization Forum
Tags: buttons, javascript, navigation



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Search Engine Friendly URLs by vBSEO 3.0.0