Forum Moderators: phranque

Message Too Old, No Replies

Do spiders read info in div containers

Google and Yahoo

         

designhaus

2:07 pm on Nov 4, 2004 (gmt 0)

10+ Year Member



My question is based around an interactive map i am developing for a client. the map has hotspots where you can rollover towns and get a popped up div container appear with an image and text inside.

my question ... Do spiders read info in div containers?

encyclo

2:15 pm on Nov 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Could you post a short snippet of the markup you would be using? If it is a standard div which is subsequently positioned with CSS, you should have no problem. If you are writing the div with Javascript, it could be more difficult.

Easy_Coder

3:03 pm on Nov 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm writing a spider that reads div tags and I've also seen my own div tag content in google & yahoo.

a few weeks back I noticed something odd regarding my own div content in google.

Here's an example of what I noticed:
<div>sentance one</div>
<div>sentance two</div>

seemed to be getting indexed like this:
sentance onesentance two

so natural spaces were honored and everthing else ran together.

designhaus

4:35 pm on Nov 4, 2004 (gmt 0)

10+ Year Member



thanks encyclo ... what you reckon?

Code for div's on powerwaves

<div id="Somerley" style="position:absolute; left:246px; top:320px; width:118px; height:267px; z-index:1; background-color: #D02038; border: 1px none #000000; visibility: hidden;"><img src="images/ourvenuestitle01.gif" width="118" height="21"><br>
<img src="images/somerleypic01.jpg" width="118" height="100"><br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="maincopywhite01" id="highlight01">SOMERLEY<br>
<span class="maincopy03">This privately owned estate is situated in 7000 acres of meadows, hills and rolling parkland on the edge of the New Forest. Its the perfect location for a number of different occasions.</span></td>
</tr>
</table>
</div>

createErrorMsg

3:57 am on Nov 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



get a popped up div container appear with an image and text inside

I think the important question is where the code for the 'popup div' comes from.

Is it already in the source code, but hidden by display:none or visibility: hidden? Does the rollover send a query back to the server so it serves a new page with the new div, or does the rollover trigger a JS script that produces/injects/adds the div and it's content?

If it's already in the source, you're fine, except there is some evidence that G doesn't index content hidden with display: none (spiders see what users see). If it's a newly served page, you're fine. G will see that as a whole new page of content and index it accordingly. If it's added/created dynamically by javaScript, don't count on G indexing it. I don't think the spiders are able to see anything created via client side scripts (but I could be wrong on this).

designhaus

8:53 am on Nov 5, 2004 (gmt 0)

10+ Year Member



its in the source code ... all html not pulled from a server. hopefully it will be ok.