NetBlog主题

JS定时跳转
Jquery/框架/插件

JS定时跳转

874 0

<script type="text/javascript"> window.onload = function () {setInterval(function () {document.getElementById(txt1).value++;if (document.getElementById(txt1).value == 10) {location.href = http://www.luofenming.com;}},1000)}</script>//…

JS定时器暂停与开始
Jquery/框架/插件

JS定时器暂停与开始

1143 0

<script type="text/javascript">var setIntervalID;window.onload = function () {document.getElementById(btn1).onclick = function () {setIntervalID = setInterval(function () {document.getElementById(txt1).value++;},1000)};document.getElementBy…

JS确认删除
Jquery/框架/插件

JS确认删除

1136 0

<script type="text/javascript"> window.onload = function () {document.getElementById(testID).onclick = test();function test() {if (confirm("你确认要删除吗?")) {alert(删除成功);}else {alert(删除失败);}}}</script><i…

精简CSS按扭样式
Jquery/框架/插件

精简CSS按扭样式

1370 0

<style>button{padding:5px 10px;margin-right: 12px;font-size: 12px;background-color: #609ee9;color:#fff;border:2px solid #609ee9;cursor: pointer;outline:none;border-radius:6px;}button:hover{background-color: #80b6f9;border-color: #80b6f9}button:active…

站内搜索
Jquery/框架/插件

站内搜索

1061 0

以下要注意引用src="/js/jquery-1.8.0.min.jsArticleList.aspx?word=" + $("#word").val()提交页面的方法和参数获取地址栏值可参考http://www.luofenming.com/show.aspx?id=ART2017050800003<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Tran…