CSS实现超级链接需要通过双击后跳转
2013-10-12 17:45
627 查看
CSS代码
html代码
.test3 span { position: relative; } .test3 span a { position: relative; z-index: 2; } .test3 span a:hover, .test3 span a:active { z-index: 4; } .test3 span input { background: transparent; border: 0; cursor: pointer; position: absolute; top: -1px; left: 0; width: 101%; /* Hacky */ height: 301%; /* Hacky */ z-index: 3; } .test3 span input:focus { background: transparent; border: 0; z-index: 1; }
html代码
<div class="test3"> <span><input type="text" value=" " readonly="true" /> <a href="http://www.baidu.com">Double click me</a></span> </div>
相关文章推荐
- CSS实现超级链接需要通过双击后跳转
- Android通过SpannableString实现超级链接 点击textview某些文字跳转
- 在Swing的JEditorPane控件中实现超级链接的CSS定义
- 结合Html/js/css实现超级链接访问JavaScript的事件!(实例)
- 简单的服务器 实现引用css、js和a链接可以跳转
- VC超级链接的设计与实现 (通过CHyperLinker类来实现)
- CSS定义Hover实现文字变大的超级链接
- Ruby on Rails,通过建立页面导航链接实现页面跳转
- 通过scheme拦截网页链接,实现网页跳转APP
- Ruby on Rails,通过建立页面导航链接实现页面跳转
- VC超级链接的设计与实现 (通过CHyperLinker类来实现)
- 纯CSS实现双击链接跳转功能
- CSS定义Hover实现文字变大的超级链接
- 简单粗暴JavaWeb-第三篇:通过controller实现页面跳转
- Cocos2d-x通过Jni实现Cocos2d-x界面跳转到新的Activity
- css中超级链接样式的设置顺序
- iOS引导登录、登录引导、login(点击某个功能按钮需要登录并且登录完成后自动跳转到要去的功能实现方法)
- 自己写的mysql客户端应用程序(通过官方头文件和lib来编译链接实现)
- 通过网页链接打开应用程序客户端的两种实现方式
- js实现点击链接后延迟3秒再跳转的方法