上一页 1 ··· 7 8 9 10 11
摘要: 给图片上面添加链接,以前没有发现图像映射这项功能,现在记录下来,以后借鉴<area> 标签定义图像映射中的区域(注:图像映射指得是带有可点击区域的图像)。area 元素总是嵌套在 <map> 标签中。注释:<img> 标签中的 usemap 属性与 map 元素 name 属性相关联,创建图像与映射之间的联系。实例带有可点击区域的图像映射:<img src="planets.jpg" border="0" usemap="#planetmap" alt="Planets" 阅读全文
posted @ 2013-02-22 14:37 jami918 阅读(217) 评论(0) 推荐(0) 编辑
摘要: if(mb_strlen(strip_tags($rs['title']),'utf8') > 20){$rs['title1'] = str_cut(strip_tags($rs['title']),40,'...');}else{$rs['title1'] = strip_tags($rs['title']);}$rs['date'] = substr($rs['modtime'],5,6);if(time() - strtotime($rs 阅读全文
posted @ 2012-09-19 16:13 jami918 阅读(119) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11