0
我会怎样改变或掩盖的URL,当我将鼠标悬停在超链接。Asp.net超链接的onmouseover
我能够改变颜色,但不是URL。
StatementsHyperlink.Attributes.Add("onmouseover", "this.style.color=\"red\"");
我会怎样改变或掩盖的URL,当我将鼠标悬停在超链接。Asp.net超链接的onmouseover
我能够改变颜色,但不是URL。
StatementsHyperlink.Attributes.Add("onmouseover", "this.style.color=\"red\"");
个人而言,我会处理好与CSS hover on hyperlinks改变造型,你可以设置文字的颜色和背景是灰色相同的浓淡来屏蔽网址。
你有你正在寻找一个例子效果?
这会隐藏在状态栏中的网址是什么?如果是这样,怎么样? –
不,你需要一些JavaScript来做到这一点,但每个浏览器都会有所不同。检查http://stackoverflow.com/q/10468071/96505和http://stackoverflow.com/q/876390/96505替代 –
你试过'this.href =“whatever''? – codingbiz