摘要:Two solutions for cell width:1. Omit words: {!display value}2. Word wrap:{!display value}
阅读全文
随笔分类 - | Front End |
摘要:1 ///获取url中指定参数 2 // <param name="paras">参数名称</param> 3 /// 4 function request(paras) { 5 var url = location.href; 6 var paraString = url.substring(url.indexOf("?") + 1, url.length).split("&"); 7 var paraObj = {} 8 for (i = 0;...
阅读全文
摘要:<a href="#ct1">跳转到词条1</a><a href="#ct2">跳转到词条2</a><br><div id="ct1" style="height:1000px;">词条1</div><div id="ct2">词条2</div>底下定好容器的id,在a的href中用#+id,就可以实现跳转了。
阅读全文
摘要:String.prototype.toHHMMSS =function(){var sec_num = parseInt(this,10);// don't forget the second parmvar hours =Math.floor(sec_num /3600);var minutes =Math.floor((sec_num -(hours *3600))/60);var seconds = sec_num -(hours *3600)-(minutes *60);if(hours <10){hours ="0"+hours;}if(minute
阅读全文
摘要:可以使用div
阅读全文
摘要:First things firstWe start with avalid xhtml 1.0 strictmarkup. Here is an example of a valid table markup:<!-- Table markup--><table id="..."> <!-- Table header --> <thead> <tr> <th scope="col" id="...">...</th> ... </tr>
阅读全文
摘要:View DemoDownload27.2 KB71Googlehas come up with a new look with the launch ofGoogle Plusand one of the prominent changes we can observe is theblack menu bar found on the top of Google Search Page and every other Google productlikeGoogle Plus(obviously), Google reader, etc. Almost every Google produ
阅读全文
摘要:So this is my first post on my new Blog, and i am quite exited about it,while visiting Google’s homepage, I was wondering about their new Top black navigation bar so I came up with this. If you Google it, you will get plenty of tutorials about creating the new Google like navigation bar but most of
阅读全文
摘要:spanArr[i].style.display !='none'
阅读全文
摘要:演示效果:CSS代码:<style type="text/css"> div.RoundedCorner{background: #9BD1FA} b.rtop, b.rbottom{display:block;background: #FFF} b.rtop b, b.rbottom b{display:block;height: 1px;overflow: hidden; background: #9BD1FA} b.r1{margin: 0 5px} b.r2{margin: 0 3px} b.r3{margin: 0 2px} b.rtop b.r4,
阅读全文
摘要:http://www.webdeveloperjuice.com/2011/09/28/7-beautiful-web-based-timeline-using-javascript-and-css/A timeline is a way of displaying a list of events in chronological order, sometimes described as a project artifact . It is typically a graphic design showing a long bar labeled with dates alongside
阅读全文
摘要:时间轴:通过互联网技术,依据时间顺序,把一方面或多方面的 时间足迹事件串联起来,形成相对完整的记录体系,再运用图文的形式呈现给用户;时间轴可以运用于不同领域,最大的作用就是把过去的事物系统化、完整化、精确化。本文介绍 7 个漂亮的使用 JavaScript 和 CSS 开发的时间轴组件:1. Simile WidgetsView Demo.2. TimegliderView Demo.3. WoorktutsView Demo.4. Tiki TokiView Demo.5. Google 10 Year TimelineView Demo.6. Bluelinemedia TimelineV
阅读全文
摘要:定义和用法<meta> 元素可提供有关页面的元信息(meta-information),比如针对搜索引擎和更新频度的描述和关键词。<meta> 标签位于文档的头部,不包含任何内容。<meta> 标签的属性定义了与文档相关联的名称/值对。
阅读全文
摘要:<html lang="en" style="">表示当前文档显示的语言在很多国际化的网站中会遇到<html lang="ar">....</htm>表示当前页面的显示文本是阿拉伯语HTML lang 属性lang 属性 -- HTML语言声明属性示例<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><html xmlns="ht
阅读全文
摘要:实心线:<HR align=left width=490 color=#990099 SIZE=3 noShade>竖直线:<HR align=center width=1 color=red size=100>虚线:<hr size=1 style="color: blue;border-style:dotted;width:490px;color:#CCC">双线:<hr size=1 style="COLOR:#ff9999;border-style:double;width:490px;color:#CCC&quo
阅读全文
摘要:http://www.mobanwang.com/http://www.os-templates.com/free-website-templateshttp://www.templatekingdom.com/Website-Templates/Flowers/Cluster
阅读全文
摘要:IntroductionFile upload form element has been available for ages, for all the frontend developer, the file upload form element can cause headache because it's very hard to reskin, and it only has the most basic feature - file selection. Now, we have AJAX based file uploader which able to provide
阅读全文