边框分享===【此贴转自紫涵】 - 日志 - 阳光白雪 - 天山家园 - Powered ...

来源:百度文库 编辑:神马文学网 时间:2024/04/28 13:25:00
阳光白雪的日志
阳光白雪的主页 »TA的所有日志 »查看日志边框分享===【此贴转自紫涵】
已有 42 次阅读  2010-04-26 10:38
边框插入日志方法介绍:
1、将你选中的边框,首用用鼠标将边框和上下的文字都选中,最好用键盘复制(ctrl+c),打开发表日志的编辑框后粘贴(ctrl+v),注意一定要把边框上下的文字(如边框一)一并复制,否则不能粘贴。
2、将你事先编辑好的日志内容粘贴到[日志撰写处],文字大小和颜色根据边框和自己喜欢的决定。
3、编辑完毕后,就可以发表了,看看效果如何,哈,祝你成功!
边框一:
日志撰写处
',6)">
边框二:

袅袅琴音 幽幽情思
.cp_editor{ overflow: hidden; zoom: 1; position:absolute; z-index:2001; margin-top:2px; } .cp_editor_text{ width: 100%; height: 85%; } .cp_button{ text-align: center; } .cp_button input{ margin:3px; } function initCustomizePanel34() { var div = document.createElement("DIV"); div.id = "DD___cp_34"; div.style.display = "none"; div.className = "cp_editor"; div.style.height = "auto"; div.style.minHeight = "300px"; div.style.width = "550px"; _gel("DS_DD_div").appendChild(div); if (0=='0') { _gel("m_34").getElementsByTagName('h2')[0].style.display = 'none'; _gel("m_34_b").style.border = 'none'; } } function saveeditcp34() { var iframe = _gel('posteditor_cp34_iframe'); var doc = iframe.contentWindow.document; var value; if (doc.getElementById('posteditor_textarea').style.display == 'none') { value = doc.getElementById('posteditor_iframe').contentWindow.document.body.innerHTML; } else { value = doc.getElementById('posteditor_textarea').value; } _xsetp('action=updatecustomizepanel&cp_module_id=34&cp_module_content='+ _esc(value)); _gel('cp_34_content').innerHTML = value; canceleditcp34(); } function canceleditcp34() { _gel('DD___cp_34').style.display = 'none'; //_gel('cp_editor_owner34').style.display = 'none'; } function editpanel_34() { var div = _gel('DD___cp_34'); if (!_gel('posteditor_cp34_iframe')) { var iframe = document.createElement("IFRAME"); iframe.id = 'posteditor_cp34_iframe'; iframe.src = '/bbs/editor/cp_editor.htm?style=/bbs/space/skins/themes/bird/editor.css'; iframe.frameBorder="0"; iframe.width = '100%'; iframe.scrolling="no"; //alert(div.offsetHeight); if (DragUtil.isIE) { iframe.height = '297px'; } else { iframe.height = '298px'; } div.appendChild(iframe); iframe.onload = function() { iframe.contentWindow.document.getElementById('editorcss').href = '/bbs/space/skins/themes/bird/editor.css'; iframe.contentWindow.document.getElementById('posteditor_iframe').contentWindow.document.body.innerHTML = _gel('cp_34_content').innerHTML; iframe.contentWindow.document.getElementById('posteditor_textarea').value = _gel('cp_34_content').innerHTML; }; iframe.onreadystatechange = function() { if(this.readyState=='complete') { iframe.contentWindow.document.getElementById('editorcss').href = '/bbs/space/skins/themes/bird/editor.css'; iframe.contentWindow.document.getElementById('posteditor_iframe').contentWindow.document.body.innerHTML = _gel('cp_34_content').innerHTML; iframe.contentWindow.document.getElementById('posteditor_textarea').value = _gel('cp_34_content').innerHTML; } }; var div1 = document.createElement("DIV"); div1.className = 'cp_button'; div1.innerHTML = ' '; div.appendChild(div1); } } _DS_RegisterOnloadHandler(initCustomizePanel34);


边框三:
',1)">
明月几时有?把酒问青天。不知天上宫阙,今夕是何年?我欲乘风归去,又恐琼楼玉宇,高处不胜寒!起舞弄清影,何似在人间?
转朱阁,低绮户,照无眠。不应有恨,何时长向别时圆? 人有悲欢离合,月有阴晴圆缺,此事古难全。
但愿人长久,千里共婵娟。
 
function parsetag() { var cachefilepath = window.location.protocol + "//" + window.location.host + '/bbs/cache/spaceposttag/'; try { eval(_gel("tags_script").innerHTML); }catch(e){}; }
边框四:
',7)">

边框五:
_DS_FetchContent(cachefilepath + Math.ceil(2291/1000) + "/2291_tags.txt", function showtag(json){ var jsonArray; try { jsonArray = eval(json); }catch(e){ _DS_FetchContent(window.location.protocol + "//" + window.location.host + '/bbs/tools/ajax.aspx?t=getspaceposttags&postid=2291', function showtag(json){ try{ jsonArray = eval(json); }catch(e){} if (jsonArray) { var html = "标签: "; for (var x = 0; x < jsonArray.length; x++) { if (aspxrewrite == 1) { html += '' + jsonArray[x].tagname + ' '; } else { html += '' + jsonArray[x].tagname + ' '; } } _gel("tags").innerHTML = _trim(html); } }); }; if (jsonArray) { var html = "标签: "; for (var x = 0; x < jsonArray.length; x++) { if (aspxrewrite == 1) { html += '' + jsonArray[x].tagname + ' '; } else { html += '' + jsonArray[x].tagname + ' '; } } _gel("tags").innerHTML = _trim(html); } });


 
边框六:
',2)">
边框七:
边框七:
_DS_FetchContent(cachefilepath + Math.ceil(1606/1000) + "/1606_tags.txt", function showtag(json){ var jsonArray; try { jsonArray = eval(json); }catch(e){ _DS_FetchContent(window.location.protocol + "//" + window.location.host + '/bbs/tools/ajax.aspx?t=getspaceposttags&postid=1606', function showtag(json){ try{ jsonArray = eval(json); }catch(e){} if (jsonArray) { var html = "标签: "; for (var x = 0; x < jsonArray.length; x++) { if (aspxrewrite == 1) { html += '' + jsonArray[x].tagname + ' '; } else { html += '' + jsonArray[x].tagname + ' '; } } _gel("tags").innerHTML = _trim(html); } }); }; if (jsonArray) { var html = "标签: "; for (var x = 0; x < jsonArray.length; x++) { if (aspxrewrite == 1) { html += '' + jsonArray[x].tagname + ' '; } else { html += '' + jsonArray[x].tagname + ' '; } } _gel("tags").innerHTML = _trim(html); } });
 
',3)">',4)">',5)">