• Khách viếng thăm

  • You are not connected. Please login or register

    Chia sẻ

      

    Xem chủ đề cũ hơn Xem chủ đề mới hơn Go down   Thông điệp [Trang 1 trong tổng số 1 trang]

    Giới tính Giới tính :
    Nam
    :
    Status Status :
    Buồn chứ sao nữa
    :
    Post Post :
    1899
    :
    Point Point :
    146177
    :
    Được thích Được thích :
    335
    :
    Sinh nhật Sinh nhật :
    20/07/1996
    :
    Tuổi Tuổi :
    20
    :

    Bài gửiTiêu đề: [Code] BBcode Notes ver1 14/6/2012, 10:43 pm1


    Title * : BBcode Notes
    Placement : In all the pages
    Javascript Code * :
    Code:

    $(function(){$("<div style=\"display:inline!important\" id=\"text_editor_select_controls\"><div style=\"visibility:hidden\" class=\"select\" id=\"notes\"><button onclick=\"bbfontstyle('[table class=noteclassic][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false\"><img src=\"/users/2611/10/63/87/album/note10.png\">Classic note</button><br /><button onclick=\"bbfontstyle('[table class=notetip][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false\"><img src=\"/users/2611/10/63/87/album/tip10.png\">Tip note</button><br /><button onclick=\"bbfontstyle('[table class=notewarning][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false\"><img src=\"/users/2611/10/63/87/album/warn10.png\">Warning note</button><br /><button onclick=\"bbfontstyle('[table class=noteimportant][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false\"><img src=\"/users/2611/10/63/87/album/imp10.png\">Important note</button><br /><button onclick=\"bbfontstyle('[table class=notehelp][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false\"><img src=\"/users/2611/10/63/87/album/help10.png\">Help note</button></div></div><button class=\"button2\" onclick=\"selectWysiwyg(this,'notes')\" onmouseover=\"helpline('BBcode notes')\" type=\"button\"><img src=\"/users/2611/10/63/87/album/inote10.gif\" /></button> <img src=\"http://illiweb.com/fa/wysiwyg/separator.png\" style=\"vertical-align: middle;\"> ").insertBefore("span#text_edit input.button2[value='Others']");$(".noteclassic, .noteimportant, .notewarning, .notetip, .notehelp").css({"width":"95%","border-radius":"10px 10px","-moz-border-radius":"10px 10px","-webkit-border-radius":"10px 10px","padding":"25px 20px 15px 80px","margin":"10px 0px 15px 5px","-webkit-box-shadow":"2px 2px 3px #999","-moz-box-shadow":"2px 2px 3px #999","min-height":"40px","height":"auto !important","height":"40px","overflow":"visible","position":"relative","top":"6px","left":"5px","border":"1px solid #999999","background-position":"20px 50%","background-repeat":"no-repeat","text-align":"justify"});$(".noteclassic").css({"background-color":"#EEF","background-image":"url(http://i20.servimg.com/u/f20/14/50/49/34/note10.png)"});$(".noteimportant").css({"background-color":"#FFC","background-image":"url(http://i20.servimg.com/u/f20/14/50/49/34/import10.png)"});$(".notewarning").css({"background-color":"#FDD","background-image":"url(http://i20.servimg.com/u/f20/14/50/49/34/warnin10.png)"});$(".notetip").css({"background-color":"#E4F6F8","background-image":"url(http://i20.servimg.com/u/f20/14/50/49/34/tip10.png)"});$(".notehelp").css({"background-color":"#D8F3C9","background-image":"url(http://i20.servimg.com/u/f20/14/50/49/34/help10.png)"})});$(function(){if(document.getElementById('color')){var colors=new Array('00','33','66','99','CC','FF');var x='<div id="colorpickers"><table id="grid">';var y=x;for(i=5;i>=0;i--){x=x+'<tr>';y=y+'<tr>';for(j=5;j>=0;j--){for(k=5;k>=0;k--){var col=colors[j]+colors[i]+colors[k];x=x+'<td style="background: #'+col+';"><button style="background:#'+col+';" title="#'+col+'" onmouseover="this.className=\'selectHover\';" onmouseout="this.className=\'\';" onclick="bbfontstyle(\'[color=#'+col+']\', \'[/color]\');selectWysiwyg(this, \'color\');return false;"></button></td>';y=y+'<td style="background: #'+col+';"><button style="background:#'+col+';" id="text_editor_cmd_constructBBcode_select_color_#'+col+'"></button></td>'}}x=x+'</tr>';y=y+'</tr>'}document.getElementById('color').innerHTML=x+'</table></div>';document.getElementById('wcolor').innerHTML=y+'</table></div>'}});jQuery(document).ready(function(){jQuery('button img').each(function(){if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/text_bold.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/bold10.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/text_italic.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/italic10.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/text_underline.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/underl10.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/text_strikethrough.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/strike10.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/text_align_center.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/align_10.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/text_align_left.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/align_11.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/text_align_right.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/align_12.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/page_white_code.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/code10.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/i/smiles/icon_smile.gif')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/emotic10.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/color_swatch.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/font_c11.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/help.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/help10.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/link.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/link10.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/text_list_numbers.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/ordere10.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/picture.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/pictur10.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/comments.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/quote10.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/i/switch_wysiwyg.gif')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/remove12.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/text_list_bullets.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/unorde10.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/text_align_justify.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/align_13.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/text_horizontalrule.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/text_h10.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/table.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/table10.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/picture_save.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/pictur11.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/page_white_flash.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/page_w10.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/style.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/size10.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/font.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/fon10.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/separator.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/separa10.png');if(jQuery(this).attr('src')=='http://illiweb.com/fa/wysiwyg/font_delete.png')jQuery(this).attr('src','http://i26.servimg.com/u/f26/12/56/56/12/remove10.png')})});

    Nguồn: baivong


    Xem chủ đề cũ hơn Xem chủ đề mới hơn Về Đầu Trang   Thông điệp [Trang 1 trong tổng số 1 trang]

      

    Permissions in this forum:
    Bạn không có quyền trả lời bài viết