$.fn.image_checked = function (Self,status,img_body,csrf_token) {
$ (This). Live (' click ', function () {
var index = $ (this). Index ()
var img_id = $ ('. ') +self+ ' input '). EQ (Index). Val ();
$.ajax ({
Type: ' POST ',
url:baseurl+ ' Img/checked_image ',
Data:{status:status,img_id:img_id,csrf_token_name:csrf_token},
Success:function (msg)
{
$("." +img_body). HTML (msg);
$ ('. Mark '). Imgbig ('. Mark ');
Tips_load ($ ('. Tabs_nav_active '). Children (). Children (). EQ (0). html (), '. Cur ')
}
})
})
}
$.fn.tabs = function (tab_content) {
$ (this). each (function (i) {
$ (this). Click (function () {
$ (tab_content). addclass (' Tabs_content_hide '). Removeclass (' cur ')
$ (tab_content). EQ (i). Removeclass (' Tabs_content_hide '). addclass (' cur ')
$ (this). Siblings (). Removeclass (' tabs_nav_active ')
$ (this). addclass (' tabs_nav_active ')
});
});