去掉了灰色倒三角的漂亮下拉列表(6)_Dreamweaver教程
教程Tag:暫無Tag,歡迎添加,賺取U幣!
this.TitleTable.cells(2).innerHTML = "<img src='" SS_ENV.ImgPrefix "/btn_down_s.gif' border=0 align=absmiddle>";
this.TitleTable.cells(3).appendChild(this.select);
this.TitleWrapper = document.createElement(""
"<img src='" SS_ENV.ImgPrefix "/img_blank.gif'"
" style='position:absolute; top:0; left:0; z-index:2; width:100%; height:" this.height ";'"
" onmouseover='SS_VAR.SelectList[" this.ssID "].handleOverTitle()'"
" onmouseout='SS_VAR.SelectList[" this.ssID "].handleOutTitle(); SS_VAR.SelectList[" this.ssID "].releaseTitle(window.event);'"
" onmousedown='SS_VAR.SelectList[" this.ssID "].pressTitle(window.event)'"
" ondblclick='SS_VAR.SelectList[" this.ssID "].pressTitle(window.event); SS_VAR.SelectList[" this.ssID "].releaseTitle(window.event);'"
" onmouseup='SS_VAR.SelectList[" this.ssID "].releaseTitle(window.event)'"
" onmousewheel='SS_VAR.SelectList[" this.ssID "].handleMousewheel(window.event)'"
" ondragstart='SS_cancelEvent(window.event)'"
">"
);
SS_CreatedElements[SS_CreatedElements.length] = this.TitleWrapper;
this.TitleDiv.appendChild(this.TitleWrapper);
}
function SS_createOptionsDiv ()
{
this.OptionsDiv = SS_createElement(""
"<div style='" SS_ENV.OptionsDivStyle "'"
" onscroll='SS_VAR.SelectList[" this.ssID "].moveOption(window.event)'"
" onmousedown='SS_cancelEvent(window.event)'"
">"
" <table border=0 cellpadding=0 cellspacing=0 width=100% style='table-layout:fixed'>"
" </table>"
"</div>"
);
this.OptionsTable = this.OptionsDiv.childNodes(0);
for (var i=0; i < this.options.length; i ) {
this.createOptionTr(i);
}
this.syncOptions();
this.OptionsWrapper = document.createElement(""
"<img src='" SS_ENV.ImgPrefix "/img_blank.gif'"
" style='position:absolute; top:0; left:0; width:100%;'"
" onmousedown='SS_VAR.SelectList[" this.ssID "].pressOption(window.event)'"
" onmousemove='SS_VAR.SelectList[" this.ssID "].moveOption(window.event)'"
" onmouseup='SS_VAR.SelectList[" this.ssID "].releaseOption(window.event)'"
" onmouseout='SS_VAR.SelectList[" this.ssID "].releaseOption(window.event)'"
" ondragstart='SS_cancelEvent(window.event)'"
">"
);
SS_CreatedElements[SS_CreatedElements.length] = this.OptionsWrapper;
this.OptionsDiv.appendChild(this.OptionsWrapper);
}
function SS_createOptionTr (idx)
{
idx = ('undefined'!=typeof(idx)) ? idx : this.options.length - 1;
var OptionTr = this.OptionsTable.insertRow(-1);
var OptionTd = document.createElement("<td height=" this.OptionHeight "></td>");
SS_CreatedElements[SS_CreatedElements.length] = this.OptionsTd;
OptionTd.appendChild(document.createElement("<nobr style='" SS_ENV.OptionNobrStyle "'></nobr>"));
OptionTr.appendChild(OptionTd);
}
</SCRIPT>
</head>
<body><script>SS_write("<select style='width:60;height:18px;font-size:12px' name=star>\n"
相關(guān)Dreamweaver教程:
- 用Dreamweaver在網(wǎng)頁中插入Flash按鈕
- 在Dreamweaver中編寫CSS需要掌握的技巧
- Dreamweaver CS3代碼片斷功能面板的利用
- Dreamweaver CS3 的最新功能
- 用Dreamweaver建站如何設(shè)計CSS?
- Dreamweaver文字自動換行
- 探討Dreamweaver制作網(wǎng)頁時的空格
- 使用Dreamweaver制作網(wǎng)頁的20個技巧
- Dreamweaver MX 2004的PPT格式課件
- Dreamweaver技巧:運用代碼片斷工具提高css開發(fā)效率
- 在DreamWeaver中編寫CSS的一些技巧
- 使用Dreamweaver模板批量制作網(wǎng)頁
Dreamweaver教程Rss訂閱網(wǎng)站制作教程搜索
Dreamweaver教程推薦
- 輕松處理Dreamweaver段落縮進(jìn)
- DW MX 的快鍵一覽表
- Dreamweaver技巧:運用代碼片斷工具提高css開發(fā)效率
- Dreamweaver MX進(jìn)階教程(十)制作居中的網(wǎng)頁
- 用Dreamweaver設(shè)計限時自動關(guān)閉的網(wǎng)頁
- Dreamweaver生成新頁面css的類失效
- PHP和ASP在Dreamweaver 8中調(diào)用IE預(yù)覽
- 玩轉(zhuǎn)Dreamweaver 8.0之設(shè)置段落格式
- 利用Dreamweaver快速批處理圖片鏈接
- Dreamweaver制作網(wǎng)頁技巧之層的應(yīng)用
- 相關(guān)鏈接:
- 教程說明:
Dreamweaver教程-去掉了灰色倒三角的漂亮下拉列表(6)
。