Results 1 to 8 of 8

Thread: How SEO friendly is this menu example ?

  1. #1
    Registered Skeewe's Avatar
    Join Date
    Oct 2005
    Posts
    94

    How SEO friendly is this menu example ?

    This is menu from MS Visual Studio 2008 - Web Developer
    Here is example code:

    " <td style="white-space:nowrap;width:100%;"><a class="Menu1_1" href="Default2.aspx">Item1</a></td>
    </tr>
    </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(this)" id="Menu1n2">
    <td><table cellpadding="0" cellspacing="0" border="0" width="100%">
    <tr>
    <td style="white-space:nowrap;width:100%;"><a class="Menu1_1" href="javascript:__doPostBack('Menu1','Menu2\\Item 2')">Item</a></td>
    </tr> "

    Is this SEO friendly menu? Thanks
    Last edited by Skeewe; 02-25-2008 at 11:41 AM.

  2. #2
    Site Contributor KLB's Avatar
    Join Date
    Feb 2006
    Location
    Saco Maine
    Posts
    1,181
    This isn't legal HTML. I think what you showed us is server side code and what we need to see to answer your question is the generated HTML.
    Ken Barbalace - EnvironmentalChemistry.com (Environmental Careers, Blog)
    InternetSAR.org: Volunteers Assisting Search and Rescue via the Internet
    My Firefox Theme Classic Compact: Based onFirefox's classic theme but uses much less window space

  3. #3
    Registered Skeewe's Avatar
    Join Date
    Oct 2005
    Posts
    94
    I changed it, you we right it was server side , my mistake, sorry.
    I guess it's not SEO friendly since its javascript code. Am I right ?

  4. #4
    Administrator Chris's Avatar
    Join Date
    Feb 2003
    Location
    East Lansing, MI USA
    Posts
    7,055
    That code is not SEO friendly. Definitely not.
    Chris Beasley - My Guide to Building a Successful Website[size=1]
    Content Sites: ABCDFGHIJKLMNOP|Forums: ABCD EF|Ecommerce: Swords Knives

  5. #5
    Site Contributor KLB's Avatar
    Join Date
    Feb 2006
    Location
    Saco Maine
    Posts
    1,181
    In order for menus to be SEO friendly, they MUST include plain old <a href> links. These links can use CSS and Javascript to control their visibility to users, but they must be written into the HTML source as plain links.
    Ken Barbalace - EnvironmentalChemistry.com (Environmental Careers, Blog)
    InternetSAR.org: Volunteers Assisting Search and Rescue via the Internet
    My Firefox Theme Classic Compact: Based onFirefox's classic theme but uses much less window space

  6. #6
    Registered
    Join Date
    Mar 2008
    Posts
    14
    Slightly off-topic, but you may also want to design without tables and use <div> for layout. Tables should always be used to display tabular content.

  7. #7
    Site Contributor KLB's Avatar
    Join Date
    Feb 2006
    Location
    Saco Maine
    Posts
    1,181
    Quote Originally Posted by jbladeus View Post
    Slightly off-topic, but you may also want to design without tables and use <div> for layout. Tables should always be used to display tabular content.
    While I agree that tables should not be used to control layout. It is very important to note that this has no direct bearing on SEO, which is the topic of this thread.
    Ken Barbalace - EnvironmentalChemistry.com (Environmental Careers, Blog)
    InternetSAR.org: Volunteers Assisting Search and Rescue via the Internet
    My Firefox Theme Classic Compact: Based onFirefox's classic theme but uses much less window space

  8. #8
    Registered deathshadow's Avatar
    Join Date
    Apr 2008
    Posts
    41
    Quote Originally Posted by KLB View Post
    While I agree that tables should not be used to control layout. It is very important to note that this has no direct bearing on SEO, which is the topic of this thread.
    Correct. It may be the most bloated piss-poor way of coding a menu, again being more of 1997 than 2008, but...

    That does NOT mean search engines give a hoot in hell what tags are used. (with the possible exception of heading tags - table, td, div - doesn't matter)

    Kind of like how most search engines these days IGNORE ATTRIBUTES. (Making title and even alt kind of pointless)

    Nested tables = FAIL. Table for a single column or row of data = /FAIL/ hard.

    Sending javascripted menus to all browsers when only legacy ones (IE6/earlier) needs it - MASSIVE fail. Code a normal CSS menu for modern browsers, then throw a HTC at IE6/earlier. End of problem.

Similar Threads

  1. SEO friendly multi-level (tree) menu
    By Skeewe in forum HTML, CSS, Layout, and Design
    Replies: 3
    Last Post: 03-01-2008, 11:16 AM
  2. Stupid CSS menu!!
    By Masetek in forum HTML, CSS, Layout, and Design
    Replies: 0
    Last Post: 08-03-2006, 09:39 PM
  3. SE Friendly URLs - Custom Error Pages
    By Mike in forum Website Programming & Databases
    Replies: 8
    Last Post: 04-03-2006, 06:13 PM
  4. IMG COORDS img menu
    By tweak^ in forum HTML, CSS, Layout, and Design
    Replies: 4
    Last Post: 10-05-2003, 10:45 AM
  5. Mouse Over Menu
    By Kevin in forum HTML, CSS, Layout, and Design
    Replies: 15
    Last Post: 07-06-2003, 08:23 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •