Archive for the ‘Frontend Design’ Category

Bug of background image in an inline list in IE8

Sunday, January 10th, 2010

Also see http://www.v7n.com/forums/web-design-lobby/115171-background-image-inline-list-ie.html

FF/IE hacks:

padding: 2px 0 2px 18px; /*FF LTR */
padding: 12px 0 2px 18px\9; /*IE8 LTR */
+padding: 2px 0 2px 18px; /*IE7 LTR */
_padding: 2px 0 2px 18px; /*IE6 LTR */

Protected: urls

Thursday, December 10th, 2009

This post is password protected. To view it please enter your password below:


Simple usage of ajax json in drupal

Thursday, October 22nd, 2009

//add the client side js
function hook_init()
{
drupal_add_js(‘$(document).ready(
function(…){});
‘,’inline’);
}

//server side callback
function my()
{
drupal_set_header(‘Content-Type: text/plain; charset: utf-8′);
$output = ”;

echo json_encode($output);
}

前端开发必备FF插件FIREBUG

Thursday, November 20th, 2008

前端开发必备FF插件FIREBUG

前端开发必备HttpWatch

Wednesday, November 19th, 2008

HttpWatch强大的网页数据分析工具.集成在Internet Explorer工具栏.包括网页摘要.Cookies管理.缓存管理.消息头发送/接受.字符查询.POST 数据和目录管理功能.报告输出 HttpWatch 是一款能够收集并显示页页深层信息的软件。它不用代理服务器或一些复杂的网络监控工具,就能够在显示网页同时显示网页请求和回应的日志信息。甚至可以显示浏览器缓存和IE之间的交换信息。集成在Internet Explorer工具栏。