Short version
Can I move around content (text and links) with Javascript without affecting my rank in Google?
Long version
Menu with links push down my content
I have a menu (with tabs) run with jQuery UI Tabs. That menu contains 30-50 internal links. Without Javascript it will show all of my links which will push my content down.
I've read that It's good to have the content early in the code.
Shuffle things around with Javascript
I'm thinking of adding the menu HTML below the content. That way it will almost look like a sitemap or related links with Javascript turned off.
After that I will with jQuery (Javascript) remove the menu HTML and insert it in a new div before the content.
CSS position absolute is not an option
Because I use tabs that have auto height I can't use CSS position absolute.
Question: Does that affect the SEO in a bad way, or is it fine to do that? Is there a better way?