iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar 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.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-05-2008, 04:10 AM
tushar123's Avatar
WebProWorld Veteran
 
Join Date: Sep 2006
Location: India
Posts: 304
tushar123 RepRank 0
Question Different ways to get Java Script Indexed!

Hi Members,

I want to know about getting JavaScript crawled by the Search Engine Spiders. The reason for that is because I would like to use JavaScript for my menu navigation. In accordance with that where do I place the code so that the spiders can detect the inner pages via the top navigation menu?

All the suggestions are highly appreciated.

Thanks in advance.
__________________
Tushar Pant
The SEO Blog | My Blog Directory | Music & Lyrics
Reply With Quote
  #2 (permalink)  
Old 12-05-2008, 06:08 PM
DaveSawers's Avatar
WebProWorld Veteran
 
Join Date: Dec 2006
Location: Calgary, Alberta, Canada
Posts: 492
DaveSawers RepRank 3DaveSawers RepRank 3
Default Re: Different ways to get Java Script Indexed!

One of these days the search engines will get their act together and properly index sites that use Javascript, AJAX, etc. Until they do you have to put something else in so they can follow your links.

Why would you want to use Javascript for menus anyway? CSS menus work just as well and can be crawled
__________________
Dynamic Software Development
www.activeminds.ca
Reply With Quote
  #3 (permalink)  
Old 12-05-2008, 06:24 PM
WebProWorld Pro
 
Join Date: Nov 2004
Location: Westmoreland County, PA
Posts: 218
noel_x99 RepRank 0
Default Re: Different ways to get Java Script Indexed!

And CSS menus are also easier to change and maintain. Very flexible.
__________________
Jane Noel
http://www.InWestmoreland.com
Westmoreland County PA's Business Directory
Reply With Quote
  #4 (permalink)  
Old 12-05-2008, 06:25 PM
WebProWorld Pro
 
Join Date: May 2008
Location: London, UK
Posts: 110
seopo RepRank 2seopo RepRank 2
Default Re: Different ways to get Java Script Indexed!

Create normal text links and add the javascript to these. Ideally via DOM. If you need to write large blocks of javascript that you can't create with CSS/XHTML (can't imagine this to be the case though) you can detect the ID of you nav block and replace that whole chunk of code with javascript after it's loaded.

ps. check out jquery libaries
Reply With Quote
  #5 (permalink)  
Old 12-05-2008, 06:25 PM
iany's Avatar
WebProWorld Veteran
 
Join Date: Sep 2003
Location: Stirling, Scotland
Posts: 321
iany RepRank 1
Default Re: Different ways to get Java Script Indexed!

Yep, DaveSawers sums it up perfectly.
For a really strong selection of menus in CSS go to Stu Nicholls | CSSplay | CSS only menus
I will be surprised if you cannot find what you want there.
Reply With Quote
  #6 (permalink)  
Old 12-05-2008, 06:45 PM
WebProWorld Veteran
 
Join Date: Apr 2004
Posts: 349
imvain2 RepRank 1
Default Re: Different ways to get Java Script Indexed!

Below is a menu that will allow the search engines to spider the links.

Dynamic Drive DHTML Scripts- AnyLink Vertical Menu


When all else fails: Site Map!
Reply With Quote
  #7 (permalink)  
Old 12-05-2008, 07:50 PM
Orion's Avatar
WebProWorld Veteran
WebProWorld MVP
 
Join Date: Sep 2003
Location: Halton Hills, ON
Posts: 702
Orion RepRank 4Orion RepRank 4Orion RepRank 4Orion RepRank 4
Default Re: Different ways to get Java Script Indexed!

Quote:
Originally Posted by DaveSawers View Post
Why would you want to use Javascript for menus anyway? CSS menus work just as well and can be crawled
Just as well.??? They work a LOT better..

javaScript menus are NOT accessible to persons with disabilities, a few companies have lost suits on that one already.
javaScript menus don't degrade as nice in older browsers
javaScript menus don't work if you have javaScript turned off
javaScript menus won't work on a mobile browser

CSS menus do all of the above and more, they meet usability and accessibility guidelines and laws, and as mentioned they are a ton easier to implement and maintain.

.... just my 2cents worth ...
Reply With Quote
  #8 (permalink)  
Old 12-05-2008, 07:55 PM
WebProWorld Pro
 
Join Date: May 2008
Location: London, UK
Posts: 110
seopo RepRank 2seopo RepRank 2
Default Re: Different ways to get Java Script Indexed!

Not strictly true - you can have lovely CSS XHTML links that degrade, are SEO friendly etc and then layer on javascript animation after. If you use DOM you don't even need additional markup
Reply With Quote
  #9 (permalink)  
Old 12-05-2008, 09:17 PM
Orion's Avatar
WebProWorld Veteran
WebProWorld MVP
 
Join Date: Sep 2003
Location: Halton Hills, ON
Posts: 702
Orion RepRank 4Orion RepRank 4Orion RepRank 4Orion RepRank 4
Default Re: Different ways to get Java Script Indexed!

Quote:
Originally Posted by seopo View Post
Not strictly true - you can have lovely CSS XHTML links that degrade, are SEO friendly etc and then layer on javascript animation after. If you use DOM you don't even need additional markup
yes that's true... but it's not a javascript menu per se but a css with javaScript to make it look pretty... and javaScript animation that most people use on menus can still be done easier with css (rollovers etc.)... there are a few things that javaScript does nicely though and if done using DOM works well and doesn't interfere with SEO, accessibility etc.
Reply With Quote
  #10 (permalink)  
Old 12-06-2008, 02:09 AM
Moderator
WebProWorld Moderator
 
Join Date: Oct 2003
Location: Alberta, Canada
Posts: 879
weegillis RepRank 6weegillis RepRank 6weegillis RepRank 6weegillis RepRank 6weegillis RepRank 6weegillis RepRank 6weegillis RepRank 6
Default Re: Different ways to get Java Script Indexed!

DHTML without a fall back is just a broken page waiting to happen, the above accessibility issues notwithstanding. But with a fall back it is definitely value added.

Given this priority, that is, added value or enhancement, not added content, every effort should continue to be made to make javascripts that are faster and browsers that are more efficient at running them. Some of the processor load should fall on the client, most particularly the enhancement aspect. Content should be delivered regardless.

If scripting engines begin to compare to Chrome then Flash driven sites will be less attractive to developers, and 'lo-end' users will be less at a disadvantage when it comes to viewing dynamically driven webs.

In my view we should encourage javascript at every turn, as long as developers temper it with accessible core documents. Technology can have a way of getting away from us if we don't temper it along the way.

Bots should be able to see what's in the noscript, since it is alternate content, but do they? That's the question I've always had.

Last edited by weegillis; 12-06-2008 at 02:37 AM. Reason: fini
Reply With Quote
  #11 (permalink)  
Old 12-06-2008, 11:51 AM
kgun's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: May 2005
Location: Norway
Posts: 5,709
kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10
Default Re: Different ways to get Java Script Indexed!

Quote:
Originally Posted by seopo View Post
ps. check out jquery libaries
Yes, read more here:

Microformats SEO and the Sumo parser.
Reply With Quote
Reply

  WebProWorld > Search Engines > Search Engine Optimization Forum

Thread Tools
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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Script in FireFox matheen Graphics & Design Discussion Forum 1 03-24-2007 11:43 AM
Java script in navigation bar for SEO amar Search Engine Optimization Forum 14 10-05-2005 03:19 AM
Java Script needed. just-trying-to-help Graphics & Design Discussion Forum 2 09-23-2005 06:45 PM
Yahoo and Java Script pabloroberto Yahoo! Discussion Forum 1 12-23-2004 01:03 PM
Compatible Java Script? C French Web Programming Discussion Forum 1 11-11-2004 02:54 PM


All times are GMT -4. The time now is 01:23 PM.



Search Engine Optimization by vBSEO 3.3.0