I. image application. Change the English close to close, and change Prev and next to the position of the previous and next in thickbox. js.
First download the uncompressed file: http://jquery.com/demo/thickbox/
Open the thickbox. js file and find
Locate Prev and next and change the followingCode:
Tb_nexthtml = "<span id = 'tb _ next'> & nbsp; <a href = '#'> next & gt; </a> </span> ";
Tb_prevhtml = "<span id = 'tb _ prev'> & nbsp; <a href = '#'> & lt; previous </a> </span> ";
Change "close" to "Chinese", and change "close" to "close" if it is not included in the HTML Tag.
2. When using the IFRAME mode, you may need to refresh the parent window when closing the window as follows:
// Refresh the opener window that opens this window.
Function Refreshopener (){
// The frame page may exist, so you need to reference the top window.
VaR Win = Top. window;
Try
{
// Refresh.
If (WIN)
{
Win. Location. href = Win. Location. href;
}
}
Catch (Ex)
{
// Prevents code exceptions when opener is disabled.
}
}
//Refresh the opener window and close yourself.
FunctionRefreshopenerandcloseme (){
Refreshopener ();
Tb_remove ();
}
Then find
$ ("# Tb_closewindowbutton"). Click (tb_remove );
Changed:
$ ("# Tb_closewindowbutton"). Click (refreshopenerandcloseme );
Note: I am not good at color. I hope the audience can understand it!