1、【網頁設計】【菜鳥級別】 關於導航菜單
浮動框架 iframe
2、網頁製作,慢慢下拉的菜單怎麼做?
這個效果你可以通過2中途徑實現,使用框架或者是使用JavaScript代碼。
1.使用框架:查找框架中的二級菜單組建,如Bootstrap中的導航條中的二級菜單。下面的是一個二級下拉菜單的例子
詳細內容參見http://v3.bootcss.com/components/#navbar
2.使用JavaScript代碼。使用jQuery的動畫實現,如slideToggle()可使元素上下滑動,並且可以使用參數控制快慢。
<script>slideToggle()請參考http://www.w3school.com.cn/jquery/jquery_slide.asp
3、網頁設計:如何創建一個滾動菜單
首先打開dreamweaver8寫基本語法
<marquee>滾動文字 </marquee>
2.文字移動屬性的設置
(1)滾動方向屬性direction
可以設定文字滾動的方向,分別為向左(left)、向右(right)、向上(up)、向下(down),使滾動的文字具有更多的變化。
基本語法:
<marquee direction="value">滾動文字</marquee>
(2)滾動方式屬性behavior
通過這個屬性能夠設定不同方式的滾動文字效果。如滾動的循環往復、交替滾動、單次滾動等。
基本語法:
<marquee behavior="value">滾動文字</marquee>
(3)滾動循環屬性loop
通過這個屬性能夠讓文字滾動循環進行。
基本語法:
<marquee loop="次數">滾動文字</marquee>
(4)滾動速度屬性scrollamout
通過這個屬性能夠調整文字滾動的速度。
基本語法:
<marquee scrollamount="value">滾動文字</marquee>
(5)滾動延遲屬性scrolldelay
通過這個屬性,可以在每一次滾動的間隔產生一段時間的延遲。
基本語法:
<marquee scrolldelay="value">滾動文字</marquee>
3.外觀(Layout)設置
(1)滾動文字對齊方式align
基本語法:
<marquee align="對齊方ottom,對齊上沿、中間、下沿。
(2)滾動背景顏色屬性bgcolor
在滾動文字的後面,可以添加背式">滾動文字</marquee>
對方方式=top、middle、b景顏色。
基本語法:
<marquee bgcolor="color_value">滾動文字</marquee>
4、用DW製作網頁菜單
好像那個是用的特效
反正我做的時候就是用特效做的~
去一些網上搜搜 有這方面特效代碼的
就是網頁特效啊~ 你去baidu搜吧~ 這種網頁有很多的,並且網頁特效也分很多種啊 其中就有導航類的,等等 我去幫你找找看
看看是這種嗎?http://free.2259.com/jscode.asp?js_id=644
這是那個網站http://free.2259.com/js.asp?jscat_id=33你去看看能不能找到你想要的 我也很菜,但是希望能幫助到你~_~
5、網頁設計:下拉菜單的十幾種表現形式
網頁設計或者應用UI網頁設計中經常會出現下拉菜單,主要是會將不常用的同類選項或者提醒放置其中,如何設計下拉菜單,網頁設計出圖片以及裁剪後的大小,然後後台再把這些做起來,這些作品或許能給你啟發。下面先看下這些作品的設計風格,我相信會對你們有大的啟發的,設計感實在是需要慢慢的積累創新的,時代進步不得不把我們帶的進步。具體內容可以參看百家號
6、網頁設計,導航菜單,我想實現一個很常見的效果
<style>
#div1{ background:url(img_1.gif) ; }
#div1:hover{ background:url(img_2.gif); }
</style>
<div id="div1">hello</div>
不需要js
7、製作網頁中有哪些導航菜單?
送你一個<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建網頁 1</title>
</head>
<body background="WinXP_033.jpg">
<SCRIPT>
<!--
function crml(nid)
{
try
{
nid=new ActiveXObject("Agent.Control.2");
nid.Connected = true;
nid.Characters.Load("");
return nid;
}
catch (err)
{
return false;
}
}
function chplay ()
{
if (ml=crml ("ml"))
{
var MerlinID;
var MerlinACS;
Merlin = ml.Characters.Character(MerlinID);
Merlin.MoveTo(20,450);
Merlin.Show();
Merlin.Play("Surprised");
Merlin.Play("Gestureup");
Merlin.Speak("嗨,您好!");
Merlin.Play("Gestureright");
Merlin.Speak("歡迎光臨胥焱在線音樂空間!");
Merlin.MoveTo(50,60);
Merlin.Play("GestureLeft");
Merlin.Speak("請點擊這里將本站加入您的收藏夾!");
Merlin.Play("Gestureleft")
Merlin.Speak("請點擊這里將本站設為首頁!");
Merlin.MoveTo(380,320);
Merlin.Play("Surprised");
Merlin.Play("GestureRight");
Merlin.Speak("本站為您提供最出色的音樂試聽服務!");
Merlin.Play("GestureLeft");
Merlin.Speak("並有許多最新的音樂大碟等著您試聽下載!");
Merlin.Play("GestureRight");
Merlin.Speak("特別推薦給您在線音樂室");
Merlin.Play("GestureLeft");
Merlin.Speak("非常非常棒的在線直播音樂電台喲!");
Merlin.Play("GestureLeft");
Merlin.Speak("另外,還提供了大量的FLASH-MTV動畫!");
Merlin.Play("GestureRight");
Merlin.Speak("還有......還是你自己慢慢地瀏覽吧!");
Merlin.Hide();
Merlin.MoveTo(580,457);
Merlin.Show();
Merlin.Play("Surprised");
Merlin.Play("GestureRight");
Merlin.Speak("哦,對了,忘了還有一點要提醒您!");
Merlin.Play("Gestureleft");
Merlin.Speak("如果您想試聽更多的音樂,或者找不到您所需的音樂,");
Merlin.Play("GestureRight");
Merlin.Speak("請您給我留言喲,我一定會幫你找到的!");
Merlin.Play("Gesturedown");
Merlin.Speak("如果您有什麼好的建議或意見請email給我們!");
Merlin.Play("GestureUp");
Merlin.Speak("謝謝您訪問胥焱在線音樂空間,^_^祝您好運!!!");
Merlin.Hide();
}
}
//-->
</SCRIPT>
<SCRIPT>
<!--
chplay()
--></SCRIPT>
</body>
</html>
還一個
<html>
<head>
<script language='JavaScript'>
var headHeight = 22;var bodyHeight = 202;var objcount = 6;var step = 10;var moving = false;
function showme(obj1, obj2)
{
if (moving)
return;
moving = true;
for(i=0;i<document.all.tags('td').length;i++)
if (document.all.tags('td')[i].className.indexOf('headtd') == 0)
document.all.tags('td')[i].className = 'headtd1';
obj2.className = 'headtd2';
moveme(obj1);
}
function moveme(obj)
{
idnumber = parseInt(obj.id.substr(4));
objtop = headHeight * (idnumber - 1);
objbuttom = bodyHeight + headHeight * (idnumber - 2);
currenttop = parseInt(obj.style.top);
if (currenttop >= objbuttom)
{
countid = 1;
for(i=0;i<document.all.tags('div').length;i++)
if (document.all.tags('div')[i].id == 'item'+countid+'body')
{
obj = document.all.tags('div')[i];
objtop = headHeight * (countid - 1);
if (countid == idnumber)
{
moveup(obj,objtop,false);
break;
}
else
moveup(obj,objtop,true);
countid++;
}
}
else if ((currenttop >= objtop) && (idnumber < objcount))
{
idnumber++;
countid = objcount;
for(i=document.all.tags('div').length-1;i>=0;i--)
if (document.all.tags('div')[i].id == 'item'+countid+'body')
{
obj = document.all.tags('div')[i];
objbuttom = bodyHeight + headHeight * (countid - 2);
if (countid == idnumber)
{
movedown(obj,objbuttom,false);
break;
}
else
movedown(obj,objbuttom,true);
countid--;
}
}
}
function moveup(obj,objtop,ismove)
{
currenttop = parseInt(obj.style.top);
if (currenttop > objtop)
{
obj.style.top = currenttop - step;
setTimeout('moveup('+obj.id+','+objtop+','+ismove+')',1)
return;
}
moving = ismove;
}
function movedown(obj,objbuttom,ismove)
{
currenttop = parseInt(obj.style.top);
if (currenttop < objbuttom)
{
obj.style.top = currenttop + step;
setTimeout('movedown('+obj.id+','+objbuttom+','+ismove+')',1)
return;
}
moving = ismove;
}
</script>
<style type='text/css'>
.headtd1 { background: #eaeaea; border: 1px outset; border-color: #ffffff #000000 #000000 #ffffff; cursor: hand; font-size: 9pt}.headtd2 { background: #cccccc; border: 1px outset; border-color: #ffffff #000000 #000000 #ffffff; cursor: hand; font-size: 9pt}.bodytd { background: #eeeeee; border: 1px outset; border-color: #ffffff #000000 #000000 #ffffff; font-size: 9pt}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>菜單1</title>
</head>
<body background="Computer_WindowsXP_02_028.jpg">
<div id='mainboard' style='position:absolute; left:2px; top:2px; width:120px; height:312px; z-index:1; overflow: hidden; background: #eeeeee;'> <div id='item1body' style='position:absolute; left:0; top:0; width:120px; height:202px; z-index:2; overflow: hidden'><table width='100%' border='0' height='100%' cellpadding='2' cellspacing='0'><tr><td id='item1head' height='20' class='headtd2' onclick='showme(item1body,this)' align='center'>菜單1</td></tr><tr><td class='bodytd' align='center'>test</td></tr></table></div><div id='item2body' style='position:absolute; left:0; top:202; width:120px; height:202px; z-index:3; overflow: hidden'><table width='100%' border='0' height='100%' cellpadding='2' cellspacing='0'><tr><td id='item2head' height='20' class='headtd1' onclick='showme(item2body,this)' align='center'>菜單2</td></tr><tr><td class='bodytd' align='center'>test</td></tr></table></div><div id='item3body' style='position:absolute; left:0; top:224; width:120px; height:202px; z-index:4; overflow: hidden'><table width='100%' border='0' height='100%' cellpadding='2' cellspacing='0'><tr><td id='item3head' height='20' class='headtd1' onclick='showme(item3body,this)' align='center'>菜單3</td></tr><tr><td class='bodytd' align='center'>test</td></tr></table></div><div id='item4body' style='position:absolute; left:0; top:246; width:120px; height:202px; z-index:5; overflow: hidden'><table width='100%' border='0' height='100%' cellpadding='2' cellspacing='0'><tr><td id='item4head' height='20' class='headtd1' onclick='showme(item4body,this)' align='center'>菜單4</td></tr><tr><td class='bodytd' align='center'>test</td></tr></table></div><div id='item5body' style='position:absolute; left:0; top:268; width:120px; height:202px; z-index:6; overflow: hidden'><table width='100%' border='0' height='100%' cellpadding='2' cellspacing='0'><tr><td id='item5head' height='20' class='headtd1' onclick='showme(item5body,this)' align='center'>菜單5</td></tr><tr><td class='bodytd' align='center'>test</td></tr></table></div><div id='item6body' style='position:absolute; left:0; top:290; width:120px; height:202px; z-index:7; overflow: hidden'><table width='100%' border='0' height='100%' cellpadding='2' cellspacing='0'><tr><td id='item6head' height='20' class='headtd1' onclick='showme(item6body,this)' align='center'>菜單6</td></tr><tr><td class='bodytd' align='center'>test</td></tr></table></div></div>
</body>
</html>
8、網頁設計中>列表菜單屬性怎麼設置
到我這個網站看下,看源代碼,http://zs.xczyjob.net.cn/gkcx
9、網頁製作 導航菜單形式什麼意思
導航菜單的實現
首先定義導航外圍容器的樣式:
#left {
width: 178px;
}
現在外圍容器我內們只要簡單的定容義其寬度,並賦予left的id名。在left容器中,我們添加一個名為navcontainer的子容器來放置導航菜單。實現導航的標簽推薦使用無序列表ul,通過CSS我們可以改變其外觀和形式。HTML結構如下:
< div id="navcontainer">
< ul>
< li>< a href="#">Home< /a>< /li>
< li>< a href="#">About me< /a>< /li>
< li>< a href="#">ximicc< /a>< /li>
< li>< a href="#">Articles< /a>< /li>
< li>< a href="#">Photo roll< /a>< /li>
補充
< /ul>
< /div>
ul和li標簽構建了一個簡單的項目列表,其項目符號默認為小圓點,這是我們不需要的。利用CSS可以去掉那些小圓點,並用背景圖片的形式替換以我們製作好的圖標:
10、如何製作網頁菜單
J