会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
丹扬
丹扬的程序小窝 收集日常程序总结 欢迎指出各种bug
博客园
首页
新随笔
联系
管理
订阅
2015年8月21日
C# Json转MODEL
摘要: 所需DLL:Newtonsoft.Json.dll MODEL转JSON
阅读全文
posted @ 2015-08-21 18:20 丹扬
阅读(1951)
评论(0)
推荐(0)
2013年6月5日
商品选项卡固定在屏幕顶部
摘要: var menuYloc = $("#productTab_s").offset().top; $(window).scroll(function(){ var this_top = $(this).scrollTop(); if(this_top>=menuYloc) $("#pro...
阅读全文
posted @ 2013-06-05 16:19 丹扬
阅读(145)
评论(0)
推荐(0)
2013年5月18日
点击查看图片,可自适应宽高
摘要: js,css(公司框架直接可用):http://pan.baidu.com/share/link?shareid=473682&uk=1041329344js <link href="/Js/jquery.fancybox/fancybox.css" rel="stylesheet" type="text/css" /> <script src="/Js/jquery.fancybox/jquery.fancybox-1.3.1.pack.js" type="text/javas
阅读全文
posted @ 2013-05-18 14:32 丹扬
阅读(194)
评论(0)
推荐(0)
页面滚动广告
摘要: 代码适合公司框架下使用~js//-----------------焦点图2var flash_num2=0; function flashDiv_Auto(){ flash_num2++; $('.flashDiv').find('.list').animate({scrollTop: $('.flashDiv').find('li').height()*flash_num2}, "slow"); $('.flashDiv').find('.btnDiv').find('
阅读全文
posted @ 2013-05-18 14:22 丹扬
阅读(169)
评论(0)
推荐(0)
2013年4月16日
网页播放背景音乐
摘要: 1 <div style="display:block; overflow:hidden; width:990px; margin:0px auto;">2 <div class="player" style="padding-left: 0px; margin-left: -1000px; height:0px;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://do
阅读全文
posted @ 2013-04-16 11:39 丹扬
阅读(175)
评论(0)
推荐(0)
2013年4月11日
类似豆瓣可拖动层位置
摘要: demohttp://pan.baidu.com/share/link?shareid=415953&uk=1041329344
阅读全文
posted @ 2013-04-11 14:51 丹扬
阅读(109)
评论(0)
推荐(0)
ASP.NET c# JS实现团购,竞标倒计时实现
摘要: 调用 1 2 24 效果需要定义时间“类型八” /// /// DateTime?格式化,如何DateTime?为null返回Empty /// /// /// /// public static string ToStrDateTime(this DateTime? dt,DealMvc.Estatic.ForDateTime _ForDateTime) { string val ...
阅读全文
posted @ 2013-04-11 14:48 丹扬
阅读(319)
评论(0)
推荐(0)
C#通过flash实现在线上传
摘要: 引用1 <link href="/JS/jquery.uploadify-v2.1.0/uploadify.css" rel="stylesheet" type="text/css" />2 <script type="text/javascript" src="/JS/jquery.uploadify-v2.1.0/swfobject.js"></script>3 <script type="text/javascript" src
阅读全文
posted @ 2013-04-11 14:46 丹扬
阅读(221)
评论(0)
推荐(0)
C# 放大镜功能
摘要: 引用http://pan.baidu.com/share/link?shareid=396538&uk=2234966138&third=15js调用1 <script type="text/javascript">2 $(document).ready(function () {3 $("#ShowPictureBox").JNMagnifier({4 renderTo: "#ShowBigPictureBox"5 });6 });7 </script>html代码...
阅读全文
posted @ 2013-04-11 14:17 丹扬
阅读(671)
评论(0)
推荐(0)
公告