當前位置:首頁 » 操作系統 » 特效源碼

特效源碼

發布時間: 2022-01-13 14:14:22

❶ 給我一個網頁特效代碼

js網頁特效代碼是嗎?這里這種代碼多的是:

http://www.lanrentuku.com/js/jiaodiantu.html
你看哪個好點開來,先預覽下,感覺好,點下載,全套的,就是你的了。你還可以找到好多其它樣式的好看的代碼。
我用這個

❷ 網頁效果源代碼的網站

去懶人圖庫看下``我這里有`寫下了`你看下`圖片自己加下``

<html>

<head>
<title>網頁特效|Linkweb.cn/Js|---緊隨滑鼠的流動彩色字串</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>.spanstyle {
COLOR: #0066ff; FONT-FAMILY: 隸書; FONT-SIZE: 14pt; FONT-WEIGHT: normal; POSITION: absolute; TOP: -50px; VISIBILITY: visible
}
</style>
</head>

<body bgcolor="#ffffff" onload="javascript:pageonload()">
<script language="javascript">

var message="緊隨滑鼠的流動彩色字串!";
var x,y;
var step=12;
var flag=0;

message=message.split("");
var xpos=new Array();
for (i=0;i<=message.length-1;i++) {
xpos[i]=-50;
}

var ypos=new Array();
for (i=0;i<=message.length-1;i++) {
ypos[i]=-50;
}

function handlerMM(e) {
x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientX+10;
y = (document.layers) ? e.pageY : document.body.scrollTop+event.clientY;
flag=1;
}

function makesnake() {
if (flag==1 && document.all) {
for (i=message.length-1; i>=1; i--) {
xpos[i]=xpos[i-1]+step;
ypos[i]=ypos[i-1];
}
xpos[0]=x+step;
ypos[0]=y;

for (i=0; i<=message.length-1; i++) {
var thisspan = eval("span"+(i)+".style");
thisspan.posLeft=xpos[i];
thisspan.posTop=ypos[i];
thisspan.color=Math.random() * 255 * 255 * 255 + Math.random() * 255 * 255 + Math.random() * 255;
}
}
else if (flag==1 && document.layers) {
for (i=message.length-1; i>=1; i--) {
xpos[i]=xpos[i-1]+step;
ypos[i]=ypos[i-1];
}
xpos[0]=x+step;
ypos[0]=y;

for (i=0; i<message.length-1; i++) {
var thisspan = eval("document.span"+i);
thisspan.left=xpos[i];
thisspan.top=ypos[i];
thisspan.color=Math.random() * 255 * 255 * 255 + Math.random() * 255 * 255 + Math.random() * 255;
}
}
}
</script>

<script language="javascript">
for (i=0;i<=message.length-1;i++) {
document.write("<span id='span"+i+"' class='spanstyle'>");
document.write(message[i]);
document.write("<img src='1104.gif'>");
document.write("<img src='1123.gif'>");
document.write("<img src='1124.gif'>");
document.write("</span>");
}
if (document.layers) {
document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove = handlerMM;
</script>
<script
language="javascript">
function pageonload() {
makesnake();
window.setTimeout("pageonload();", 2);
}
</script>
</body>
</html>

❸ 求網頁特效源代碼,菜鳥跪求~~!

1)貼圖:<img src="圖片地址">

2)字體加粗:<b>寫上你想寫的字</b>

3)字體斜體:<I>寫上你想寫的字</I>

4)字體下劃線: <U>寫上你想寫的字</U>

5)字體刪除線: <s>寫上你想寫的字</s>

6)字體加大: <BIG>寫上你想寫的字</BIG>

7)貼音樂:<embed src="音樂文件地址" width="寬度" height="高度"

autostart=false>

8)貼flash: <embed src="flash文件地址" width="寬度" height="高度">

9)貼影視文件:<img dynsrc="影視文件地址" width="寬度" height="高度"

start=mouseover>
**注意:以上文件地址要包括文件

10)換行:<br>

11)段落:<p>段落</p>

18)原始文字樣式:<pre>正文</pre>

19)換帖子背景:<body background="背景圖片地址">

20)固定帖子背景不隨滾動條滾動:<body background="背景圖片地址" body
bgproperties=FIXED>

21)定製帖子背景顏色:<body bgcolor="#value">

22)帖子背景音樂:<bgsound="背景音樂地址" loop=infinite>

23)貼網頁:<IFRAME src="相關地址" width="寬度" height="高度

"></IFRAME>

24)字體上標:文字<sup>上標文字</sup>

25)字體下標:文字<sub>下標文字</sub>

❹ 尋求網頁特效代碼

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="Microsoft FrontPage 4.0" name=GENERATOR>
<META content=FrontPage.Editor.Document name=ProgId>
<STYLE>.spanstyle {
FONT-WEIGHT: normal; FONT-SIZE: 10pt; VISIBILITY: visible; COLOR: #0066ff; FONT-FAMILY: Tahoma; POSITION: absolute; TOP: -50px
}
</STYLE>
<BGSOUND src="" loop=infinite>
<title></title>
</HEAD>
<BODY oncontextmenu="return false" onselectstart="return false" vLink=#ffffff
aLink=#ffffff link=#ffffff
onload=javascript:pageonload()>
<SCRIPT language=JavaScript>
<!--
var message="Welcome to the sky of Class One!";
var x,y;
var step=12;
var flag=0;

message=message.split("");
var xpos=new Array();
for (i=0;i<=message.length-1;i++) {
xpos[i]=-50;
}

var ypos=new Array();
for (i=0;i<=message.length-1;i++) {
ypos[i]=-50;
}

function handlerMM(e) {
x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientX+20;
y = (document.layers) ? e.pageY : document.body.scrollTop+event.clientY;
flag=1;
}

function makesnake() {
if (flag==1 && document.all) {
for (i=message.length-1; i>=1; i--) {
xpos[i]=xpos[i-1]+step;
ypos[i]=ypos[i-1];
}
xpos[0]=x+step;
ypos[0]=y;

for (i=0; i<=message.length-1; i++) {
var thisspan = eval("span"+(i)+".style");
thisspan.posLeft=xpos[i];
thisspan.posTop=ypos[i];
thisspan.color=Math.random() * 255 * 255 * 255 + Math.random() * 255 * 255 + Math.random() * 255;
}
}
else if (flag==1 && document.layers) {
for (i=message.length-1; i>=1; i--) {
xpos[i]=xpos[i-1]+step;
ypos[i]=ypos[i-1];
}
xpos[0]=x+step;
ypos[0]=y;

for (i=0; i<message.length-1; i++) {
var thisspan = eval("document.span"+i);
thisspan.left=xpos[i];
thisspan.top=ypos[i];
thisspan.color=Math.random() * 255 * 255 * 255 + Math.random() * 255 * 255 + Math.random() * 255;
}
}
}

for (i=0;i<=message.length-1;i++) {
document.write("<span id='span"+i+"' class='spanstyle'>");
document.write(message[i]);
document.write("</span>");
}
if (document.layers) {
document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove = handlerMM;

function pageonload() {
makesnake();
window.setTimeout("pageonload();", 2);
}
// -->
</SCRIPT>

</BODY></HTML>

❺ 網頁特效代碼實現!

<html><head><style type='text/css'>
<!--
a:visited{text-decoration:none;color:slategray;}
a:hover{text-decoration:underline;color:slategray;}
a:link{text-decoration:none;color:slategray;}
--></style><script language=JScript><!--
//可以打包為js文件;
var x0=0,y0=0,x1=0,y1=0;
var offx=6,offy=6;
var moveable=false;
var hover='orange',normal='slategray';//color;
var index=10000;//z-index;
//開始拖動;
function startDrag(obj)
{
if(event.button==1)
{
//鎖定標題欄;
obj.setCapture();
//定義對象;
var win = obj.parentNode;
var sha = win.nextSibling;
//記錄滑鼠和層位置;
x0 = event.clientX;
y0 = event.clientY;
x1 = parseInt(win.style.left);
y1 = parseInt(win.style.top);
//記錄顏色;
normal = obj.style.backgroundColor;
//改變風格;
obj.style.backgroundColor = hover;
win.style.borderColor = hover;
obj.nextSibling.style.color = hover;
sha.style.left = x1 + offx;
sha.style.top = y1 + offy;
moveable = true;
}
}
//拖動;
function drag(obj)
{
if(moveable)
{
var win = obj.parentNode;
var sha = win.nextSibling;
win.style.left = x1 + event.clientX - x0;
win.style.top = y1 + event.clientY - y0;
sha.style.left = parseInt(win.style.left) + offx;
sha.style.top = parseInt(win.style.top) + offy;
}
}
//停止拖動;
function stopDrag(obj)
{
if(moveable)
{
var win = obj.parentNode;
var sha = win.nextSibling;
var msg = obj.nextSibling;
win.style.borderColor = normal;
obj.style.backgroundColor = normal;
msg.style.color = normal;
sha.style.left = obj.parentNode.style.left;
sha.style.top = obj.parentNode.style.top;
obj.releaseCapture();
moveable = false;
}
}
//獲得焦點;
function getFocus(obj)
{
if(obj.style.zIndex!=index)
{
index = index + 2;
var idx = index;
obj.style.zIndex=idx;
obj.nextSibling.style.zIndex=idx-1;
}
}
//最小化;
function min(obj)
{
var win = obj.parentNode.parentNode;
var sha = win.nextSibling;
var tit = obj.parentNode;
var msg = tit.nextSibling;
var flg = msg.style.display=="none";
if(flg)
{
win.style.height = parseInt(msg.style.height) + parseInt(tit.style.height) + 2*2;
sha.style.height = win.style.height;
msg.style.display = "block";
obj.innerHTML = "0";
}
else
{
win.style.height = parseInt(tit.style.height) + 2*2;
sha.style.height = win.style.height;
obj.innerHTML = "2";
msg.style.display = "none";
}
}
//關閉;
function cls(obj)
{
var win = obj.parentNode.parentNode;
var sha = win.nextSibling;
win.style.visibility = "hidden";
sha.style.visibility = "hidden";
}
//創建一個對象;
function xWin(id,w,h,l,t,tit,msg)
{
index = index+2;
this.id = id;
this.width = w;
this.height = h;
this.left = l;
this.top = t;
this.zIndex = index;
this.title = tit;
this.message = msg;
this.obj = null;
this.bulid = bulid;
this.bulid();
}
//初始化;
function bulid()
{
var str = ""
+ "<div id=xMsg" + this.id + " "
+ "style='"
+ "z-index:" + this.zIndex + ";"
+ "width:" + this.width + ";"
+ "height:" + this.height + ";"
+ "left:" + this.left + ";"
+ "top:" + this.top + ";"
+ "background-color:" + normal + ";"
+ "color:" + normal + ";"
+ "font-size:10px;"
+ "font-family:Verdana;"
+ "position:absolute;"
+ "cursor:default;"
+ "border:2px solid " + normal + ";"
+ "' "
+ "onmousedown='getFocus(this)'>"
+ "<div "
+ "style='"
+ "background-color:" + normal + ";"
+ "width:" + (this.width-2*2) + ";"
+ "height:20;"
+ "color:white;"
+ "' "
+ "onmousedown='startDrag(this)' "
+ "onmouseup='stopDrag(this)' "
+ "onmousemove='drag(this)' "
+ "ondblclick='min(this.childNodes[1])'"
+ ">"
+ "<span style='width:" + (this.width-2*12-4) + ";padding-left:3px;'>" + this.title + "</span>"
+ "<span style='width:12;border-width:0px;color:white;font-family:webdings;' onclick='min(this)'>0</span>"
+ "<span style='width:12;border-width:0px;color:white;font-family:webdings;' onclick='cls(this)'>r</span>"
+ "</div>"
+ "<div style='"
+ "width:100%;"
+ "height:" + (this.height-20-4) + ";"
+ "background-color:white;"
+ "line-height:14px;"
+ "word-break:break-all;"
+ "padding:3px;"
+ "'>" + this.message + "</div>"
+ "</div>"
+ "<div style='"
+ "width:" + this.width + ";"
+ "height:" + this.height + ";"
+ "top:" + this.top + ";"
+ "left:" + this.left + ";"
+ "z-index:" + (this.zIndex-1) + ";"
+ "position:absolute;"
+ "background-color:black;"
+ "filter:alpha(opacity=40);"
+ "'>by wildwind</div>";
document.body.insertAdjacentHTML("beforeEnd",str);
}
//--></script><script language='JScript'><!--
function initialize()
{
var c = new xWin("3",200,160,250,50,"廣告名稱","參數設置可用框架");//可添加窗口
}
window.onload = initialize;
//--></script></head><body onselectstart='return false' oncontextmenu='return false' scroll='no'>
</body></html>

❻ 網站的特效代碼

這是網頁製作方面的內容,你可以先學習一下簡單的網頁製作,慢慢就了解了。

❼ 求一web前端特效源碼

https://github.com/SimonZhangITer/VueDemo_Sell_Eleme

❽ 網頁特效代碼

http://blog.bioon.com/js/
看這里吧,呵呵,希望能滿意這些網頁特效

❾ javascript特效源代碼下載網站

http://www.jsfoot.com/
http://www.jq-school.com/

❿ 網頁特效

1.(背景圖片普遍類)
<style>
body{background-image:url(圖片地址);
background-repeat:no-repeat;background-position:center}
</style>

說明:以上代碼為網頁背景圖片固定代碼!網頁背景圖片固定代碼,這樣,當向下拉網頁時,網頁背景圖片不會跟著向上移動,達到不動的目的!

2.(背景圖片綜合類)
<P class=style6> </P></SPAN><SPAN>
<TABLE width="100%">
<TBODY>
<TR>
<TD class=ArticleTitle align=left>
<DIV id=divTitle style="FONT-SIZE: 30px"><B></B> </DIV></TD></TR>
<TR>
<TD class=ArticleContent style="FONT-SIZE: 30px; LINE-HEIGHT: 150%" align=left>
<CENTER> </CENTER>
<STYLE type=text/css><!--body {background-image:url( 圖片地址);

background-repeat:no-repeat;

background-attachment:fixed;background-position:50% 50%}</STYLE>
</TD></TR></TBODY></TABLE></SPAN>

說明:
no-repeat;(不平鋪)
改為這個repeat(平鋪)

本文來源於 夢飛揚工作室 www.istagel.com 原文鏈接:http://www.yujilin1.home.sunbo.net/show_hdr.php?xname=AACOG21&dname=AMTCB41&xpos=25

熱點內容
sqllocaldb 發布:2024-12-22 20:07:08 瀏覽:122
如何找到我的伺服器 發布:2024-12-22 19:52:14 瀏覽:298
手掛機腳本游 發布:2024-12-22 19:38:00 瀏覽:429
層次原理圖如何編譯 發布:2024-12-22 19:27:17 瀏覽:371
android計算緩存大小 發布:2024-12-22 19:16:54 瀏覽:660
php訪問模塊 發布:2024-12-22 19:05:24 瀏覽:272
電梯IC加密 發布:2024-12-22 19:04:47 瀏覽:376
腳本圈是引流加粉嗎 發布:2024-12-22 18:41:26 瀏覽:392
ajax文件上傳表單提交 發布:2024-12-22 17:55:00 瀏覽:856
win7無法共享的文件夾 發布:2024-12-22 17:53:39 瀏覽:41