- 浏览: 13772474 次
- 性别:
- 来自: 洛杉矶
-
文章分类
- 全部博客 (1994)
- Php / Pear / Mysql / Node.js (378)
- Javascript /Jquery / Bootstrap / Web (435)
- Phone / IOS / Objective-C / Swift (137)
- Ubuntu / Mac / Github / Aptana / Nginx / Shell / Linux (335)
- Perl / Koha / Ruby / Markdown (8)
- Java / Jsp (12)
- Python 2 / Wxpython (25)
- Codeigniter / CakePHP (32)
- Div / Css / XML / HTML5 (179)
- WP / Joomla! / Magento / Shopify / Drupal / Moodle / Zimbra (275)
- Apache / VPN / Software (31)
- AS3.0/2.0 / Flex / Flash (45)
- Smarty (6)
- SEO (24)
- Google / Facebook / Pinterest / SNS (80)
- Tools (22)
最新评论
-
1455975567:
xuezhongyu01 写道wocan23 写道我想问下那个 ...
Mysql: LBS实现查找附近的人 (两经纬度之间的距离) -
xuezhongyu01:
wocan23 写道我想问下那个111.1是怎么得来的我也看不 ...
Mysql: LBS实现查找附近的人 (两经纬度之间的距离) -
18335864773:
试试 pageoffice 在线打开 PDF 文件吧. pag ...
jquery在线预览PDF文件,打开PDF文件 -
青春依旧:
opacity: 0.5; 个人喜欢这种方式!关于其他css特 ...
css透明度的设置 (兼容所有浏览器) -
July01:
推荐用StratoIO打印控件,浏览器和系统的兼容性都很好,而 ...
搞定网页打印自动分页问题
Rounded corners without images. Plus lots of other corner adornments.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <title>JQuery Corner Demo</title> <style type="text/css"> body { font: Verdana,Arial,sans-serif; /* An explicit background color is required for Safari. */ /* Otherwise your corner chunks will come out black! */ background: #f8f0e0; } div.section { clear: left; } h1 { font-size: 150%; padding: 0 } h2 { background: #ccc; padding: 1px 20px; } div.demo { float: left; width: 18em; padding: 20px; margin: 1em; background: #c92; color:#000; text-align: center; font: verdana, arial, sans-serif; } div.fun { margin: 2px; } </style> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="jquery.corner.js"></script> <script type="text/javascript"> $(function(){ // shorthand for $(document).ready() BTW $('div.demo').each(function() { // The text of the paragraphs in the rounded divs is also the // jQuery code needed to create that effect. Cosmic. eval($('p', this).text()); }); $('#main p').wrap("<code></code>"); }); </script> </head> <body> <h1>jQuery Corner Demo</h1> <p>Now with more effects, thanks to <a href="http://www.malsup.com/jquery/corner/">Mike Alsup</a>!</p> <p><a href="jq-corner.html">How does this work? How do I use it?</a></p> <p><a href="jquery.corner.js">Just the source, please!</a></p> <div id="main"> <div class="section"> <h1>Available Corner Effects</h1> </div> <div class="demo"><h1>Round</h1> <p>$(this).corner();</p></div> <div class="demo"><h1>Bevel</h1> <p>$(this).corner("bevel");</p></div> <div class="demo"><h1>Notch</h1> <p>$(this).corner("notch");</p></div> <div class="demo"><h1>Bite</h1> <p>$(this).corner("bite");</p></div> <div class="demo"><h1>Cool</h1> <p>$(this).corner("cool");</p></div> <div class="demo"><h1>Sharp</h1> <p>$(this).corner("sharp");</p></div> <div class="demo"><h1>Slide</h1> <p>$(this).corner("slide");</p></div> <div class="demo"><h1>Jut</h1> <p>$(this).corner("jut");</p></div> <div class="demo"><h1>Curl</h1> <p>$(this).corner("curl");</p></div> <div class="demo"><h1>Tear</h1> <p>$(this).corner("tear");</p></div> <div class="demo"><h1>Fray</h1> <p>$(this).corner("fray");</p></div> <div class="demo"><h1>Wicked</h1><p>$(this).corner("wicked");</p></div> <div class="demo"><h1>Sculpt</h1><p>$(this).corner("sculpt");</p></div> <div class="demo"><h1>Long</h1> <p>$(this).corner("long");</p></div> <div class="demo"><h1>Dog Ear</h1><p>$(this).corner("dog");</p></div> <div class="demo"><h1>Dog2</h1><p>$(this).corner("dog2");</p></div> <div class="demo"><h1>Dog3</h1><p>$(this).corner("dog3");</p></div> <div class="section"> <h1>Choose Your Corner</h1> <h2>Use <code>top, bottom, tl, tr, bl, br</code> to identify which corner to style</h2> </div> <div class="demo"><h1>Top Bevel</h1> <p>$(this).corner("bevel top");</p></div> <div class="demo"><h1>Top-Left Bite</h1> <p>$(this).corner("bite tl");</p></div> <div class="demo"><h1>Round Bottom</h1> <p>$(this).corner("bottom");</p></div> <div class="demo"><h1>Bottom-Left Notch</h1><p>$(this).corner("notch bl");</p></div> <div class="demo"><h1>Top-Right Dog Ear</h1><p>$(this).corner("dog tr");</p></div> <div class="demo"><h1>Top-Left, Bottom-Right Cool</h1><p>$(this).corner("cool tl br");</p></div> <div class="section"> <h1>Specify Size</h1> <h2>Include a px value to specify the corner size</h2> </div> <div class="demo"><h1>Round 30px</h1> <p>$(this).corner("30px");</p></div> <div class="demo"><h1>Round 5px</h1> <p>$(this).corner("5px");</p></div> <div class="demo"><h1>Cool 20px</h1> <p>$(this).corner("cool 20px");</p></div> <div class="demo"><h1>Sharp 20px</h1> <p>$(this).corner("sharp 20px");</p></div> <div class="demo"><h1>Bite 30px</h1> <p>$(this).corner("bite 30px");</p></div> <div class="demo"><h1>Wicked 20px</h1><p>$(this).corner("wicked 20px");</p></div> <div class="demo"><h1>Dog 20px</h1><p>$(this).corner("dog 20px");</p></div> <div class="demo"><h1>Dog2 30px</h1><p>$(this).corner("dog2 30px");</p></div> <div class="demo"><h1>Dog3 30px</h1><p>$(this).corner("dog3 30px");</p></div> <div class="section"> <h1>Mix and Match</h1> <h2>Chain corner calls to achieve combined effects</h2> </div> <div class="demo"><h1>Round and Bevel</h1><p>$(this).corner( "bottom").corner("top bevel");</p></div> <div class="demo"><h1>Round and Notch</h1><p>$(this).corner( "br top").corner("notch bl 20px");</p></div> <div class="demo"><h1>Crazy</h1> <p>$(this).corner("jut tl 20px").corner("dog tr 20px").corner("bite bl 15px").corner("notch br");</p></div> <div class="section"> <h1>Fun Stuff</h1> <h2>Interesting Side Effects</h2> </div> <div class="demo fun"><h1>Left Half of Arrow</h1> <p>$(this).corner("sharp tr br 20px");</p></div> <div class="demo fun"><h1>Right Half of Arrow</h1><p>$(this).corner("sharp tl bl 20px");</p></div> </div> <!-- main --> </body> </html>
- jquery.corner.rar (2.3 KB)
- 下载次数: 75
发表评论
-
使用jQuery和Pure.CSS创建一个可编辑的表格
2016-08-26 02:24 1348使用开源组件真的可以 ... -
2016十大优秀jQuery插件推荐
2016-08-26 02:24 2424当有限的开发知识限制了设计进展,你无法为自己插上创新的翅膀时 ... -
jQuery .tmpl() 用法
2016-08-26 02:22 1320参考效果: DEMO 下载: jquery-tmpl-ma ... -
jQuery:从零开始,DIY一个jQuery(2)
2016-08-19 03:06 1138在上篇文章我们简单实 ... -
jQuery:从零开始,DIY一个jQuery(1)
2016-08-19 03:00 1093从本篇开始会陪大家一起从零开始走一遍 jQuery 的奇妙旅 ... -
Bootstrap 3: 菜单居中 Center content in responsive bootstrap navbar
2016-08-18 06:15 1686先看上面图片的效果,下面是代码: .navbar .nav ... -
jQuery: 操作select option方法集合
2016-08-18 06:06 3453每一次操作select的时候,总是要谷歌一下资料,真是太不爽 ... -
jQuery: 插件开发模式详解 $.extend(), $.fn, $.widget()
2016-08-16 05:31 1297原文:http://www.codeceo.com/arti ... -
jQuery: 选择器(DOM,name,属性,元素)
2016-08-11 01:17 4578出处:http://www.cnblogs.com/star ... -
jQuery: 合并表格中相同文本的相邻单元格
2016-08-01 08:02 1438一、效果 二、代码 <!DOCTYPE ... -
Bootstrap 3: 使用注意box-sizing细节及解决方法
2016-08-01 07:58 1661一、bootstrap样式 在Bootstrap v3.3 ... -
域名详解
2016-07-29 12:51 948域名 域名就是用来唯 ... -
Bootstrap 3: 图标转换事件 Change icons when toggle
2016-07-20 13:39 2372代码: <link href="http: ... -
Bootstrap 3: 图标转换事件 Change icons when toggle
2016-07-19 07:12 812代码: <link href=" ... -
jQuery:无限循环两个或者多个事件 click / toggle between two functions
2016-07-19 07:12 1691插件: (function($) { $.fn. ... -
javascript 中面向对象实现 如何继承
2016-07-14 01:01 599上一篇博客已经说了关于javascript中的封装, 其中也 ... -
javascript 中的面向对象实现 如何封装
2016-07-12 12:27 1277javascript 是一门很灵活的语言,也是一门有缺陷的语 ... -
AngularJS jQuery 共存法则
2016-06-14 05:26 3677寻找正确的方法,如何在AngularJS里使用jQuery ... -
七步从Angular.JS菜鸟到专家(3):数据绑定和AJAX
2016-06-04 05:28 1218AngularJS学习列表:七步 ... -
七步从Angular.JS菜鸟到专家(2):Scopes
2016-06-04 05:27 755AngularJS学习列表:七步走 Angular.js 从 ...
相关推荐
python学习资源
jfinal-undertow 用于开发、部署由 jfinal 开发的 web 项目
基于Andorid的音乐播放器项目设计(国外开源)实现源码,主要针对计算机相关专业的正在做毕设的学生和需要项目实战练习的学习者,也可作为课程设计、期末大作业。
python学习资源
python学习资源
python学习一些项目和资源
【毕业设计】java-springboot+vue家具销售平台实现源码(完整前后端+mysql+说明文档+LunW).zip
HTML+CSS+JavaScarip开发的前端网页源代码
python学习资源
【毕业设计】java-springboot-vue健身房信息管理系统源码(完整前后端+mysql+说明文档+LunW).zip
成绩管理系统C/Go。大学生期末小作业,指针实现,C语言版本(ANSI C)和Go语言版本
1_基于大数据的智能菜品个性化推荐与点餐系统的设计与实现.docx
【毕业设计】java-springboot-vue交流互动平台实现源码(完整前后端+mysql+说明文档+LunW).zip
内容概要:本文主要探讨了在高并发情况下如何设计并优化火车票秒杀系统,确保系统的高性能与稳定性。通过对比分析三种库存管理模式(下单减库存、支付减库存、预扣库存),强调了预扣库存结合本地缓存及远程Redis统一库存的优势,同时介绍了如何利用Nginx的加权轮询策略、MQ消息队列异步处理等方式降低系统压力,保障交易完整性和数据一致性,防止超卖现象。 适用人群:具有一定互联网应用开发经验的研发人员和技术管理人员。 使用场景及目标:适用于电商、票务等行业需要处理大量瞬时并发请求的业务场景。其目标在于通过合理的架构规划,实现在高峰期保持平台的稳定运行,保证用户体验的同时最大化销售额。 其他说明:文中提及的技术细节如Epoll I/O多路复用模型以及分布式系统中的容错措施等内容,对于深入理解大规模并发系统的构建有着重要指导意义。
基于 OpenCV 和 PyTorch 的深度车牌识别
【毕业设计-java】springboot-vue教学资料管理系统实现源码(完整前后端+mysql+说明文档+LunW).zip
此数据集包含有关出租车行程的详细信息,包括乘客人数、行程距离、付款类型、车费金额和行程时长。它可用于各种数据分析和机器学习应用程序,例如票价预测和乘车模式分析。
把代码放到Word中,通过开发工具——Visual Basic——插入模块,粘贴在里在,把在硅基流动中申请的API放到VBA代码中。在Word中,选择一个问题,运行这个DeepSeekV3的宏就可以实现在线问答
【毕业设计】java-springboot+vue机动车号牌管理系统实现源码(完整前后端+mysql+说明文档+LunW).zip
【毕业设计】java-springboot-vue交通管理在线服务系统的开发源码(完整前后端+mysql+说明文档+LunW).zip