随笔分类 - javascript
点击小图显示大图
摘要:<!--具体内容--><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...
阅读全文
变换文字背景
摘要:<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...
阅读全文
鼠标经过背景图片变换
摘要:<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...
阅读全文
横向下拉导航菜单
摘要:<DIV> <UL id="nav"> <LI><A href="index.asp"><FONT color=#ffffff>网站首页</FONT></A> <LI><A href="about.asp" rel=dropmenu1><FONT color=#ffffff>...
阅读全文
图片横向滚动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
阅读全文
网站公告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...
阅读全文
不同颜色背景交替显示
摘要: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"; } }
阅读全文
横向滚动(收藏)
摘要:<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...
阅读全文
创建一个滚动的文本字幕
摘要:文字往上滚动制作的代码 <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...
阅读全文
鼠标经过超连接变色
摘要:.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...
阅读全文
超冲动美女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...
阅读全文
javascript常用技巧
摘要:图片点击事件javascript(相当于linkbutton)<img src="images/serbtn.jpg" width="44" height="19" onclick="defaultStatus='just a test'; return true;"/>
阅读全文
浙公网安备 33010602011771号