如何 隐藏链接呀,有个链接我把鼠标放上去时,状态栏显示 1.htm,我点击时页面导向 2.htm 如何 隐藏链接呀,有个链接我把鼠标放上去时,状态栏显示 1.htm,我点击时页面导向 2.htm这个链接怎么设置呀 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 http://www2.flash8.net/teach/4058.htm 你想钓鱼啊!!!window的defaultStatus可以设置,不过很多浏览器会对这个属性有限制.(为了抵制钓鱼) 在链接的onmouseover里面写window.status='1.htm'然后在链接的onclick事件里面写window.location='2.htm' 是啊。只能用js,状态栏显示javascript:goto('1.html')!<script>function goto(url){ window.location=url;}</script><a href="javascript:goto('1.html')"></a> 这个自己试了一下,发现还是有些地方要注意一下的要把<a>的所有onmouse事件(除了onmouseout)设置成cheat(),不然你会露出马脚,嘎嘎..<script>function cheat(){ window.defaultStatus="http://www.baidu.com";}function cls(){ window.defaultStatus="";}</script><a href="http://www.google.com" onmouseover="cheat()" onmousemove="cheat()" onmousedown="cheat()" onmouseup="cheat()" onmouseout="cls()" >go to baidu</a> 为何同样的combox 一个可以正常显示 一个却只显示id值?? 求教checkbox的值在a href中如何取到?? FusionCharts 中文乱码 使用xslt 求一个简单的正则来学习 问个简单的js传值问题 弹出对话框! 如何用js调用ie的查找ctrl+F? 请问有没有办法用js对xhtml的某一个片段进行xslt变换?(要求兼容IE6和Firefox1.0) 骆驼兄弟,你可害死我了 如何制作点子地图? js有没有这样的插件 如何给这样的矛盾动作设置优先执行
window.status='1.htm'然后在链接的onclick事件里面写
window.location='2.htm'
<script>
function goto(url)
{
window.location=url;
}
</script>
<a href="javascript:goto('1.html')"></a>
要把<a>的所有onmouse事件(除了onmouseout)设置成cheat(),不然你会露出马脚,嘎嘎..
<script>
function cheat(){
window.defaultStatus="http://www.baidu.com";
}
function cls(){
window.defaultStatus="";
}
</script><a href="http://www.google.com" onmouseover="cheat()" onmousemove="cheat()" onmousedown="cheat()" onmouseup="cheat()" onmouseout="cls()" >go to baidu</a>