Forum Moderators: open

Message Too Old, No Replies

a layer in the table

to cover/hide whatever is inside the table.

         

prozz

1:29 am on Mar 10, 2002 (gmt 0)



Hi guys,
I have a question.

On my page I would like to put a table with a number of links and text in it.
Then I'd like to put a layer over those links, so a visitor cannot click or see them, while the Search Engine Spiders can.

Is it possible to put a layer in the table, so that it will always cover whatever is inside the table?

I know it's possible to put a layer on the page by x,y coordinates (that's what I'm doing right now, but the problem is that in some some browsers the layer covers other parts of the page, and I need to hide only the links)

any takers on this one?

toolman

2:10 am on Mar 10, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is certainly doable but lets think about this for a second.

  • You want to have outbound links on your pages for Google no doubt. Why not leave those links visible and make them go to other domains that you own? That way whatever possible PR you hope to gain is kept in the family and you're not helping someone elses site.

  • You want text full of keywords on your page to help your ranking. Ask yourself this...how many keywords does it take to rank well in Google or INK? The answer may surprise you. By adding tons of keywords to your pages are you adding relevance or diluting the core theme? HMMMM.

    If you are absolutely resolute on helping the DMOZ and Yahoo categories that you're in make it into the serps, then the safest way to do this is add the links at the bottom of the page in plain view. Nobody can fault you for that even though I doubt it does any good for your site's ranking. Linking to other sites with higher PR than yours is a waste. And finally, linking to other sites with lower PR than yours...well, they better be yours.

  • prozz

    6:16 am on Mar 10, 2002 (gmt 0)



    Dear Toolman,

    the thing is, I just want to know if that is possible, from html/dhtml standpoint.

    I'd appreciate anybody's help.

    tedster

    3:53 pm on Mar 10, 2002 (gmt 0)

    WebmasterWorld Senior Member 10+ Year Member



    prozz, as toolman said, it's definitely doable. I've even done it by accident.

    But you take a big risk if you hide content from visitors that a spider will pick up. Can you afford to lose all search engine positions for the domain name?

    knighty

    9:07 am on Mar 11, 2002 (gmt 0)

    WebmasterWorld Senior Member 10+ Year Member



    Thats very easy to do but heed the advice given beforehand.

    just put your links in a layer (or table in a layer) and put another layer over it using absolute positioning. Do not put layers within tables pu them at the right after <body>

    prozz

    9:28 am on Mar 11, 2002 (gmt 0)



    thx knighty,

    but it still gives me a problem.

    As soon as I resize the window...to a smaller size... those layers mismatch and do not overlap anymore.

    knighty

    9:51 am on Mar 11, 2002 (gmt 0)

    WebmasterWorld Senior Member 10+ Year Member



    you can get a resize fix which will reload the layers whenever the window is resized.

    if you use dreamweaver i think its built in

    MikeFoster

    8:18 am on Mar 15, 2002 (gmt 0)

    10+ Year Member



    Why use a table? Put the links in a div and position it offscreen.

    <div style="position:absolute; width:10px; left:-10px;">
    ...
    </div>

    prozz

    8:37 am on Mar 15, 2002 (gmt 0)



    Wow, awesome idea, thank you :)