Mike Lewis
Programmer
I have a created page that includes code I downloaded from DynamicDrive. In brief, the aim is to create a tabbed dialogue.
To simplify, this is how it works:
- The contents of the page is divided between a number of DIVs, like so:
- In an external stylesheet, each of the DIVs has this rule:
- Whe the user clicks on a link in the page, some JaveScript code is run which makes one of the DIVs visible.
My question is: Will a search engine see the contents of the DIVs?
I appreciate that a search engine can't execute the JavaScript. But will it look in the CSS file, see the "display:none", and therefore assume the content is invisible?
Thanks for any advice.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
Visual FoxPro tips, advice, training, consultancy
Custom software for your business
To simplify, this is how it works:
- The contents of the page is divided between a number of DIVs, like so:
Code:
<div class="tabcontent">
Hello World
</div>
- In an external stylesheet, each of the DIVs has this rule:
Code:
.tabcontent
{
display:none;
}
- Whe the user clicks on a link in the page, some JaveScript code is run which makes one of the DIVs visible.
My question is: Will a search engine see the contents of the DIVs?
I appreciate that a search engine can't execute the JavaScript. But will it look in the CSS file, see the "display:none", and therefore assume the content is invisible?
Thanks for any advice.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
Visual FoxPro tips, advice, training, consultancy
Custom software for your business