Google Groups Home
Help | Sign in
Message from discussion Is using AJAX/CSS to show/hide divs considered black hat
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
ZydoSEO  
View profile
 More options Feb 18, 11:27 am
From: ZydoSEO
Date: Mon, 18 Feb 2008 08:27:12 -0800 (PST)
Local: Mon, Feb 18 2008 11:27 am
Subject: Is using AJAX/CSS to show/hide divs considered black hat

We are designing a new site for a new line of business.  On our
product page the design teams wants to have a section of the page
where they use AJAX to display different text depending on which
section navigation the user clicks...

So basically, within this little subsection of the page there is a
mini-navigation (5 links each being a question).  When you click on
one of the navigation links we want to use AJAX/CSS to show the answer
to the question (3-5 bulletted bits of info) but hide the answers to
the other 4 questions...

So I'm picturing the HTML for this section on the page looking
something similar to:

<div id=questionanswersection>
<div id=question1>
...answers to question 1...
</div>
<div id=question2>
...answers to question 2...
</div>
<div id=question3>
...answers to question 3...
</div>
<div id=question4>
...answers to question 4...
</div>
<div id=question5>
...answers to question 5...
</div>
</div>

Then in the css somehow they plan to do basically the following:

If they click on the link for question 1 then
show question1 div
hide question2 div
hide question3 div
hide question4 div
hide question5 div
end if

If they click on the link for question 2 then
hide question1 div
show question2 div
hide question3 div
hide question4 div
hide question5 div
end if

etc.

The end result is the same URL can show 5 different versions of the
page depending on which link is clicked.  If you view/source you will
see the text from all 5 question/answer divs but in the browser you
will only be able to see one answer div at any given time.

We are not trying to hide keywords... All 5 versions of this section
of the screen can be displayed by the user if they click the
navigation links for that section of the page...  But we are showing/
hiding divs clientside using AJAX/CSS so that we don't have to make a
round trip to the server or have 5 different pages/URLs for this
simple task.

Would Google frown on this or somehow think it is blackhat hidden
text?  Microsoft even does it on their site... But then maybe they are
on the Google whitelist and can do whatever they like.


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google