随笔分类 -  javascript

图片切换大欣赏
摘要:http://www.sharejs.com/topic-1.aspx 阅读全文
posted @ 2011-01-03 21:23 ddxgc 阅读(144) 评论(0) 推荐(0)
点击小图显示大图
摘要:<!--具体内容--><div class="product_block"><!--左边--><div class="product_block_left"><div class="product_block_left_img"><img src="img/product_test.jpg" id="prduct_img" widt... 阅读全文
posted @ 2010-11-23 13:48 ddxgc 阅读(2781) 评论(0) 推荐(0)
最好的图片横向滚动代码
摘要:/Files/net2/move.htm 阅读全文
posted @ 2010-08-25 22:29 ddxgc 阅读(261) 评论(0) 推荐(0)
变换文字背景
摘要:<table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="92%" height="60" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> &l... 阅读全文
posted @ 2010-08-20 09:05 ddxgc 阅读(408) 评论(0) 推荐(0)
鼠标经过背景图片变换
摘要:<style type="text/css">.a{background-image:url(images/2008.jpg)}.b{background-image:url(images/2009.jpg)}</style><div style="width:200px;height:200px;" class="a" onmousemove="this.class... 阅读全文
posted @ 2010-08-11 09:19 ddxgc 阅读(4230) 评论(0) 推荐(0)
横向下拉导航菜单
摘要:<DIV> <UL id="nav"> <LI><A href="index.asp"><FONT color=#ffffff>网站首页</FONT></A> <LI><A href="about.asp" rel=dropmenu1><FONT color=#ffffff>... 阅读全文
posted @ 2010-07-27 19:49 ddxgc 阅读(983) 评论(0) 推荐(0)
图片横向滚动js
摘要:<div class="center_title_bar">核心业务</div> <!--图片滚动--> <span style="width:575px; float:left; margin-left:10px; margin-top:10px;"><div id="scroll_div21" style="overflow: hidden; WIDTH:576px;"><table border="0" cellpaddin 阅读全文
posted @ 2010-07-23 11:55 ddxgc 阅读(6650) 评论(0) 推荐(0)
网站公告js
摘要:<html><head><meta http-equiv="Content-Language" content="zh-cn"><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>网站公告滚动</title></head&g... 阅读全文
posted @ 2010-07-23 11:51 ddxgc 阅读(621) 评论(0) 推荐(0)
不同颜色背景交替显示
摘要:for (int i = 0; i < DataList1.Items.Count; i++) { int row =i ; //i / 2 2为每行显示的列数 if (row % 2 == 0) { DataList1.Items[i].CssClass = "testf"; } else { DataList1.Items[i].CssClass = "tests"; } } 阅读全文
posted @ 2010-07-10 13:34 ddxgc 阅读(133) 评论(0) 推荐(0)
横向滚动(收藏)
摘要:<TABLE style="BORDER-RIGHT: #666666 1px solid; BORDER-TOP: #666666 1px solid; BORDER-LEFT: #666666 1px solid; BORDER-BOTTOM: #666666 1px solid" cellSpacing=0 cellPadding=0 width=550 align=center bo... 阅读全文
posted @ 2010-07-08 18:31 ddxgc 阅读(127) 评论(0) 推荐(0)
创建一个滚动的文本字幕
摘要:文字往上滚动制作的代码 <BR><TABLE style="WIDTH: 474px; HEIGHT: 359px" height=359 cellSpacing=0 cellPadding=0 width=474 align=center background=http://hiphotos.baidu.com/hysso/pic/item/8338f834265de75b25... 阅读全文
posted @ 2010-07-05 14:23 ddxgc 阅读(261) 评论(0) 推荐(0)
鼠标经过超连接变色
摘要:.name a{ text-decoration:none; color:#000000;}.name a:hover{ color:#FF0000;} <div class="name"> <a href='http://www.cnblogs.com/cn/Product/FrmProduct_Show.aspx?ID=<%# Eval("P_ID") %>' c... 阅读全文
posted @ 2010-07-01 15:47 ddxgc 阅读(283) 评论(0) 推荐(0)
超冲动美女JS
摘要:<!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 htt... 阅读全文
posted @ 2010-06-25 17:35 ddxgc 阅读(2544) 评论(0) 推荐(0)
javascript常用技巧
摘要:图片点击事件javascript(相当于linkbutton)<img src="images/serbtn.jpg" width="44" height="19" onclick="defaultStatus='just a test'; return true;"/> 阅读全文
posted @ 2010-05-12 11:43 ddxgc 阅读(123) 评论(0) 推荐(0)