Last edited by icecom3 on December 7th 2014, 12:29 am; edited 2 times in total
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
$(function(){
var imageurl = "http://www.url.com/pro10.png" // replace the link with url to the solved icon
var image = $('.postbody h2.topic-title img').attr('src')
if (image == imageurl){
$('.i_reply').css('display','none');
$('#quick_reply').css('display','none');
$('#quick_reply').prev().css('display','none');
$('#quick_reply').prev().prev().css('display','none');
$('h1.page-title').append('<span style="background-color:red;color:black; padding:5px; border-radius:5px; font-size:0.6em; font-weight:bold; border:1px solid black; margin-left:10px;">This Topic Has Been Marked Solved By The Author</span>');
};
});
$(function(){
var imageurl = "http://i59.servimg.com/u/f59/19/06/58/31/button15.png" // replace the link with url to the solved icon
var image = $('.postbody h2.topic-title img').attr('src')
if (image == imageurl){
$('.i_reply').css('display','none');
$('#quick_reply').css('display','none');
$('#quick_reply').prev().css('display','none');
$('#quick_reply').prev().prev().css('display','none');
$('h1.page-title').append('<span style="background-color:red;color:black; padding:5px; border-radius:5px; font-size:0.6em; font-weight:bold; border:1px solid black; margin-left:10px;">This Topic Has Been Marked Solved By The Author</span>');
};
});
$(function(){
var imageurl = "http://i59.servimg.com/u/f59/19/06/58/31/button15.png"; // replace the link with url to the solved icon
var image = $('.postbody h2.topic-title img').attr('src');
if (image == imageurl){
$('.i_reply').css('display','none');
$('#quick_reply').css('display','none');
$('#quick_reply').prev().css('display','none');
$('#quick_reply').prev().prev().css('display','none');
$('h1.page-title').append('<span
style="background-color:red;color:black; padding:5px; border-radius:5px;
font-size:0.6em; font-weight:bold; border:1px solid black;
margin-left:10px;">This Topic Has Been Marked Solved By The
Author</span>');
};
});
$(function(){
var imageurl = "http://i59.servimg.com/u/f59/19/06/58/31/button15.png"; // replace the link with url to the solved icon
var bgcolor = "blue"; //background color
var txtcolor = "white"; // text color
var brdrad = "5px"; // border radius
var fntsize = "0.6em"; // font size
var brdsize = "1px"; // border size
var brdstyle = "solid"; // border style -solid-dashed-dotted
var brdcolor = "#00ff00"; // border color
var padd = "5px"; // padding - space between font and border
var fntwei = "bold"; // font weight - normal-bold-bolder
var mrgl = "10px"; // margin left- space between title and the notice
var themsg = "This Topic Has Been Marked Closed By The Author"; // message you want to display
var image = $('.postbody h2.topic-title img').attr('src');
if (image == imageurl){
$('.i_reply').css('display','none');
$('#quick_reply').css('display','none');
$('#quick_reply').prev().css('display','none');
$('#quick_reply').prev().prev().css('display','none');
$('h1.page-title').append('<span style="background-color:' + bgcolor + ';color:' + txtcolor + '; padding:' + padd + '; border-radius:' + brdrad + ';font-size:' + fntsize + ';font-weight:' + fntwei + ';border:' + brdsize + ' ' + brdstyle + ' ' + brdcolor + ';margin-left:' + mrgl + ';">' + themsg + '</span>');
};
});