Old 11-03-2008, 13:46   #1 (permalink)
PartDigital
Freelance Web Developer
 
Join Date: Oct 2007
Posts: 20
Links and Search Engine Optimization

I've got a quick question for you guys.

If you take a look at a website I'm working on for a client. . .

partdigital.com/projects/lotr/site/index.php

Click the links on the top and left. Do you notice that the click only works when you click on the text itself? I want to be able to go to the next page when a person clicks on the area around it as well (not just the text) but I also want to be optimized for SEO.

that is, SEO won't recognize a javascript function like go('some_link') but it will recognize <a href = 'some_link'>some_text</a>.

so basically I want to retain the functionality of javascript as well as advantages of SEO.

thanks in advance.
  Reply With Quote
Old 11-03-2008, 20:54   #2 (permalink)
Mongoose
Senior Member
 
Mongoose's Avatar
 
Join Date: Oct 2007
Location: Olympia, WA
Posts: 150
Send a message via AIM to Mongoose
What does that have to do with SEO or Javascript? Just set anchors nested inside lists to expand to the full width and height of their parent list items.
__________________
  Reply With Quote
Old 12-03-2008, 12:27   #3 (permalink)
xml
Senior Member
 
Join Date: Sep 2004
Posts: 149
Make the anchors block type in your CSS:

.menu a {
display: block;
width: 100% // for IE
}
__________________
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8