473,394 Members | 1,840 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Hiding text - an acceptable method?

Jon
Often asked is "I want to put some words on a site so that it is found by
search engines but not vistors"

We know that google particularly "frowns" upon this.

Howver, I've recently seen a page that had a css:

<style type="text/css">
<!--
..ItsHidden { position: absolute; left: -1500px; top: -1000px;}
-->
</style>

Then for a table:

<table width="695" border="0" align="center" cellpadding="0" cellspacing="0"
class="ItsHidden">
<tr>
<td><h1 align="center">Heading - This Table Is Hidden</h1>
<p align="center">Description Here</p>
<p align="center">Menu</p>
<p align="center"><a href="#">1 Link</a> | <a href="#">2
Link</a> | <a href="#">3 Link</a></p>
</td>
</tr>
</table>

This is only hidden if the browser supports CSS so needs constructing
neatly.

I'm aware of google's advise but not sure how it would deal with this

Any thoughts on this?

Jon
Jul 20 '05 #1
9 1625
On Thu, 29 Jan 2004 20:03:19 +0000 (UTC), "Jon"
<jon@SPAM_OFFtheexperts.co.uk> wrote:
Often asked is "I want to put some words on a site so that it is found by
search engines but not vistors"

We know that google particularly "frowns" upon this.
<snip>
I'm aware of google's advise but not sure how it would deal with this

Any thoughts on this?


Search engines are intended to be a service to the people doing the
searching. Site owners who pull these sorts of tricks are in essence
vandals who are damaging the service. They should be regarded in much
the same category as spammers, graffiti-artists and litter-louts.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #2
Jon
<snip>
Search engines are intended to be a service to the people doing the
searching. Site owners who pull these sorts of tricks are in essence
vandals who are damaging the service. They should be regarded in much
the same category as spammers, graffiti-artists and litter-louts.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/


Stephen, maybe I didn't explain.

I would use this where the navigation system is wriiten in javascript (drop
down menus) or flash (well not on my sites!!) to allow the search engine /
basic browsers to 'find' the rest of the site, as the example was supposed
to show.

Now I've given more information would you reconsider your response?

thanks

Jon
Jul 20 '05 #3
Jon wrote:
I would use this where the navigation system is wriiten in javascript
(drop down menus)


If you *must* use drop down menus, then write them in HTML and then
manipulate them with JavaScript - don't generate them from JavaScript.
--
David Dorward <http://dorward.me.uk/>
Jul 20 '05 #4
Jon
I'll confess to not knowing how to do that!

Have you any examples?

Jon

"David Dorward" <do*****@yahoo.com> wrote in message
news:bv*******************@news.demon.co.uk...
Jon wrote:
I would use this where the navigation system is wriiten in javascript
(drop down menus)


If you *must* use drop down menus, then write them in HTML and then
manipulate them with JavaScript - don't generate them from JavaScript.
--
David Dorward <http://dorward.me.uk/>

Jul 20 '05 #5
On Thu, 29 Jan 2004 21:46:27 +0000 (UTC), "Jon"
<jon@SPAM_OFFtheexperts.co.uk> wrote:
<snip>
Search engines are intended to be a service to the people doing the
searching. Site owners who pull these sorts of tricks are in essence
vandals who are damaging the service. They should be regarded in much
the same category as spammers, graffiti-artists and litter-louts.
Stephen, maybe I didn't explain. I would use this where the navigation system is wriiten in javascript (drop
down menus) or flash (well not on my sites!!) to allow the search engine /
basic browsers to 'find' the rest of the site, as the example was supposed
to show.

Now I've given more information would you reconsider your response?


OK, rather than asking whether it's an acceptable method, you're
actually asking whether it's an acceptable *reason*. That wasn't clear
to me.

Reconsidered response: Not a very good reason, I would have thought.

What about the many users (like myself) who nearly always have CSS
enabled, but usually Javascript disabled? As David says, the way to make
Javascript menus is to start with the HTML links and then apply
Javascript decoration, so the underlying links still work for
non-Javascript readers.

If, hypothetically, there was still some situation that wasn't
adequately covered, the most appropropriate approach would be to provide
a separate "site map" page. Provided appropriate link texts are used,
such a page could be as useful to human visitors as to spiders.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #6
In article <bv**********@hercules.btinternet.com>,
jon@SPAM_OFFtheexperts.co.uk enlightened us with...
I'll confess to not knowing how to do that!

Have you any examples?


Simply providing the links in text at the bottom of the page, as many
sites do, or having a site map is sufficient, IMO, for both humans with
JS disabled and for the spiders.

Besides, if your menu is only in javascript, what happens if it's
"broken" in some browsers? How are people supposed to navigate? What
about the browsers for the visually impaired?

Never rely on script for a site's functionality unless it's for an
intranet or other application where you know your users and their
browsers.

--
--
~kaeli~
Jesus saves, Allah protects, and Cthulhu thinks you'd make
a nice sandwich.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #7
Jon
Point taken, I've used site maps before - and will do so in the future.

That way I'll keep everyone happy!!

Thanks for the input

Jon
"Stephen Poley" <sb******************@xs4all.nl> wrote in message
news:9n********************************@4ax.com...
On Thu, 29 Jan 2004 21:46:27 +0000 (UTC), "Jon"
<jon@SPAM_OFFtheexperts.co.uk> wrote:
<snip>
Search engines are intended to be a service to the people doing the
searching. Site owners who pull these sorts of tricks are in essence
vandals who are damaging the service. They should be regarded in much
the same category as spammers, graffiti-artists and litter-louts.
Stephen, maybe I didn't explain.

I would use this where the navigation system is wriiten in javascript

(dropdown menus) or flash (well not on my sites!!) to allow the search engine /basic browsers to 'find' the rest of the site, as the example was supposedto show.

Now I've given more information would you reconsider your response?


OK, rather than asking whether it's an acceptable method, you're
actually asking whether it's an acceptable *reason*. That wasn't clear
to me.

Reconsidered response: Not a very good reason, I would have thought.

What about the many users (like myself) who nearly always have CSS
enabled, but usually Javascript disabled? As David says, the way to make
Javascript menus is to start with the HTML links and then apply
Javascript decoration, so the underlying links still work for
non-Javascript readers.

If, hypothetically, there was still some situation that wasn't
adequately covered, the most appropropriate approach would be to provide
a separate "site map" page. Provided appropriate link texts are used,
such a page could be as useful to human visitors as to spiders.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/

Jul 20 '05 #8
Jon wrote:
I'll confess to not knowing how to do that!
Do what? http://www.allmyfaqs.com/faq.pl?How_to_post
Have you any examples?


http://www.gazingus.org/html/Using_L...TML_Menus.html

--
David Dorward <http://dorward.me.uk/>
Jul 20 '05 #9
Jon wrote:

Thanks for the input


How am I supposed to post my replies in a newsgroup?:
http://allmyfaqs.com/faq.pl?How_to_post

--
Brian (follow directions in my address to email me)
http://www.tsmchughs.com/

Jul 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

27
by: C Gillespie | last post by:
Dear All, Hopefully I have a simple problem. Basically, I just want to alter some text with JS. Here is some of my test code: <snip> <script type="text/javascript"> var tmp='a';
6
by: harrylmh | last post by:
Hi, I'm learning C# and I just don't quite understand the need for polymorphism. why do we need to use it? how does a base class variable holding a derived class instance do any good? Also,...
22
by: Mr Newbie | last post by:
I was thinking about developing a workflow application yesterday and was musing over the different approaches than one could take in restricting specific actions on a ticket( Form ) at any said...
7
by: Dennis | last post by:
I have a class named myclass that inheirits from "baseclass". There is a property of "baseclass" that I don't want exposed in the IDE. The MSDN documentation says" "A derived type can hide an...
14
by: Dom | last post by:
Hi all I'm developing a control, and I need to hide some properties to the user. For example, suppose I need Text property to be completely inacessible (from a Form/Code that is into another...
9
by: Andrew Robinson | last post by:
I have class A which inherits from class B. B contains the following virtual method: public virtual List<TSelect() { return new List<T>(); } Is there any way to make private or otherwise...
5
by: kpdeepu | last post by:
Hi, I have created a form which has a text box and a submit button.... <form name="myform" action="new.asp" method="post"> <input type="text" name="text1" size=20> <input type="submit"...
11
by: JJ297 | last post by:
I want to hide the Pin field below in my repeater. How do I do this? <asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1"> <ItemTemplate> <tr> <td><font...
1
by: angelicdevil | last post by:
i have listbox 1 which displays status , based on selection of status listbox 2 displays usernames. and based on username selected the textbox displays the email id. its working fine till...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.