Page is a not externally linkable
gg25 - 12:49 am on Jul 13, 2011 (gmt 0)
Lucy, g1smd,
Thanks for the reply.
I will give an example in order to clear this out.
A normal visitor wil see this:
<html>
<body>
text, labels, inputs...
<div id='gridcontainer'></div>
more html
mote html
</html>
Then onpage load I render dynamically by using javascript a table inside div (gridcontainer).
So after onload event is executed, the user see also the tabe grid insidde div.
I need that the 'grid' to be seen by crawlers.
So I have the ability to render this when spybot is detected:
<html>
<body>
text, labels, inputs...
<div id='gridcontainer'>
<table>
<tr>
<td>cell1</td> <td>cell2</td> <td>cell3</td> <td>cell4</td>
</tr>.....
....
</div>
more html
mote html
</html>
The page is exactly the same (no tricks), except that the content inside the div (gridcontainer) for the visitors will be rendered dynamically via Javascript and JSON objects, and for google bots will be pure html.
Will this be considered a ilegal method?
Basically what i intend to do is detect if the browser has not javascript enabled and offer a version without javascript, but in case of google bots, I offer them 'javascript disabled' version without asking (using the useragent).
Thanks!