This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<body> | |
<style> | |
.author,.time{ | |
width:100px; | |
} | |
.content{ | |
position:relative; | |
border:#ccc solid 1px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @author fuqiang[[email protected]] | |
* @version 20120514 | |
* @description 暂时作为照片详情页的views集合 | |
*/ | |
define('module/view', ['module/common', 'module/model', 'module/tool', 'vendor/jquery', 'module/mask', 'module/like', 'module/userRelation'], function(R, MODEL, tool, $, mask, like, userRelation) { | |
var TOOL = tool.DetailTool; | |
var ExifHeight = 56; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function loadByqueue(list,type,callback){ | |
var queue = [], | |
_load = { | |
"sync":function(list){ | |
var src = list[0]; | |
if(!src) callback(); | |
$.getScript(src,function(){ | |
list.shift(); | |
_load["sync"](list); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>demo</title> | |
<script src="http://code.jquery.com/jquery-1.8.1.min.js"></script> | |
<script src="Gray.js"></script> | |
</head> | |
<style> | |
*{margin:0px;padding:0px;} | |
</style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
$.fn.grayScan = function(options) { | |
var _config = { | |
direction: 'top', | |
timer: 10 | |
}, | |
T = null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var config = require('./config.js'), | |
xml2js = require('xml2js'), | |
http = require('http'); | |
var baiduZm = function() { | |
this.root = "box.zhangmen.baidu.com"; | |
}; | |
baiduZm.prototype = { | |
constructor: baiduZm, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define(function(require, exports, module) { | |
var jQuery = require('jquery'), | |
Events = require('events'); | |
//基于jquery.ui | |
require('vendor/jquery.ui'); | |
require('vendor/jquery.mousewhell'); | |
(function($) { | |
var scrollbar = function(config) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define(function(require, exports, module) { | |
//web chat基础类,不负责业务层和UI | |
var $ = require('jquery'), | |
Events = require('events'), | |
chatlist = require('mods/chat/chat-list'), | |
chatwindow = require('mods/chat/chat-window'); | |
require('vendor/jquery.comet'); | |
var chat = function(config) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define(function(require, exports, module) { | |
var $ = require('jquery'), | |
face = require('mods/face/face'), | |
Mu = require('mustache'); | |
require('vendor/jquery.jscrollbar'); | |
var chatWindow = function() { | |
//发言间隔time object |