“,
‘Css’: {
‘Position’: ‘absolute’,
‘Z-index’: ’500′
‘Text-align’: ‘center’,
‘Top’: (offset.top) + ‘px’,
‘Left’: (offset.left) + ‘px’,
‘Width’: t.width () + ‘px’,
‘Height’: t.height () + ‘px’,
‘Line-height’: t.height () + ‘px’,
‘Cursor’: ‘pointer’,
‘Background-color’: ‘rgba (0,0,0,0.7)’
}
‘Click’: function () {
var PhotosArr = explode (“|”, $ (‘input [name = idp]‘). val ());
PhotosArr.removeByVal (iid);
$ (‘Input [name = idp]‘). Val (implode (“|”, PhotosArr));
$ (‘#wAttachDel’). Remove ();
$ (‘Img.AttachmentPhoto [param =' + iid + ']‘). Remove ();
UpdInterv (- (String (iid) .length));
ajax.init (‘op = DeleteTMPAttachment & amp; iid =’ + iid + ‘& amp; src =’ + src, function (res) {});
}
}). PrependTo (‘body’);
});
$ (Document) .on (‘mouseleave’, ‘#wAttachDel’, function () {
$ (‘#wAttachDel’). Remove ();
});
$ (Document) .on (‘mouseenter’, ‘img.AttachmentVideo’, function () {
var t = $ (this);
var iid = t.attr (‘param’);
var offset = t.offset ();
$ (‘#wAttachDel’). Remove ();
var wAttachDel = $ (‘
remove
“, ‘css’: {‘ position ‘:’ absolute ‘,’ z-index ‘:’ 500 ‘,’ text-align ‘:’ center ‘,’ top ‘: (offset.top) +’ px ‘,’ left ‘: (offset.left) + ‘px’, ‘width’: t.width () + ‘px’, ‘height’: t.height () + ‘px’, ‘line-height’: t.height () + ‘px’, ‘ cursor ‘:’ pointer ‘,’ background-color ‘:’ rgba (0,0,0,0.7) ‘},’ click ‘: function () {$ (‘ input [name = vurl] ‘). val (‘ ‘); $ (‘ #wAttachDel ‘). remove (); $ (‘ img.AttachmentVideo ‘). remove (); UpdInterv (- (iid));}}). prependTo (‘ body ‘); }); $ (Document) .on (‘mouseleave’, ‘#wAttachDel’, function () {$ (‘#wAttachDel’). Remove ();}); $ (Document) .on (& #8216;click’, ‘#LoadVideo’, function () {if (! MW.IsOpen) {MW.Show ({cont: “”, position: ‘fixed’, top: 150, left: ‘center’, Hcont: “Add Video to discussion”, width: 557, height: 170, btn_close: 1, OverlayClickClose: 1, IssetOverlay: true}); ajax.property.JSON = false; ajax.init (“op = CommentLoadVideo “, function (res) {$ (‘#MWCont’). html (res); if (res.cont! = undefined) {$ (‘#MWCont’). html (res.cont);} if (res .error! = undefined) $ (‘#err’). html (“
” + res.error + “
“); if (res.script! = undefined) eval (res.script);} );} else {MW.Close ();}}); $ (Document) .on (‘click’, ‘div.CommentGetUserLiker’, function () {var cid = $ (this) .attr (‘param’); if (! MW.IsOpen) {MW.Show ({cont “”
position: ‘fixed’,
top: 150,
left: ‘center’,
Hcont: “”,
width: 450,
height: 170,
btn_close: 1
OverlayClickClose: 1
IssetOverlay: true
});
// Ajax.property.JSON = false;
ajax.init (“op = CommentGetUserLiker & amp; cid =” + cid, function (res) {
$ (‘#MWCont’). Html (res);
if (res.cont! = undefined) {
$ (‘#MWCont’). Html (res.cont);
}
if (res.error! = undefined) $ (‘#err’). html (“
” + res.error + “
“); if (res.script! = undefined) eval (res.script); }); } Else {MW.Close (); }}); });
No comments:
Post a Comment