发新话题
打印

QQ空间代码使用详解+代码大全

本主题由 the5 于 1-12-2007 04:48 PM 移动

QQ空间代码使用详解+代码大全

我门先来做导航条
首先要先删除原来的导航条,SupFree0新建 个模块
然后到http://www.88gg.com/0727/00/0727/0/0520/logogif 找1个你喜欢的导航条

然后把地址复制下来


删原有导航条的代码是:
<img src="/Article/UploadFiles/200509/20050928221012720.gif" onload="bt_1.style.display='none';bt_2.style.display='none'
;bt_3.style.display='none';bt_4.style.display='none'
;bt_5.style.display='none';bt_6.style.display='none';
bt_7.style.display='none';bt_8.style.display='none';" style="display:none;">

这个是主页的导航条,SupFree0那里写有的,SupFree0然后把地址粘贴在导航条地址那里成功了吧!SupFree4`后面的我就不做了。SupFree1。SupFree1

新建导航条代码:SupFree2
<img src="/Article/UploadFiles/200509/20050928221012720.gif" onload="Mlogo.innerHTML+='<div style=\'position:absolute;top:60px;right:100;width:110;\'><table border=0 width=100% cellspacing=0 cellpadding=0 height=30 onmouseover=this.style.cursor=\'hand\';><tr><td width=13 background=></td></td><td onclick=guideButton(1); align=center background=导航条地址>?主页Q-Ζоηе</td><td width=13 background=></td></tr></table></div>';">

<img src="/Article/UploadFiles/200509/20050928221012720.gif" onload="Mlogo.innerHTML+='<div style=\'position:absolute;top:100px;right:100;width:110;\'><table border=0 width=100% cellspacing=0 cellpadding=0 height=30 onmouseover=this.style.cursor=\'hand\';><tr><td width=13 background=></td></td><td onclick=guideButton(2); align=center background=导航条地址>猪の曰志Q-Ζоηе</td><td width=13 background=></td></tr></table></div>';">

<img src="/Article/UploadFiles/200509/20050928221012720.gif" onload="Mlogo.innerHTML+='<div style=\'position:absolute;top:140px;right:100;width:110;\'><table border=0 width=100% cellspacing=0 cellpadding=0 height=30 onmouseover=this.style.cursor=\'hand\';><tr><td width=13 background=></td></td><td onclick=guideButton(3); align=center background=导航条地址>?音乐Q-Ζоηе</td><td width=13 background=></td></tr></table></div>';">

<img src="/Article/UploadFiles/200509/20050928221012720.gif" onload="Mlogo.innerHTML+='<div style=\'position:absolute;top:180px;right:100;width:110;\'><table border=0 width=100% cellspacing=0 cellpadding=0 height=30 onmouseover=this.style.cursor=\'hand\';><tr><td width=13 background=></td></td><td onclick=guideButton(4); align=center background=导航条地址>?留言Q-Ζоηе</td><td width=13 background=></td></tr></table></div>';">

<img src="/Article/UploadFiles/200509/20050928221012720.gif" onload="Mlogo.innerHTML+='<div style=\'position:absolute;top:220px;right:100;width:110;\'><table border=0 width=100% cellspacing=0 cellpadding=0 height=30 onmouseover=this.style.cursor=\'hand\';><tr><td width=13 background=></td></td><td onclick=guideButton(5); align=center background=导航条地址>?相册Q-Ζоηе</td><td width=13 background=></td></tr></table></div>';">

<img src="/Article/UploadFiles/200509/20050928221012720.gif" onload="Mlogo.innerHTML+='<div style=\'position:absolute;top:260px;right:100;width:110;\'><table border=0 width=100% cellspacing=0 cellpadding=0 height=30 onmouseover=this.style.cursor=\'hand\';><tr><td width=13 background=></td></td><td onclick=guideButton(6); align=center background=导航条地址>?迷你屋Q-Ζоηе</td><td width=13 background=></td></tr></table></div>';">

<img src="/Article/UploadFiles/200509/20050928221012720.gif" onload="Mlogo.innerHTML+='<div style=\'position:absolute;top:300px;right:100;width:110;\'><table border=0 width=100% cellspacing=0 cellpadding=0 height=30 onmouseover=this.style.cursor=\'hand\';><tr><td width=13 background=></td></td><td onclick=guideButton(7); align=center background=导航条地址>?资料Q-Ζоηе</td><td width=13 background=></td></tr></table></div>';">

<img src="/Article/UploadFiles/200509/20050928221012720.gif" onload="Mlogo.innerHTML+='<div style=\'position:absolute;top:340px;right:100;width:110;\'><table border=0 width=100% cellspacing=0 cellpadding=0 height=30 onmouseover=this.style.cursor=\'hand\';><tr><td width=13 background=></td></td><td onclick=guideButton(8); align=center background=导航条地址>?互动Q-Ζоηе</td><td width=13 background=></td></tr></table></div>';">

先用删原有导航条的代码将原有导航条删掉,再分别建模板存放下面八个代码,就可以了.这个我也是在网上看到的,不过忘了是哪位前辈写的了,呵呵.

去这里找导航条:SupFree2http://www.88gg.com/0727/00/0727/0/0520/logogif
-------------------------------------------------------------------------------------======================================================================================首先我们要做的就是找到我们要用的皮肤,SupFree0呵呵,SupFree0步骤如下:SupFree2
1:SupFree2打开我们的QQ空间;
2:SupFree2点击空间上方的装扮空间;
3:SupFree2这时朋友们就可以根据自己的所爱选取喜爱的皮肤了;
4:SupFree2选好之后,SupFree0将鼠标移动到空间皮肤上,SupFree0点击鼠标右键,SupFree0选择“SupFree8背景另存为”SupFree9,SupFree0保存好背景;
5:SupFree2再将保存好的背景上传到我们自己的空间或相册上(SupFree5相册必须支持gif格式的图片)SupFree6;我建意没有空
间的朋友可以申请一个网易邮箱,SupFree0有了邮箱就可以申请网易相册,SupFree0网易相册也支持gif格式的图片。SupFree1
6:SupFree2传上之后右键点击图片,SupFree0选择“SupFree8属性”SupFree9,SupFree0复制下属性栏中的背景地址:SupFree2将此地址贴帖在以下的代码中的背景地址中
<img src="/Article/UploadFiles/200509/20050928221012720.gif" onload="document.getElementById('Mlogo').style.background='url(横幅地址)';document.getElementById('all').style.background='url(背景地址)';" style="display:none;">
代码中提到的“SupFree8横幅”SupFree9地址就是显示你空间名的那幅小背景。SupFree1保存背景时同时我们也要保存好
“SupFree8横幅”SupFree9的地址。SupFree1这是我空间用的横幅地址:SupFree2http://club.heima.com/show_topic.aspx?forumid=128000&topicid=734402
7:SupFree2此时点击空间上方的“SupFree8自定义”SupFree9,SupFree0选择“SupFree8个性设置”SupFree9,SupFree0再选择“SupFree8新建模板”SupFree9,SupFree0取名提交,SupFree0成功后将上面贴帖好地址的代码通
能过复制再贴帖到评论一栏中,SupFree0同时一定要将网址和图片栏中的“SupFree8http://"去掉。SupFree1不然效果不好。SupFree1呵呵,SupFree0这些全是废话。SupFree1
然后保存就可以了。SupFree1现在你的小窝就是你想好的皮肤了。SupFree1

以上是免费用QQ空间皮肤的办法,SupFree0下面我们就来看看,SupFree0做多张皮肤来回变动的空间皮肤。SupFree1呵呵。SupFree1
1:SupFree2首先我们就按上面的方法多选择几张我们满意的背景并保存起来,SupFree0嘿嘿,SupFree0腾迅反正黑,SupFree0我们就多用他几张
2:SupFree2这里我们就要用一个工具,SupFree0呵呵,SupFree0放心,SupFree0好用的很,SupFree0也不复杂,SupFree0打开就能用。SupFree1我会给大家打包的。SupFree1
工具下载地址:SupFree2http://www.beiso.com/bsmobile/downsys/mb_soft/tpzz/044308696.htm
3:SupFree2实际用法有不懂的朋友就到我的空间去看视频.
4;把做好后的图片存在你的空间里。SupFree1我建意没有空间的朋友可以申请一个网易邮箱,SupFree0有了邮箱就可以申请网易相册
网易相册也支持gif格式的图片。SupFree1
5:SupFree2下面的我就不说大家也知道了,SupFree0做法就同上面一样的了,SupFree0把图片的地址找到复制到上面的代码中,SupFree0朋友们也可以自己做一条横幅
6;然后把代码贴帖到新建的模板中的评论中保存好就可以了。SupFree1呵呵,SupFree0要看效果就到我空间看吧,SupFree0另外我会在我的空间里收集一些不
花钱玩QQ的信息,SupFree0大家可以去看看。SupFree1呵呵。SupFree1
-------------------------------------------------------------------------------------
来做这个吧,SupFree0
首显灰到你要的图片`


从左到右移动的图片代码
把图片地址粘贴在地址那里

<marquee width="600" height="200"><img src="地址"><img src="地址"><img src="地址"><img src="地址"><img src="地址"><img src="地址"> </marquee>

向上移动的图片代码
<marquee direction=up height=200 scrollamount=1 scrolldelay=90
width="100%">
<img border=0
src="图片地址">
<br>
<img border=0
src="图片地址">
<br>
<img border=0
src="图片地址">
<br>
<img border=0
src="图片地址">
<br>
<img border=0
src="图片地址">
<br>
<img border=0
src="图片地址">
<br>
<img border=0
src="图片地址">
<br>
<img border=0
src="图片地址">
<br>
</marquee>

只在首页(SupFree5主页)SupFree6中显示的FLash效果代码:SupFree2
<div style="position:absolute;top:0;left:0;width:925;height:655;z-index:500"><EMBED src="http://www.flash89.com/20041215/001/1103287302.swf" quality=high wmode="transparent" WIDTH="100%" HEIGHT="100%" TYPE="application/x-shockwave-flash"></div>

http://www.flash89.com/20041215/001/1103287302.swf

在空间里显示FLash或效果代码

<img src="/Article/UploadFiles/200509/20050928221012720.gif" onload="Mlogo.innerHTML+='<div style=\'position:absolute;top:0;left:0;width:925;height:655;z-index:500\'><EMBED src=\'地址\' quality=high wmode=\'transparent\' WIDTH=\'100%\' HEIGHT=\'100%\' TYPE=\'application/x-shockwave-flash\'></div>';">

收集的可用FLASH:

透明水珠 http://lain1978.com/collection/flash/008.swf
黄色花瓣 http://lain1978.com/collection/flash/007.swf
http://lain1978.com/collection/flash/006.swf
蓝色雪花 http://lain1978.com/collection/flash/005.swf
移动的箭头 http://lain1978.com/collection/flash/arrow1.swf
太阳光晕 http://lain1978.com/collection/flash/e-sunshine.swf
冰淇淋 http://lain1978.com/collection/flash/e-icecream.swf
海底世界 http://lain1978.com/collection/flash/e-summertube.swf
Matrix http://lain1978.com/collection/flash/e-matrix.swf
春雨绵绵(SupFree5推荐)SupFree6http://lain1978.com/collection/flash/e-spring2.swf
彩色金鱼 http://lain1978.com/collection/flash/fish.swf
蝴蝶飞飞 http://lain1978.com/collection/flash/fly.swf
雪花飘飘 http://lain1978.com/collection/flash/snow.swf
雨(SupFree5推荐)SupFree6http://lain1978.com/collection/flash/rain.swf
移动的横线 http://lain1978.com/collection/flash/hengline1.swf
礼花绽放 http://bbs.flasher123.com/UploadFile/2004-5/20045915485951073.swf
若有若无 http://bbs.flasher123.com/UploadFile/2004-5/20045915493864839.swf
飞翔小球 http://bbs.flasher123.com/UploadFile/2004-5/20045912375165288.swf
五彩星星 http://bbs.flasher123.com/UploadFile/2004-5/20045912435828355.swf
彩色螺旋 http://bbs.flasher123.com/Upload ... 442814445969367.swf
变幻刺球 http://bbs.flasher123.com/Upload ... 442814451333557.swf
窗外树枝 http://kisetu.chu.jp/flash/sinryoku/sinryoku01.swf
绿枝白云 http://kisetu.chu.jp/flash/sinryoku/sinryoku02.swf
落花青山 http://kisetu.chu.jp/flash/nanohana/nanohana.swf
山和花云 http://kisetu.chu.jp/flash/sakura/sakura1.swf
浮云流水 http://kisetu.chu.jp/flash/sakura/sakura2.swf
欢迎welcome http://kisetu.chu.jp/flash/0205/0205_2.swf
泳装美人 http://www.nice.or.jp/~mosmos/free/f703.swf
飘雪寒冬 http://www.nice.or.jp/~mosmos/free/f903.swf
蛋蛋小人 http://www.nice.or.jp/~mosmos/nice_topic/hinamaturi.swf
白鹅戏水 http://www.nice.or.jp/~mosmos/nice_topic/hakucho.swf
梦飞女孩 http://www.nice.or.jp/~mosmos/free/f110.swf
落叶女孩 http://www.nice.or.jp/~mosmos/free/f111.swf
芦苇女人 http://www.nice.or.jp/~mosmos/free/f105.swf
静静等候 http://www.nice.or.jp/~mosmos/free/f102.swf
静谧夜空 http://www.nice.or.jp/~mosmos/free/f101.swf
骑车女孩 http://www.nice.or.jp/~mosmos/free/f601.swf
鱼戏莲叶 http://zqbbs.netsh.com/usr/12/12_191_15.swf
老鼠戏鱼 http://zqbbs.netsh.com/usr/12/12_191_17.swf
二人双跳 http://www.wodukom.com/jieoy/oyxm/new1/hssl4.swf
海边美女 http://www.wodukom.com/jieoy/oyxm/new1/hssl5.swf
下雨特效 http://wujiren.jahee.com/main/img/1.swf
转盘与星 http://wujiren.jahee.com/main/img/2.swf
光芒四射 http://wujiren.jahee.com/main/img/3.swf
移动竖条 http://0576.realqq.com/ycs/web/qiaoran/tupian\1.swf
泡泡上升 http://mtv.vicn.com/upload/200451696983463.swf
下落光线 http://www.hmdfc.com/bbs/UpFiles/31.swf
景色之一 http://www.wodukom.com/jieoy/oyxm/new1/hssl(znrs).swf
海市蜃楼 http://www.wodukom.com/jieoy/oyxm/new1/hssl2.swf
舞海小人 http://www.wodukom.com/jieoy/oyxm/new1/hssl4.swf
海边美女 http://www.wodukom.com/jieoy/oyxm/new1/hssl5.swf
三女舞海 http://www.wodukom.com/jieoy/oyxm/new1/hssl6.swf
青山绿水奔马 http://www.wodukom.com/jieoy/oyxm/new1/hssl7.swf
移动竖条四 http://0576.realqq.com/ycs/web/qiaoran/tupian\top.swf
飞跑的箭头 http://0576.realqq.com/ycs/web/qiaoran/tupian\top1.swf
彩色波浪 http://0576.realqq.com/ycs/web/qiaoran/tupian\xh.swf
相对的箭头 http://0576.realqq.com/ycs/web/qiaoran/tupian\xiantiao-1.swf
小竖条 http://0576.realqq.com/ycs/web/qiaoran/tupian\xisa.swf
光标跟随 http://0576.realqq.com/ycs/web/qiaoran/tupian\xuanjuan1.swf
转动的彩星 http://mtv.vicn.com/upload/2004516993294818.swf
小小泡泡 http://lain1978.com/collection/flash/008.swf
很快的雨 http://lain1978.com/collection/flash/rain.swf
太阳光圈 http://love.xaonline.com/upload/2004719/UF604426.swf
枫叶飘飘 http://mailimg-fs.hanmail.net/fl/effect/19/e-fall2.swf
乱花迷眼 http://mtv.vicn.com/upload/200442623281439992.swf
黄芒四射 http://mtv.vicn.com/upload/200442623295677137.swf
滴水晕纹 http://mtv.vicn.com/upload/20045168591873702.swf
波浪圆光 http://mtv.vicn.com/upload/2004516952654584.swf
增加一些FLASH地址。SupFree1可以自己任选
透明水珠:SupFree2 http://lain1978.com/collection/flash/008.swf
黄色花瓣:SupFree2 http://lain1978.com/collection/flash/007.swf
心:SupFree2 http://lain1978.com/collection/flash/006.swf
蓝色雪花:SupFree2 http://lain1978.com/collection/flash/005.swf
移动的箭头:SupFree2 http://lain1978.com/collection/flash/arrow1.swf
太阳光晕 :SupFree2 http://lain1978.com/collection/flash/e-sunshine.swf
冰淇淋:SupFree2 http://lain1978.com/collection/flash/e-icecream.swf
海底世界:SupFree2 http://lain1978.com/collection/flash/e-summertube.swf
Matrix :SupFree2 http://lain1978.com/collection/flash/e-matrix.swf
春雨绵绵(SupFree5推荐)SupFree6:SupFree2http://lain1978.com/collection/flash/e-spring2.swf
彩色金鱼:SupFree2 http://lain1978.com/collection/flash/fish.swf
蝴蝶飞飞:SupFree2 http://lain1978.com/collection/flash/fly.swf
雪花飘飘:SupFree2 http://lain1978.com/collection/flash/snow.swf
雨(SupFree5推荐)SupFree6:SupFree2 http://lain1978.com/collection/flash/rain.swf

------------------------------------------------------------------------------------
代码如下..找个网站上传文档 跟默林一样
<body onload="Carousel()">
<script type="text/javascript">
// 7 variables to control behavior
var Car_Image_Width=100;
var Car_Image_Height=100;
var Car_Border=true; // true o* **lse
var Car_Border_Color="white";
var Car_Speed=3;
var Car_Direction=true; // true o* **lse
var Car_NoOfSides=8; // must be 4, 6, 8 or 12

/* array to specify images and optional links.
For 4 sided carousel specify at least 2 images
For 6 sided carousel specify at least 3
For 8 sided carousel specify at least 4
For 12 sided carousel specify at least 6
If Link is not needed keep it ""
*/
Car_Image_Sources=new Array(
"图片地址","370591259.q-zone.qq.com",
"图片地址","370591259.q-zone.qq.com",
"图片地址","370591259.q-zone.qq.com",
"图片地址","370591259.q-zone.qq.com",
"图片地址","", //this slide isn't linked
"图片地址","http://www.cctv.com" // NOTE No comma after last line
);

/***************** DO NOT EDIT BELOW **********************************/
CW_I=new Array(Car_NoOfSides/2+1);C_ClcW=new Array(Car_NoOfSides/2);
C_Coef=new Array(
3*Math.PI/2,0,3*Math.PI/2,11*Math.PI/6,Math.PI/6,3*Math.PI/2,7*Math.PI/4, 0,
Math.PI/4,3*Math.PI/2,5*Math.PI/3,11*Math.PI/6,0,Math.PI/6,Math.PI/3);
var C_CoefOf=Car_NoOfSides==4?0:Car_NoOfSides==6?2:Car_NoOfSides==8?5:9;
C_Pre_Img=new Array(Car_Image_Sources.length);
var C_Angle=Car_Direction?Math.PI/(Car_NoOfSides/2):0,C_CrImg=Car_NoOfSides,C_MaxW,C_TotalW,
C_Stppd=false,i,C_LeftOffset,C_HalfNo=Car_NoOfSides/2;

function Carousel(){
if(document.getElementById){
for(i=0;i<Car_Image_Sources.length;i+=2){
C_Pre_Img=new Image();C_Pre_Img.src=Car_Image_Sources}
C_MaxW=Car_Image_Width/Math.sin(Math.PI/Car_NoOfSides)+C_HalfNo+1;
Car_Div=document.getElementById("Carousel");
for(i=0;i<C_HalfNo;i++){
CW_I=document.createElement("img");Car_Div.appendChild(CW_I);
CW_I.style.position="absolute";
CW_I.style.top=0+"px";
CW_I.style.height=Car_Image_Height+"px";
if(Car_Border){
CW_I.style.borderStyle="solid";
CW_I.style.borderWidth=1+"px";
CW_I.style.borderColor=Car_Border_Color}
CW_I.src=Car_Image_Sources[2*i];
CW_I.lnk=Car_Image_Sources[2*i+1];
CW_I.onclick=C_LdLnk;
CW_I.onmouseover=C_Stp;
CW_I.onmouseout=C_Rstrt}
CarImages()}}

function CarImages(){
if(!C_Stppd){
C_TotalW=0;
for(i=0;i<C_HalfNo;i++){
C_ClcW=Math.round(Math.cos(Math.abs(C_Coef[C_CoefOf+i]+C_Angle))*Car_Image_Width);
C_TotalW+=C_ClcW}
C_LeftOffset=(C_MaxW-C_TotalW)/2;
for(i=0;i<C_HalfNo;i++){
CW_I.style.left=C_LeftOffset+"px";
CW_I.style.width=C_ClcW+"px";
C_LeftOffset+=C_ClcW}
C_Angle+=Car_Speed/720*Math.PI*(Car_Direction?-1:1);
if((Car_Direction&&C_Angle<=0)||(!Car_Direction&&C_Angle>=Math.PI/C_HalfNo)){
if(C_CrImg==Car_Image_Sources.length)C_CrImg=0;
if(Car_Direction){
CW_I[C_HalfNo]=CW_I[0];
for(i=0;i<C_HalfNo;i++)CW_I=CW_I[i+1];
CW_I[C_HalfNo-1].src=Car_Image_Sources[C_CrImg];
CW_I[C_HalfNo-1].lnk=Car_Image_Sources[C_CrImg+1]}
else{ for(i=C_HalfNo;i>0;i--)CW_I=CW_I[i-1];
CW_I[0]=CW_I[C_HalfNo];
CW_I[0].src=Car_Image_Sources[C_CrImg];
CW_I[0].lnk=Car_Image_Sources[C_CrImg+1]}
C_Angle=Car_Direction?Math.PI/C_HalfNo:0;C_CrImg+=2}}
setTimeout("CarImages()",50)}

function C_LdLnk(){if(this.lnk)window.location.href=this.lnk}
function C_Stp(){this.style.cursor=this.lnk?"pointer":"default";C_Stppd=true;}
function C_Rstrt(){C_Stppd=false}
</script>
<div id="Carousel" style="position:relative">
<img src="200310171/placeholder.gif" width="100" height="100">
</div>
</body>

上传后找到文档地址.插入以下代码中:
<iframe src="http://pj520.ik8.com/3D.txt" width=400 height=400 scrolling=no marginwidth=0 marginheight=0 frameborder=0 vspace=0 hspace=0></iframe>

下面解释一下代码中的重要含义词
<body onload="Carousel()">
<script type="text/javascript">
// 7 variables to control behavior
var Car_Image_Width=100; (图片宽)
var Car_Image_Height=100; (图片长)
var Car_Border=true; // true o* **lse
var Car_Border_Color="white";
var Car_Speed=3; (图片滚动速度)
var Car_Direction=true; // true o* **lse
var Car_NoOfSides=12; // must be 4, 6, 8 or 12 (图片旋转格式 可以选4 6 8或则12)

/* array to specify images and optional links.
For 4 sided carousel specify at least 2 images
For 6 sided carousel specify at least 3
For 8 sided carousel specify at least 4
For 12 sided carousel specify at least 6
If Link is not needed keep it ""
*/
Car_Image_Sources=new Array(
"图片地址","连接地址(没有可以不要)",
"图片地址","连接地址",
"图片地址","连接地址",
"图片地址","连接地址",
"图片地址","连接地址", //this slide isn't linked
"图片地址","连接地址" // NOTE No comma after last line
);

/***************** DO NOT EDIT BELOW **********************************/
CW_I=new Array(Car_NoOfSides/2+1);C_ClcW=new Array(Car_NoOfSides/2);
C_Coef=new Array(
3*Math.PI/2,0,3*Math.PI/2,11*Math.PI/6,Math.PI/6,3*Math.PI/2,7*Math.PI/4, 0,
Math.PI/4,3*Math.PI/2,5*Math.PI/3,11*Math.PI/6,0,Math.PI/6,Math.PI/3);
var C_CoefOf=Car_NoOfSides==4?0:Car_NoOfSides==6?2:Car_NoOfSides==8?5:9;
C_Pre_Img=new Array(Car_Image_Sources.length);
var C_Angle=Car_Direction?Math.PI/(Car_NoOfSides/2):0,C_CrImg=Car_NoOfSides,C_MaxW,C_TotalW,
C_Stppd=false,i,C_LeftOffset,C_HalfNo=Car_NoOfSides/2;

function Carousel(){
if(document.getElementById){
for(i=0;i<Car_Image_Sources.length;i+=2){
C_Pre_Img=new Image();C_Pre_Img.src=Car_Image_Sources}
C_MaxW=Car_Image_Width/Math.sin(Math.PI/Car_NoOfSides)+C_HalfNo+1;
Car_Div=document.getElementById("Carousel");
for(i=0;i<C_HalfNo;i++){
CW_I=document.createElement("img");Car_Div.appendChild(CW_I);
CW_I.style.position="absolute";
CW_I.style.top=0+"px";
CW_I.style.height=Car_Image_Height+"px";
if(Car_Border){
CW_I.style.borderStyle="solid";
CW_I.style.borderWidth=1+"px";
CW_I.style.borderColor=Car_Border_Color}
CW_I.src=Car_Image_Sources[2*i];
CW_I.lnk=Car_Image_Sources[2*i+1];
CW_I.onclick=C_LdLnk;
CW_I.onmouseover=C_Stp;
CW_I.onmouseout=C_Rstrt}
CarImages()}}

function CarImages(){
if(!C_Stppd){
C_TotalW=0;
for(i=0;i<C_HalfNo;i++){
C_ClcW=Math.round(Math.cos(Math.abs(C_Coef[C_CoefOf+i]+C_Angle))*Car_Image_Width);
C_TotalW+=C_ClcW}
C_LeftOffset=(C_MaxW-C_TotalW)/2;
for(i=0;i<C_HalfNo;i++){
CW_I.style.left=C_LeftOffset+"px";
CW_I.style.width=C_ClcW+"px";
C_LeftOffset+=C_ClcW}
C_Angle+=Car_Speed/720*Math.PI*(Car_Direction?-1:1);
if((Car_Direction&&C_Angle<=0)||(!Car_Direction&&C_Angle>=Math.PI/C_HalfNo)){
if(C_CrImg==Car_Image_Sources.length)C_CrImg=0;
if(Car_Direction){
CW_I[C_HalfNo]=CW_I[0];
for(i=0;i<C_HalfNo;i++)CW_I=CW_I[i+1];
CW_I[C_HalfNo-1].src=Car_Image_Sources[C_CrImg];
CW_I[C_HalfNo-1].lnk=Car_Image_Sources[C_CrImg+1]}
else{ for(i=C_HalfNo;i>0;i--)CW_I=CW_I[i-1];
CW_I[0]=CW_I[C_HalfNo];
CW_I[0].src=Car_Image_Sources[C_CrImg];
CW_I[0].lnk=Car_Image_Sources[C_CrImg+1]}
C_Angle=Car_Direction?Math.PI/C_HalfNo:0;C_CrImg+=2}}
setTimeout("CarImages()",50)}

function C_LdLnk(){if(this.lnk)window.location.href=this.lnk}
function C_Stp(){this.style.cursor=this.lnk?"pointer":"default";C_Stppd=true;}
function C_Rstrt(){C_Stppd=false}
</script>
<div id="Carousel" style="position:relative">
<img src="200310171/placeholder.gif" width="100" height="100"> (图片后面画格长和宽)
</div>
</body>

=========================================================================
常用代码
网页连接代码:SupFree2 </textarea><a href="http://838078.q-zone.qq.com">你要写的字</a></textarea>

发邮件连接代码:SupFree2 </textarea><a href="mailto:venuss@sina.com">E-mail留言请点击此处</a></textarea>

给QQ留言代码:SupFree2
</textarea><a href="http://wpa.qq.com/msgrd?V=1&Uin=838078&Site=雨律在线&Menu=yes
">QQ留言请点击此处</a></textarea>

插入图片:SupFree2 </textarea><IMG src="http://你的图片地址" border="0" width="344" height="255">

改变字的大小及颜色:SupFree2 </textarea> <font face="华文行楷" size=字的大小 color=black>要用的字</font > <font color=#FF0000>字</font ><font color=#0000FF>字</font ><font color=#FF00FF>a</font ><font color=#9900FF>J</font ><font color=#00FF00>i</font ><font color=#00FFFF>a</font > </textarea>

第二种:SupFree2 </textarea><b><font face="华文行楷" size="5" color="#FF0000">要修改字体和颜色的字</font></b>

给出几个常用颜色值:
蓝色 #0000FF
黑色 black
红色 #FF0000
红紫色 #FF00FF
紫色 #9900FF
中黑色 #333333
浅黑色 #666666
亮绿色 #00FF00
亮黄色 #FFFF00
亮[蓝+绿] #00FFFF

插入表格:SupFree2
</textarea><table border="2" width="340" bordercolor="#0000FF" bgcolor="#COCOCO">
<tr>
<td width="100%">
<p align="center"></td>
</tr>
</table></tex:area>
帖动画代码:SupFree2 </textarea><embed src='http://music.bbvod.net/files/flash/10147035167272.swf'quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash' type='application/x-shockwave-flash' width=410 height=350></embed>
帖图片代码:SupFree2 </textarea><IMG src="地址" border="0" width="410" height="330">
曰历地址:SupFree2http://free2.e-168.cn/chentianfeng/time1.php
电子表:SupFree2 http://escati.linkopp.net/cgi-bi ... p;timezone=GMT+0800

<marquee behavior="alternate" scrollamout="10" scrolldelay="100"></textarea><a href="http://838078.q-zone.qq.com">你要写的字</a></textarea></marquee>

http://music.bbvod.net/files/flash/10147035167272.swf
星座代码:SupFree2<iframe width="253" height="97" border="0" align="center" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" src="http://appastro.qq.com/cgi-bin/astro_flower_detail" allowTransparency="true"></iframe>
</td>
·QQ空间免费皮肤-
<img src="/Article/UploadFiles/200509/20050928221012720.gif" onload="document.getElementById('Mlogo').style.background='url(横幅地址)';document.getElementById('all').style.background='url(皮肤地址)';" style="display:none;">

TOP

路过~~~~~~~~~~随便支持下~~~~~~~~~~~

TOP

发新话题