JS入门
来源:互联网 发布:javascript 取余 编辑:程序博客网 时间:2024/04/28 13:30
</pre><pre name="code" class="html"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title> JS入门 </title> <style> #demo{width:200px;height:200px;background:red} </style> <script> function toGreen() {var e = document.getElementById('demo'); e.style.width = '300px'; e.style.height = '300px'; e.style.background = 'green'; } function toRed() {var e = document.getElementById('demo'); e.style.width = '200px'; e.style.height = '200px'; e.style.background = 'red'; } </script> </head> <body> <div id="demo" onmouseover="toGreen()" ;="" onmouseout="toRed()"> </div> </body></html>
0 0
- js 入门
- Js:入门
- js入门
- JS入门
- JS入门
- js入门
- JS入门
- js入门
- js入门
- js入门
- js入门
- js入门
- js入门
- JS入门
- js入门
- js入门
- JS入门
- JS入门
- java虚拟机 jvm 局部变量表实战
- 关于页面多分类url正确实现如下
- mvc dao层、service层 到底怎么写?
- 使用AutoLayOut为UIScrollView添加约束图解及要点
- shell script
- JS入门
- 第六周项目1分数类的雏形
- ACM--快速幂--次方求模
- 改IOS百度地图API用点生成线路、导航、自定义标注 2013年11月
- LOGIN后台验证
- Object wait and notify
- 微软内核视频学习资料
- Android网络编程要学的东西与Http协议学习
- 交叉熵 机器学习模型loss指标