* fix a bug for colorbox size.

This commit is contained in:
wangyidong
2013-02-19 06:23:57 +00:00
parent 81c4e31385
commit 8b4018f4bd

View File

@@ -4,7 +4,7 @@ if($('a.popup').size()) $("a.popup").colorbox({width:900, height:600, iframe:tru
function popup(width, height)
{
if(width == 0 || height == 0) $("a.popup").colorbox({width:width, height:height});
if(width != 0 && height != 0) $("a.popup").colorbox({width:width, height:height});
}
var show = new Array();