隐藏图片库的文本 - SEO 影响
所以我使用 jquery 创建了一个动态照片库。它基本上是一张大图像,右侧附有描述性文字,底部有一条胶片。我对幻灯片进行了结构化,以便每个缩略图都附有其隐藏的描述性文本,并且当单击缩略图时,jquery 会使用隐藏文本更新主文本区域。
在研究 SEO 技术之前我做了这一切,现在我不确定这种技术是否会对我不利。我真的不想重做一切。我听到过相互矛盾的建议,有人说隐藏文本总是不好,有人说“意图”才是重要的。
我应该怎么办?
So i've created a dynamic photo gallery using jquery. Its basically a large image with accompanying descriptive text to the right and a film strip running across the bottom. I structured the filmstrip so that each thumbail is accompanied by its hidden descriptive text and jquery udpates the main text area with the hidden text when the thumbnail is clicked.
I did all this before looking into SEO techniques and now am unsure if this technique could penalize me. I really don't want to have to redo everything. I've heard conflicting advice, some say hidden text is always bad, some say its the "intent" that matters.
What should I do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遵循的哲学是,它既“取决于”,又真正与“意图”有关。例如,当您说您“隐藏”了描述性文本时,这取决于您的意思。如果您使用图像“alt”属性,然后使用 jQuery 将其拉入视觉描述中 - 我认为这是完全合适的。如果您使用隐藏的 div,然后在单击时显示它们或其他内容 - 这不是最干净的解决方案,但我认为这不会给您带来惩罚。
I follow the philosophy that it both "depends" and is really about "intent". For example, when you say that you have the descriptive text "hidden" it depends on what you mean by that. If you are using the images "alt" attribute and then pulling that with jQuery into a visual description - I see that as completely appropriate. If you are using hidden divs and then showing them onclick or something - it's not the cleanest solution, but I don't think it's going to bring you an penalties.