Web Design Forum: Javascript & navigation - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Javascript & navigation

#1 User is offline   robsticles 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 31
  • Joined: 09-June 11
  • Reputation: 0
  • Gender:Male
  • Location:London, UK
  • Experience:Beginner
  • Area of Expertise:Entrepreneur

Posted 17 October 2011 - 01:19 PM

Hello all,

I was reading an article on SEOMoz about SEO site audits, when I came across something a bit worrying. I've recently published a website on wordpress (mainly because it's easy and seo friendly), using a premium theme, and what I read in this article is that if your navigation doesn't work with JS disabled you will have indexing issues.

Link to my site

My site's nav doesn't work with JS disabled, but when I view the source code all links are visible in html lists and nested lists (no js tags surround the links). I thought search engines crawl the raw html?

Yes, best practice is to have your navigation work with css only, and add effects with JS or jquery, but I'm no programmer and I have no idea how difficult it would be to change how the navigation works.

If anyone knows a bit more about this than me I would be grateful to hear your opinions!

This post has been edited by robsticles: 17 October 2011 - 01:49 PM

0

#2 User is online   rallport 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 3,818
  • Joined: 03-January 10
  • Reputation: 266
  • Gender:Male
  • Location:England, UK
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 19 October 2011 - 05:26 PM

In short, look at the source (NOT generated source code) of your site. If you can see the content there then your fine - as that's exactly what google sees.

What you're experiencing is pretty common, as it's a JavaScript menu using nested uls. You could go for a CSS based solution, but you;d still need to use JS to allow it tot function in older browsers.

The only thing that theme misses when JS is disabled is that some of your content isn't easily reachable. E.g with JS off, how would I get to the testimonials page? Same idea for the sub items on the services menu drop down.

Drop down menus are absolutely fine, just make sure all your content is reachable without the menu. IN wordpress, you can list child pages for the current page pretty easily that will help.

Loving that theme too.

EDIT: you have a few random " "'s in your title tags.

This post has been edited by rallport: 19 October 2011 - 05:27 PM

0

#3 User is offline   robsticles 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 31
  • Joined: 09-June 11
  • Reputation: 0
  • Gender:Male
  • Location:London, UK
  • Experience:Beginner
  • Area of Expertise:Entrepreneur

Posted 22 October 2011 - 01:19 PM

rallport, thanks for your feedback, really appreciate it. Totally agree that some pages are difficult to get to with js turned off, so will be working on improving that!

The   is to separate the vertical bar and the company name. The SEO plugin I'm using won't register the space after the vertical bar in the title settings so I had to force one. Is that a no-no?

Yeah it is a nice theme. got it on themeforest
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users