R
R
Roman Progressive2018-12-29 14:29:06
JavaScript
Roman Progressive, 2018-12-29 14:29:06

How to remove spoiler-minus.gif, spoiler-plus.gif without damaging the code?

How to remove spoiler-minus.gif , spoiler-plus.gif without damaging the code?

function ShowOrHide(a){var c=$("#"+a);a=document.getElementById("image-"+a)?document.getElementById("image-"+a):null;var b=c.height()/200*1E3;3E3<b&&(b=3E3);250>b&&(b=250);"none"==c.css("display")?(c.show(),a&&(a.src=dle_root+"templates/"+dle_skin+"/dleimages/spoiler-minus.gif")):(2E3<b&&(b=2E3),c.hide(),a&&(a.src=dle_root+"templates/"+dle_skin+"/dleimages/spoiler-plus.gif"))} function ckeck_uncheck_all(){for(var a=document.pmlist,c=0;c<a.elements.length;c++){var b=a.elements[c];"checkbox"==b.type&&(b.checked=1==a.master_box.checked?!1:!0)}a.master_box.checked=1==a.master_box.checked?!1:!0}function confirmDelete(a){DLEconfirm(dle_del_agree,dle_confirm,function(){document.location=a})}function setNewField(a,c){a!=selField&&(fombj=c,selField=a)}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Progressive, 2018-12-29
@Pro-gressive

So?

function ShowOrHide(a){var c=$("#"+a);function ckeck_uncheck_all(){for(var a=document.pmlist,c=0;c<a.elements.length;c++){var b=a.elements[c];"checkbox"==b.type&&(b.checked=1==a.master_box.checked?!1:!0)}a.master_box.checked=1==a.master_box.checked?!1:!0}function confirmDelete(a){DLEconfirm(dle_del_agree,dle_confirm,function(){document.location=a})}function setNewField(a,c){a!=selField&&(fombj=c,selField=a)}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question