I'm using the slideToggle effect to hide or show content when a user clicks
on a link. It is easy to achieve with the following code:
HTML CODE:
<h4>Click to toggle content</h4>
<div style="display:none">
<p>toggled content</p>
</div>
JAVASCRIPT CODE:
$(function() {
$("h4").click(function() {
$(this).next().slideToggle();
});
});
My worry, though, is that the css used to hide the content on page load
(display:none) is actually bad for SEO and that Google will not index that
content or give it less value since it could be construed as a black-hat SEO
trick.
My question: is there any other way to automatically hide content on page
load?
Thanks,
Jacques
--
View this message in context:
http://www.nabble.com/Jquery-SlideToggle-Effect-and-SEO-issue--tf2967098.html#a8302187
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/