上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页
摘要: 需要用ajax做一个联动框,但是不大会ajax,速度过一遍菜鸟教程,抄些笔记。 感觉ajax真是很有意思,想到一个小demo,等做完项目,就弄一个出来玩,哈哈哈。 1:所有现代浏览器(IE7+、Firefox、Chrome、Safari 以及 Opera)均内建 XMLHttpRequest 对象。 阅读全文
posted @ 2018-05-22 15:13 我喜欢喝糖水 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 方法中的参数传递很有意思。 点我查看效果 阅读全文
posted @ 2018-03-20 10:09 我喜欢喝糖水 阅读(777) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <style type="text/css"> body{ background-color: darkgray; } #nav{ position 阅读全文
posted @ 2018-03-19 15:11 我喜欢喝糖水 阅读(238) 评论(0) 推荐(0) 编辑
摘要: contextmenu 属性为元素规定上下文菜单。这个菜单会在用户右键点击元素时出现。 contextmenu 属性的值是需要打开的 <menu> 元素的 id。 啊啊,有点尴尬的是目前这个属性只有火狐浏览器支持。。。 <!doctype html><html><head><meta charset 阅读全文
posted @ 2018-03-16 22:32 我喜欢喝糖水 阅读(119) 评论(0) 推荐(0) 编辑
摘要: <!doctype html> <html> <head> <meta charset="utf-8"> <title></title> <script> function imageRotation(name) { document.getElementById('image').classNam 阅读全文
posted @ 2018-03-16 20:59 我喜欢喝糖水 阅读(172) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> </head> <style type="text/css"> .patterns { width: 200px; height: 200px; float: 阅读全文
posted @ 2018-03-16 10:55 我喜欢喝糖水 阅读(676) 评论(0) 推荐(1) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <style type="text/css"> body{background: #ededed; color: #999; margin: 32p 阅读全文
posted @ 2018-03-14 22:09 我喜欢喝糖水 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 做的东西需要写一个js三级联动,但是一时不止如何下手,加上如此多的省市信息,于是上网看了下网上的源码,发现千篇一律的样子,就随便拿了一个改了改,作参考。顺便进行学习。 HTML 代码: JS 代码: var addressInit = function(_UserProvince, _UserCit 阅读全文
posted @ 2018-03-09 20:10 我喜欢喝糖水 阅读(354) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>覆盖显示图片</title> </head> <style> #outer { width: 100%; height: 100%; } .overlay { //这个style是通 阅读全文
posted @ 2018-01-03 21:41 我喜欢喝糖水 阅读(1039) 评论(0) 推荐(0) 编辑
摘要: style提供了dispaly 属性。映射css 中的display属性。 <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <script type="text/javascript"> func 阅读全文
posted @ 2018-01-02 21:12 我喜欢喝糖水 阅读(1165) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页
我喜欢喝糖水的博客友链:股票指标编程学习