Forum Moderators: phranque

Message Too Old, No Replies

Scrollbar or Javascript to read all content

         

ecochild

1:52 pm on Dec 15, 2011 (gmt 0)

10+ Year Member



Hi,

I’m hoping for some guidance on which may be the better practice with SEO in mind.

I have a review website and at the top of each category page I have about 3 paragraphs of text. As primarily the readers will want to find the items to compare or review I want to condense the text so that it doesn’t take up too much of space on the page.

The option I was originally thinking of was to have a javascript link with “read more” but the design company I have used has added the text in a div as follows:
<div class="jr_pgDescription">
<div style="width: 100%; height: 220px; overflow: auto; margin: 0 0 20px;">
Text
</div>

The text is written for both readers and search engines and I want to make sure if the javascript option is what I really should be using for SEO?

Thanks in advance!

enigma1

1:39 pm on Dec 17, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If it's a short description for the category leave it inside the scrollable div.

With jscript you could expand/contract the description container on a click essentially toggling the container. And to be sure to support visitors with js off, you can have the container expanded by default. If js runs you show only the title/heading of the short description with a more button perhaps.

Search engines will parse the content in both cases.