--- thickbox.js~ 2010-05-05 15:24:43.823429470 +0300 +++ thickbox.js 2010-05-05 15:27:38.426379283 +0300 @@ -6,7 +6,8 @@ */ var tb_pathToImage = "loadingAnimation.gif"; - +var tb_closeButton = 'Close'; +var tb_closeMsg = 'Close'; /*!!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/ //on page load call tb_init @@ -146,7 +147,7 @@ TB_WIDTH = imageWidth + 30; TB_HEIGHT = imageHeight + 60; - $("#TB_window").append(""+caption+"" + "
"+caption+"
" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "
close or Esc Key
"); + $("#TB_window").append(""+caption+"" + "
"+caption+"
" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "
"+ tb_closeButton +"
"); $("#TB_closeWindowButton").click(tb_remove); @@ -214,7 +215,7 @@ urlNoQuery = url.split('TB_'); $("#TB_iframeContent").remove(); if(params['modal'] != "true"){//iframe no modal - $("#TB_window").append("
"+caption+"
close or Esc Key
"); + $("#TB_window").append("
"+caption+"
"+ tb_closeButton +"
"); }else{//iframe modal $("#TB_overlay").unbind(); $("#TB_window").append(""); @@ -222,7 +223,7 @@ }else{// not an iframe, ajax if($("#TB_window").css("display") != "block"){ if(params['modal'] != "true"){//ajax no modal - $("#TB_window").append("
"+caption+"
close or Esc Key
"); + $("#TB_window").append("
"+caption+"
"+ tb_closeButton +"
"); }else{//ajax modal $("#TB_overlay").unbind(); $("#TB_window").append("
");