留言簿

2015-02-25 08:43:32 -0600
«Newer      Older»

----Comments(4)----
@jhckn | @ at 2015-04-04 10:59:
@hxyy 谢谢!我明天试试!
华夏有衣 (@hxyy) | @ at 2015-04-04 10:08:
@jhckn看到了吗
华夏有衣 (@hxyy) | @ at 2015-04-04 09:18:
需要登录可能是com和net的原因吧,也可能是缓存。

其实我是从x6那里复制的。
不过图片地址改成自己上传的了。图片地址http://hxyy.wodemo.com/entry/331593?cid=293110
下面代码粘贴进js框里面。

如果需要更改的话
下面的【var xkt="http://hxyy.wodemo.com/entry/331593/";】指定图片所在的撰文地址。
这一长流和上面拼接是原图地址。【return xkt+"fc24fe92a45b52c87613380b7c4be610/wen.png";】




function $(_){
return document.getElementsByTagName(_);
}

function xkT(_){
try{
var xkt="http://hxyy.wodemo.com/entry/331593/";
if( _ == "撰文" ){
return xkt+"fc24fe92a45b52c87613380b7c4be610/wen.png";
}

if( _ == "APK" ){
return xkt+"d450170948a6f8b97263a8221a83b5ad/apk.png";
}

if( _ == "MP3" ){
return xkt+"e6ec1da23e611618e67cc4845e3f10f4/audi.png";
}
if( _ == "JPG" ){
return xkt+"43f8552b73fd97937609f113bd5436f9/picture.png";
}
if( _ == "GIF" ){
return xkt+"9f59b616b18e48bf69284a2fbe698bfe/gif.png";
}
if( _ == "HTML" ){
return xkt+"b408a5b3358708bde5287bfa79d7a926/html.png";
}
if( _ == "AVI" ){
return xkt+"e3411a1533621ad040dd2376d803a71d/cdmage.png";
}
if( _ == "MP4" ){
return xkt+"e3411a1533621ad040dd2376d803a71d/cdmage.png";
}

if( _ == "RAR" ){
return xkt+"4d8ac8848fce13ce4d78ea811fd95cd2/rar.png";
}

if( _ == "ZIP" ){
return xkt+"d2eee6ca6fe62359ce09f634b2fd4120/zip.png";
}
if( _ == "7Z" ){
return xkt+"e733b742bb1a96a7ab2adf773cfbb3d4/ys7z%29.png";
}
if( _ == "TXT" ){
return xkt+"756a55e3b8c9d8bf45e1306d4fd6d1e9/text.png";
}
if( _ == "PDF" ){
return xkt+"19a10d47c986b6302545620f36a57136/crobat.png";
}
if( _ == "SWF" ){
return xkt+"fbaa539999fc98b576ecda7532d9ad2f/swf.png";
}
if( _ == "PNG" ){
return xkt+"2137c78129cf1081ec18e146a7c090b8/picture.png";
}
else{

return xkt+"78caa379ba709d6429eb0e05904692d7/l.png";
} }
catch(_){
alert(_);
}
}
function xkL(){
try{
var xi=0, xl=$("li");
while( xi < xl.length ){
if( window.TouchEvent ){
xl[xi].ontouchstart=function(){
this.style.backgroundColor="";
};
xl[xi].ontouchend=function(){

this.style.backgroundColor="";

};
}
if( xl[xi].lastChild.tagName == "A" ){
xl[xi].innerHTML+="<span>(撰文)</span>";
}
xl[xi].lastChild.innerHTML=xl[xi].lastChild.innerHTML.slice(1,-1).toUpperCase();
xl[xi].style.backgroundImage="url("+xkT(xl[xi].lastChild.innerHTML)+")";
xi++;
}
}
catch(_){
alert(_);
}
}

function xkD(){
try{}
catch(_){
alert(_);
}
}
xkL(); xkD();

var str=document.getElementById("whole_body").innerHTML;
var x=str.replace(/English/g,"E N");
document.getElementById("whole_body").innerHTML=x;


function openNav(){
nav = document.getElementById("menu");
if(nav.style.display == "none"){
nav.style.display = "block";
}
else{
nav.style.display = "none";
}
}

function show_div(){
var obj_div=document.getElementById("starlist");
obj_div.style.display=(obj_div.style.display=='none');'block';'none';

}
@jhckn | @ at 2015-04-04 09:04:
@hxyy 请问你的磨列表是怎么给编写的撰文前加图标的?原谅我在我的磨里请教你,只是因为不知为什么我在讨论组里和你的磨里回复都要输入验证码,说没登录
Comment:
Name:

Back to home

Subscribe | Register | Login | 中文 | N