Sliders are awesome, but are they blocking google from indexing? The idea is to use jQuery to change the links at runtime to # href’s for ‘sliding’. While the original will remain as static paths to pages. Should work right? google doesn’t process JS….
sudo
//find any link with the class nav_home, and that have a # in the href value
//store the value in an array, split it into 2, # and string
//save the string value as a var
//replace the value of the href with the string var
ened up going with this kinda of deal:
$(function(){
//swap out the default permalink addresses with anchor jumps
$("li.nav_home>a" ).attr("href", "#home");
$("li.nav_about>a" ).attr("href", "#about");
$("li.nav_services>a" ).attr("href", "#services");
$("li.nav_portfolio>a").attr("href", "#portfolio");
$("li.nav_contact>a" ).attr("href", "#contact");
});
http://stackoverflow.com/questions/179713/how-to-change-the-href-for-a-hyperlink-using-jquery