摘要: <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>宠喵club</title> <style> /** { margin:0px; padding:0px; }*/ #top1 { wi 阅读全文
posted @ 2017-06-07 10:31 小伙子很浪 阅读(135) 评论(0) 推荐(0) 编辑
摘要: <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <link href="css/grid-accordion.css" rel="stylesheet" type="text/css" /> <sc 阅读全文
posted @ 2017-06-07 10:26 小伙子很浪 阅读(433) 评论(0) 推荐(0) 编辑
摘要: <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <link rel="shortcut icon" href="img/www.ico.la_65e2dbdc4ba7689767c152dc98d4 阅读全文
posted @ 2017-06-07 10:19 小伙子很浪 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 现在是网站的注册页代码: <style> *{ margin:0px; padding:0px; } .c1 { width:1350px; height:150px; /*border:1px solid black;*/ } #dxx { width:50px; height:150px; /* 阅读全文
posted @ 2017-06-06 16:32 小伙子很浪 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 第一阶段项目做完了,是一个关于猫的网站! 先来看看首页代码: <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <link rel="shortcut icon" href="img/www.ico. 阅读全文
posted @ 2017-06-06 16:24 小伙子很浪 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 递归: //1 1 2 3 5 8 13 21 34 ? //1 2 3 4 5 6 7 8 9 ? function dg(n) { if(n == 1 || n == 2) { return 1; } else { return dg(n - 1) + dg(n - 2); } } alert( 阅读全文
posted @ 2017-05-26 15:51 小伙子很浪 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 模态对话框 window.showModalDialog("url","向目标对话框传的值","窗口特征参数") 打开模态对话框 模态对话框必须关掉才能对后端操作。 模块对话框和窗口的区别是永远置顶。 特征参数:用分号隔开,像素大小用px。dialogHeight,dialogWidth,cente 阅读全文
posted @ 2017-05-24 16:08 小伙子很浪 阅读(126) 评论(0) 推荐(0) 编辑
摘要: <script> var arr_1 = [1,2,3,4,3,3,6,2,4,7,5,6]; var arr_2 = []; for(var i=0;i<arr_1.length;i++){ var status = 0; for(var j=0;j<arr_2.length;j++){ if(a 阅读全文
posted @ 2017-05-24 15:59 小伙子很浪 阅读(93) 评论(0) 推荐(0) 编辑
摘要: <style> * { margin:0px; padding:0px; } </style> </head><body> <div id="d1" ></div> </body></html><script> d1 = document.getElementById("d1"); function 阅读全文
posted @ 2017-05-24 15:57 小伙子很浪 阅读(93) 评论(0) 推荐(0) 编辑
摘要: <style> * { margin: 0px; padding: 0px; } div { width: 100px; height: 100px; background-color: red; } </style> </head> <body> <div id="d1"></div> </bod 阅读全文
posted @ 2017-05-23 16:40 小伙子很浪 阅读(117) 评论(0) 推荐(0) 编辑