1、請教網頁設計高手滑鼠特效代碼代碼求大神幫助
滑鼠移上去就打開頁面: 第一步:把如下代碼加入<body>區域中 <SCRIPT Language="JavaScript">function winopen () {msg=open("update.htm","NewWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=400,height=260");}</SCRIPT> 第二步:把如下代碼加入<body>區域中 <a href="鏈接地址" onMouseOver="winopen(); return true;"><IMG SRC="shu.gif" border="0"></a> 自動跳轉的話這個度試看 <a href=" 鏈接地址" onMouseOver="指定頁面"><IMG SRC="shu.gif" border="0"></a> 不行的話加我Q吧 我這個只是理論的寫寫 沒實現過 你試試看吧
滿意請採納
2、網頁設計特效??
能說的具體點嗎?yahoo還是yahoo中國?什麼欄目?
此為下拉式菜單,按鈕為flash。
下拉式菜單的代碼無須自己編寫,有軟體可以自動按要求生成,具體軟體請去天空下載,地址:
http://www.skycn.com/sort/sort2010900_indate_DESC_1.html
FLASH按鈕其實也是很簡單的。下載個Macromedia Flash 自己去做一個就行了。
3、求網頁設計 「點贊」特效 源代碼
頁設計 「點贊」特效 源代碼
遠不如你怎麼看
4、網頁背景特效具體應該放在網頁設計代碼哪裡?
可以放在head裡面<style>body{background:url("")}</style>
也可以新建一個css文件,在head裡面關聯css,
5、在網頁製作中 誰給個特效代碼
沒有這種代碼
6、請高手寫個網頁製作的特效代碼,在線等,採納追加100分
就是這些代碼,如果你不滿意我倒找你100分!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<FCK:meta http-equiv="Content-Type" content="text/html; charset=gb2312" ></FCK:meta>
<title>超酷的旋轉圖片特效</title>
</head>
<body>
<style type="text/css">
body{background:black}
.point{position:absolute;height:120px;}
</style>
<script>
var r=200,dv=0.01,w=100,x=400;y=100,pn=8; //r半徑,dv偏移量,w圖片寬度,x菜單橫坐標,y菜單縱坐標,pn菜單圖片數量
var pi=Math.PI,d=pi/2;
var pd=Math.asin(w/2/r),ed=pi*2/pn,sm;//pd各個圖片的反正弦
function goR(){
var o=document.getElementById('imground');
var arrimg=o.getElementsByTagName('img');
for (var n=0;n<arrimg.length;n++){
arrimg[n].onmouseout=function(){sm=setInterval('roundMove()',50);} //滑鼠離開菜單後繼續轉動
arrimg[n].onmouseover=function(){clearInterval(sm)} //滑鼠移上菜單停止轉動
arrimg[n].onmousedown=function(){dv=dv*2} //滑鼠單擊菜單加快轉到速度
}
sm=setInterval('roundMove()',50);
}
function roundMove(){
var v=document.getElementById('imground');
var arrimg=v.getElementsByTagName('img');
var o,ta,strFilter;
for (var n=1;n<=pn;n++){
o=arrimg[n-1];
ta=Math.sin(d+ed*n);//獲得當前偏移量的正弦值
strFilter='';
if (ta<0){//正弦值對應為負弧度,即圖片旋轉到圓的背面
o.style.left=Math.cos(d+ed*n-pd)*r+x+'px'; //傳入當前圖片移動的橫坐標
}
else{//當圖片旋轉到圓的正面時
o.style.left=Math.cos(d+ed*n+pd)*r+x+'px';//傳入當前圖片移動的橫坐標
}
o.style.top=ta*10+5+y+'px'; //傳入當前圖片移動的縱坐標
o.style.width=Math.abs(Math.cos(d+ed*n+pd)-Math.cos(d+ed*n-pd))*r+'px';
o.style.zIndex=parseInt(ta*10);
if (o.style.zIndex<0){//當圖片旋轉到居後的位置時翻轉圖片
strFilter='FlipH(enabled:true)';
}
else{ //當圖片旋轉到前面的位置時顯示圖片正面
strFilter='FlipH(enabled:false)';
}
if (ta<0){
ta=(ta+1)*80+20;
}else{
ta=100;
}
strFilter=strFilter+' alpha(opacity='+ta+')'; //透明效果(針對IE)
o.style.opacity=ta/100; //透明效果(針對非IE)
o.style.filter=strFilter; //在菜單圖片上加入濾鏡效果
}
d+=dv; //增加偏移值
}
</script>
<div id="imground">
<img class="point" src="http://img.lingd.net/attachments/date_201101/.jpg" _fcksaverl="http://img.lingd.net/attachments/date_201101/.jpg" _fcksaverl="http://img.lingd.net/attachments/date_201101/.jpg"/>
<img class="point" src="http://img.lingd.net/attachments/date_201101/.jpg" _fcksaverl="http://img.lingd.net/attachments/date_201101/.jpg" _fcksaverl="http://img.lingd.net/attachments/date_201101/.jpg"/>
<img class="point" src="http://img.lingd.net/attachments/date_201101/.jpg" _fcksaverl="http://img.lingd.net/attachments/date_201101/.jpg" _fcksaverl="http://img.lingd.net/attachments/date_201101/.jpg"/>
<img class="point" src="http://img.lingd.net/attachments/date_201101/.jpg" _fcksaverl="http://img.lingd.net/attachments/date_201101/.jpg" _fcksaverl="http://img.lingd.net/attachments/date_201101/.jpg"/>
<img class="point" src="http://img.lingd.net/attachments/date_201101/.jpg" _fcksaverl="http://img.lingd.net/attachments/date_201101/.jpg" _fcksaverl="http://img.lingd.net/attachments/date_201101/.jpg"/>
<img class="point" src="http://img.lingd.net/attachments/date_201101/.jpg" _fcksaverl="http://img.lingd.net/attachments/date_201101/.jpg" _fcksaverl="http://img.lingd.net/attachments/date_201101/.jpg"/>
<img class="point" src="http://img.lingd.net/attachments/date_201101/.jpg" _fcksaverl="http://img.lingd.net/attachments/date_201101/.jpg" _fcksaverl="http://img.lingd.net/attachments/date_201101/.jpg"/>
<img class="point" src="http://img.lingd.net/attachments/date_201101/.gif" _fcksaverl="http://img.lingd.net/attachments/date_201101/.gif" _fcksaverl="http://img.lingd.net/attachments/date_201101/.gif"/>
</div>
<script language="javascript">goR();</script>
</body>
</html>
7、Dreamweaver使用,網頁特效代碼製作
首先用ps或者其他軟體將幾張圖片的大小p成一樣的。比如筆者把三張圖片都p成了200x268的大小。
2
打開Dreamweaver,新建一個網頁(筆者這里建立一個html類型的網頁)。
3
按Ctrl+S保存新建的網頁。
4
點擊菜單欄:插入-->表格。插入一個1行1列的表格。
5
把滑鼠指針放到表格中,單擊菜單欄的:插入-->布局對象-->AP Div,插入一個AP Div。
6
把滑鼠放到剛剛新建的AP Div里邊,點擊菜單欄的:插入-->圖像,選擇一張需要插入的圖片。
7
按上面的方法依次添加其他幾個AP Div,並在里邊插入圖片。
接下來插入一個AP Div,然後再里邊添加一個1行3列的表格。
滑鼠指針放到表格第一個方框中,單擊菜單欄:插入-->表單-->按鈕。操作如圖
滑鼠點中添加的按鈕,然後再下方屬性面板中,把值修改為1。
按照上述步驟依次為表格的第二個框、第三個框添加一個按鈕,並把屬性值改成2和3。如圖
把幾個AP Div移動到同一個區域。如下圖
單擊菜單欄:窗口-->行為,打開行為面板。
滑鼠點擊第一個方框的按鈕,點擊標簽檢查器行為面板下方的「+」號,彈出的菜單中選擇「顯示-隱藏元素」。
按照下圖所示,把AP Div1設置成顯示,AP Div2設置成隱藏,AP Div3設置成隱藏。AP Div4可以設置成顯示,也可以不設置(默認顯示)。
如圖,點擊行為面板左邊的英文,在彈出的菜單中選擇onFocus。
按照上面的步驟,依次把表格第二個方框、第三個方框的按鈕設置成如下圖所示。
這樣就做好了。按F12在瀏覽器中看看效果。
8、網頁設計中的幻燈片特效如何實現?具體包括代碼怎麼插入??
試試這個圖片幻燈片切換效果
有12345數字一起切換
有小圖大圖一起切換
裡面有教程和源碼