Results 1 to 6 of 6

<div> for DHTML Dropdowns

This is a discussion on <div> for DHTML Dropdowns within the Template Modifications forums, part of the vBulletin SEO Discussion category; Is there any advantage to moving the <div>s for the navbar dropdowns to a lower template (like the footer) to ...

  1. #1
    Senior Member
    Join Date
    Nov 2005
    Posts
    165
    Liked
    0 times

    <div> for DHTML Dropdowns

    Is there any advantage to moving the <div>s for the navbar dropdowns to a lower template (like the footer) to help reduce the amount of code at the top of the output? Can these be moved to another template and still function?

  2. #2
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    Yes, they can be placed anywhere--- so long as that template is on every page that the navbar appears (I think the footer template is the only one).

    Is there an advantage... minor at best.

    I'm working on a pure CSS solution with lists instead of javascript.

    When it works, i will release it here.

  3. #3
    Senior Member
    Join Date
    Nov 2005
    Posts
    165
    Liked
    0 times
    I looked at my site with the CSS disabled and that was a lot of the code. if I moved it to the footer would it still appear the same to a spider?

  4. #4
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    it would appear at the bottom... thats all. I don't think it will help much, because theres already so much crap ABOVE the nav bar menu, that the navbar position is already too "low" in the doc.

  5. #5
    Senior Member
    Join Date
    Nov 2005
    Posts
    165
    Liked
    0 times
    Isn't one of the goals to reduce the amount of code between the top of the output and the content? Or are you saying that doing this has little bearing in how page content is viewed by spiders?

  6. #6
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    You are correct in the goal.

    IMO, there's 10-20 lines after the <body> tag that count the greatest.

    check out brent's site: Mustang Forums | Ford Mustang Enthusiast Forums
    he did a great job adding semantic elements in those critical areas.
    -header tags
    -list items for his prominent sections

Posting Permissions

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