使HTML内容不会对搜索产生反应(Ctrl + F) [英] Make HTML content not react on search (Ctrl+F)

查看:306
本文介绍了使HTML内容不会对搜索产生反应(Ctrl + F)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在我的网页应用程序中,我有一个静态HTML内容的图层,它显示一个文本。(ctrl + F)和键入上面提到的图层中包含的文本,文本将突出显示。

是否有可能让内容对搜索没有反应?



或者我会从应用程序打开的页面中删除搜索功能,如果可以的话。

解决方案

不在搜索中显示的唯一选择是将图像或外部媒体制作为Flash。这是一个通用的浏览器功能(Ctrl + F),它显示的文本,如果它在屏幕上将突出显示。


In my web app I have a layer with a static HTML content that displays a text.

When I do a search on a page (ctrl+F) and type some text that is contained in the layer mentioned above the text is highlighted.

Is it possible to make content not react on search at all?

Or I would remove search function from the page where my app opens if I could.

解决方案

The only option not to reveal on search is to make that an image or an external media like Flash. It is a generic browser feature (Ctrl + F) which displays that text, if it exists on the screen will be highlighted.

这篇关于使HTML内容不会对搜索产生反应(Ctrl + F)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆