Start Add Page - no function

This commit is contained in:
devin committed 2012-05-03 17:59:07 +08:00
1 parent 1fce99c96f
commit aeaf2f05d1
4 files changed
+180 -12

No files matched your search

+14
View File
@@ -907,7 +907,21 @@ var orbitDesktop = function(dom){
var addpaper = function(){ // to open add pages in journal papers page
var bindHandlers = function(){ // to bind handlers for add page
o.simple_drop_down();
// fill width for tiny scroll bar
var e = $('.g_col'),
count = e.length,
baseWidth = e.eq(1).outerWidth(true);
e.parents('.overview').width( baseWidth * count );
$('.tinycanvas')
.tinyscrollbar({ axis: 'x'})
.find('.scrollbar')
.delay(1500)
.addClass('op00', 500);
}
$("div#settings div#panel_r").load("/desktop/journal_p_add",function(){
bindHandlers();