\n'); } function setFlash(){ var myFlshObj = document.myFlash; var photoAlbum=document.getElementById('photoAlbum'); if(photoAlbum&&myFlshObj){ var awidth=0; awidth=parseInt(photoAlbum.offsetWidth); if(awidth<260) myFlshObj.height='150px'; if(awidth>=260 && awidth<350) myFlshObj.height='240px'; if(awidth>=350 && awidth<370) myFlshObj.height='305px'; if(awidth>=370 && awidth<550) myFlshObj.height='320px'; if(awidth>=550 && awidth<730) myFlshObj.height='455px'; if(awidth>=730) myFlshObj.height='590px'; } } function setAlbumUrl(name){ albumTypename=name; setFlash(); myFlash_DoFSCommand(null,"test"); } function showLoginWindow(ev){ var obj = document.getElementById("pop-login"); if(document.all){ obj.style.top = ev.clientY +'px'; obj.style.left = ev.clientX - 272 +'px'; } else{ obj.style.top = ev.pageY +'px'; obj.style.left = ev.pageX - 272 +'px' } obj.style.display ="block"; document.getElementById("pop-user-name").focus(); } function hideLoginWindow(){ document.getElementById("pop-login").style.display ="none"; } var blogID=getBlogID(); var UserName = ""; if(blogID!=null){ var tmpUserName=blogID.split("."); UserName=tmpUserName[0]; } function resize(obj){ if(window.event.srcElement.tagName == 'A'){ return; } obj.parentNode.childNodes[1].style.display = obj.parentNode.childNodes[1].style.display=='none' ? 'block': 'none'; obj.parentNode.childNodes[2].style.display = obj.parentNode.childNodes[2].style.display=='none' ? 'block': 'none'; } function tab(event){ var evt = (document.all)?window.event:event; if(evt.keyCode == 9){ document.getElementById("pop-password").focus(); return false; } else{ return evt.keyCode; } } function tab1(event){ var evt = (document.all)?window.event:event; if(evt.keyCode == 9){ document.getElementById("save").focus(); return false; } else{ return evt.keyCode; } }
畅游古楼,她是我的家.你的参与,轻轻的增加了我的快乐,你的幸福...
音乐
日历
公告
朋友你好; 欢迎你来到"古楼",感谢你的支持!
个人资料
统计
统计中,请等候...
统计中,请等候...
最新访客
日志
公告 模块功能的妙用
1如何添加滚动的公告文字
<MARQUEE onmouseover=this.stop() onmouseout=this.start() scrollAmount=1 scrollDelay=60 direction=up width=180 height=100><DIV><FONT color=red><B><CENTER>本站公告</CENTER></B></FONT><BR>
此处为你自己的公告内容。
此处为你自己的公告内容。
</DIV></MARQUEE>
说明:
① 将<P>与</P>之间的文字进行更换即可。增加文字请在相应位置增加配套的<P>与</P>;
② scrollAmount。它表示速度,值越大速度越快。 如果没有它,默认为6,建议设为1~3比较好;
③ scrollDelay 表示延迟时间;
④ width、height表示宽度和高度,需要根据自己的实际情况进行调整;
⑤ bgcolor 表示底色区域颜色;
⑥ color 表示字体颜色;
⑦ size 表示字体大小;
⑧ DIRECTION=DOWN | LEFT | RIGHT | UP //移动的方向
更多修饰请自行研究。
2如何实现博客首页透明Flash背景特效
<object type="application/x-shockwave-flash" style="POSITION: absolute;TOP:-70px;left:0px" width="750" height="1800"><param name="movie" value="http://imgfree.21cn.com/free/flash/113.swf"><param name="wmode" value="transparent"></object>
把上面红色的透明flash文件地址改为自己的flash地址就可以了
3如何插入漂亮的图片
插入
① 图片简易代码: <IMG src="图片地址" height=280 width=210>
② 图片超链接代码:<A href="要链接的网址"><IMG src="图片地址" height=280 width=210></A>
③ 插入左右滚动图片: <MARQUEE width=380 height=80 onmouseover=stop() onmouseout=start() scrollAmount=3 loop=infinite deplay="0"><img src="第一张图片地址"><img src="第二张图片地址"></MARQUEE>
④ 图片页面移动:
<DIV id=Layer2 style="Z-INDEX: 2; LEFT: 10px; WIDTH: 211px; POSITION: absolute; TOP: 100px; HEIGHT: 120px">
<TABLE cellSpacing=10 cellPadding=0 width="60%" border=0>
<TBODY>
<TR class=unnamed1>
<TD vAlign=top width="90%" height=274>
<DIV align=center>
<MARQUEE style="FLOAT: none; MARGIN-LEFT: auto; MARGIN-RIGHT: auto" scrollAmount=10 scrollDelay=99 direction=up width=400 height=1000 border="0"><FONT color=#0000ff><FONT face=隶书 color=red size=5><B>Qzone联盟欢迎您加入</B></FONT><BR><BR><BR>
<IMG src=图片URL地址>
</FONT></MARQUEE>
</div></TD></TR></TBODY></TABLE>
⑤ 插入背景图片: <BODY BACKGROUND="背景图片Url地址">
⑥ 图片朦胧圆形效果: <IMG src="图片" width=500 height=375 style="filter:Alpha(opacity=100,style=2);">
⑦ 图片朦胧方形效果: <IMG src="图片" style="FILTER: Alpha(opacity=200,style=3)" width=500 height=375 ALGIN="MIDDLE">
⑧ 带框图片的代码: <center><img src="图片地址" style="border-top-style:outset;border-bottom-style:outset;border-right-style:outset;border-left-style:outset"></center>
⑨ 图片不让别人盗代码: <A HREF="void(0)" onMouseover="alert('对不起,图片不能随便 下载!')"><IMG SRC="http//图片地址" Align="center" Border="0" width="99" height="50"></A>
添加日志动画~~荷花
根据以下链接,你可以轻松的链接到你的日志中去
http://www.yyly8.com/yygrkj/grkj/kjlulu/sucai/flash/xin/1.swf
http://www.yyly8.com/yygrkj/grkj/kjlulu/sucai/flash/xin/3.swf
http://www.yyly8.com/yygrkj/grkj/kjlulu/sucai/flash/xin/5.swf
http://www.yyly8.com/yygrkj/grkj/kjlulu/sucai/flash/xin/10.swf
http://www.yyly8.com/yygrkj/grkj/kjlulu/sucai/flash/xin/11.swf
最新评论