From 2d840a6cea9bdff35e532b6be3102949566d831d Mon Sep 17 00:00:00 2001 From: zhujinyong Date: Thu, 17 Jan 2013 00:48:49 +0000 Subject: [PATCH] * edit doc library in colorbox. --- module/doc/js/common.js | 6 ++++++ module/doc/view/browse.html.php | 2 +- module/doc/view/create.html.php | 2 +- module/doc/view/edit.html.php | 2 +- module/doc/view/view.html.php | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/module/doc/js/common.js b/module/doc/js/common.js index 4e449d5799..fb73c0f65d 100644 --- a/module/doc/js/common.js +++ b/module/doc/js/common.js @@ -27,3 +27,9 @@ function setType(type) $('#contentBox').hide(); } } + +$(document).ready(function() +{ + $("#submenucreate").colorbox({width:500, height:200, iframe:true, transition:'none'}); // The create lib link. + $("#submenuedit").colorbox({width:500, height:200, iframe:true, transition:'none'}); // The edit lib link. +}); diff --git a/module/doc/view/browse.html.php b/module/doc/view/browse.html.php index 36ab6766ab..f0f21ed8f0 100644 --- a/module/doc/view/browse.html.php +++ b/module/doc/view/browse.html.php @@ -81,4 +81,4 @@ var browseType = ''; - + diff --git a/module/doc/view/create.html.php b/module/doc/view/create.html.php index 44e9134612..f3e7e18c8b 100644 --- a/module/doc/view/create.html.php +++ b/module/doc/view/create.html.php @@ -68,4 +68,4 @@ - + diff --git a/module/doc/view/edit.html.php b/module/doc/view/edit.html.php index 65f2163793..7399dbd8b1 100644 --- a/module/doc/view/edit.html.php +++ b/module/doc/view/edit.html.php @@ -65,4 +65,4 @@ $(document).ready(function() - + diff --git a/module/doc/view/view.html.php b/module/doc/view/view.html.php index 765b168eac..55ebfab037 100644 --- a/module/doc/view/view.html.php +++ b/module/doc/view/view.html.php @@ -107,4 +107,4 @@ - +