Jump to content

js hides divs


Brian W

Recommended Posts

I have a few divs that contain "More info" that are style='display:none;' by default but when they click a link it changes to block. The divs are actually set to be style="display:block;" but I have an onload event changing them to style.display='none' so that when bots look at the site they see the style set to block.

What I want to know is if bots will consider this foul play or they even bother looking at the onload events?

Link to comment
https://forums.phpfreaks.com/topic/152153-js-hides-divs/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.