我可以防止一个单词被Javascript例程超链接吗 [英] Can I prevent a word being hyperlinked by a Javascript routine
本文介绍了我可以防止一个单词被Javascript例程超链接吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我需要学习的是如何选择文本,以便所选择的文本不会被某些javascript例程用来超链接到.亚马逊的广告生成器.我用过<!>文字<!>适用于IE7,但不适用于IE8.
Geoff
Hi
All I need to learn is how to select text so that the selected text will not be used to hyperlink to by some javascript routine eg. Amazon''s advert generator. I have used <!> text <!> which works for IE7 but not IE8.
Geoff
推荐答案
您的意思是那些在弹出式广告中搜索文字页面并将文字包装起来的东西吗?
为什么不尝试在要保留的单词内插入一对标签:
例如:MySacredWord->我的< tag></tag> SacredWord
Do you mean those things that search a page of text and wrap words in pop-up ads?
Why not try inserting a pair of tags inside a word you want to preserve:
eg: MySacredWord -> My<tag></tag>SacredWord
这篇关于我可以防止一个单词被Javascript例程超链接吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文