02 2012 档案

摘要:From:http://www.designchemical.com/blog/index.php/jquery/jquery-simple-horizontal-accordion/After our tutorial last month showing how tocreate a vertical accordion menu using jQuerywe have had a couple of requests asking how to make a horizontal accordion.So we have decided to provide the following 阅读全文
posted @ 2012-02-29 21:37 Lux.Y 阅读(685) 评论(0) 推荐(0) 编辑
摘要:From:http://trac.symfony-project.org/wiki/ConvertingPropelProjectToDoctrineI encourage everyone to add / edit this page to make it more useful to others. In this page I have used and linked to other sources. By no means do I claim ownership/credit or anything else about this page, it's simply a 阅读全文
posted @ 2012-02-29 01:36 Lux.Y 阅读(828) 评论(0) 推荐(0) 编辑
摘要:In Symfony 1.4, we dont have Javascript Helper anymore, instead, we have a JavascriptBase helper. 阅读全文
posted @ 2012-02-24 18:57 Lux.Y 阅读(150) 评论(0) 推荐(0) 编辑
摘要:这是一个在从Symfony中, 当从Propel转换到Doctrine时,会出现在错误在propel中, 可以使用 parent::getName()class Image extends BaseImage{ public function getName() { return parent::getName(); } ...在doctrine中,若想实现同样的效果, 要改为$this->_get('name');public function getName(){ return $this->_get('name');} 阅读全文
posted @ 2012-02-24 18:14 Lux.Y 阅读(2795) 评论(1) 推荐(0) 编辑
摘要:要做到两个div在一行,就得利用float或设置总宽度之和等于小大div<style type="text/css教程"><!--.onediv{width:90px; height:50px;float:left;margin:0 0 0 5px; border:1px #000 solid; background:#ff0000}.twodiv{width:90px; height:50px;float:left;margin:0 0 0 5px; border:1px #000 solid; background:#99cc00}-->< 阅读全文
posted @ 2012-02-22 18:39 Lux.Y 阅读(2654) 评论(0) 推荐(0) 编辑
摘要:当今互联网已经成为每一个人的信息知识来源。假如你想学习任何事情,可以很容易在互联网上轻松找到相关的信息,即使它是很简单的事情。在互联网上有成千上万的教程和指南可以用来学习与工作相关的技术和内容。 Web开发人员同样也经常通过互联网获取关于HTML和编码的相关知识。为了帮助这些开发人员,以下是我们收集的一些优秀电子书供大家学习。1.HTML5 Quick Learning Guide如果您想学习HTML5,这本电子书将帮助您学习所有HTML5的基本标签元素。2.Head First HTML with CSS and XHTML有了这本电子书,你可以使用HTML和CSS技术轻松地创建基于标准的网 阅读全文
posted @ 2012-02-22 01:50 Lux.Y 阅读(274) 评论(0) 推荐(0) 编辑
摘要:网站上线前的测试和验证是非常重要的一个环节,验证的意思是检查网站的页面和其他数据是否符合标准规范,设计规范的网站在各种浏览器上表现会一致而且良好。 为了帮助你执行这些测试和验证,今天我们列表了 5 个在线的工具。 Pingdom Tools Pingdom Tools 可以帮你分析网站的速度以及一些无法访问的元素 Feed Validation Service 这是一个用来检查 RSS 和 Atom 数据语法的工具 Functional Accessibility Evaluator 从名字可以看出,该工具主要对单个页面的功能访问进行测试。 Browsershots ... 阅读全文
posted @ 2012-02-22 01:41 Lux.Y 阅读(220) 评论(0) 推荐(0) 编辑
摘要:First, in sfWidgetFormTextareaTinyMce class we set:protected function configure($options = array(), $attributes = array()) { ...... $this->addOption('imagemanager_rootpath', 'mydir'); ...... }public function render($name, $value = null, $attributes = array(), $errors = array()) { 阅读全文
posted @ 2012-02-22 00:42 Lux.Y 阅读(346) 评论(0) 推荐(0) 编辑
摘要:<script type="text/javascript"> <!-- $(document).ready(function() { $(function(){ var $filter = $('div.sf_admin_filter'); // 想要被展开关闭的div var $title = $('div.show_hidden_filter'); // 切换事件 $filter.hide(); // 默认关闭 $title.toggle(function(){ ... 阅读全文
posted @ 2012-02-22 00:18 Lux.Y 阅读(954) 评论(0) 推荐(0) 编辑
摘要:Before the query, you putSET FOREIGN_KEY_CHECKS = 0 阅读全文
posted @ 2012-02-21 20:17 Lux.Y 阅读(150) 评论(0) 推荐(0) 编辑
摘要:Realtime Listing, going very popular, every guy searching for that, i have also spend lot of time to search the way to refresh page every x seconds. so i can update my ajax listing with new added records.after long search and try many method i found javascript function setInterval, all realtime list 阅读全文
posted @ 2012-02-17 01:19 Lux.Y 阅读(387) 评论(0) 推荐(0) 编辑
摘要:From: http://davidwalsh.name/execute-http-post-php-curlA customer recently brought to me a unique challenge. My customer wants information request form data to be collected in a database. Nothing new, right? Well, there's a hurdle -- the information isn't going to be saved on the localhost d 阅读全文
posted @ 2012-02-16 21:38 Lux.Y 阅读(391) 评论(0) 推荐(0) 编辑
摘要:After writing the article on Uploading photos to Facebook albums, I though it would be a good idea to tell my readers how to upload photos to your Facebook fan page. Uploading photos to the fan page is a bit different from uploading photos to your album. Here we need the access token of your Fan pag 阅读全文
posted @ 2012-02-10 23:54 Lux.Y 阅读(581) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示