以下为引用的内容: <html> <head> </head> <body> <DIV style="LEFT: 0px; POSITION: absolute; TOP: 0px"> <OBJECT ID="dlgHelper" CLASSID="clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b" WIDTH="0px" HEIGHT="0px"></OBJECT> <script language="javascript" type="text/javascript"> // FontFacesMenu.js var fontsArray = new Array(); var fontsIsAdded = false; function fontFacesMenuEnter(fontFacesDropdownList, dlgHelperId) { if((fontsIsAdded == false )||(fontsArray=='')) { fontsArray = getSystemFonts(dlgHelperId); fontsIsAdded = true; for (var s=1; s < fontsArray.length; s++) { newOption = document.createElement("option"); newOption.value = fontsArray[s]; newOption.text = fontsArray[s]; fontFacesDropdownList.add(newOption); } } } function getSystemFonts(dlgHelperId) { var a = document.all(dlgHelperId).fonts.count; var fArray = new Array(); for (i = 1;i <= parent.document.all(dlgHelperId).fonts.count;i++){ fArray[i] = parent.document.all(dlgHelperId).fonts(i); } return fArray; } </script> </DIV> <select id="blessingWords_FontFamily_DL" name="blessingWords_FontFamily_DL" style="width:140px;" onmouseenter="fontFacesMenuEnter(this, 'dlgHelper');//updateFontList();"> <option value=""><- 设置字体 -></option> </select> </body> |
以下为引用的内容: <DIV style="LEFT: 0px; POSITION: absolute; TOP: 0px"> <OBJECT ID="dlgHelper" CLASSID="clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b" WIDTH="0px" HEIGHT="0px"> </OBJECT> <script src="FontFacesMenu.js" language="javascript" type="text/javascript"></script> </DIV> |
以下为引用的内容: // FontFacesMenu.js var fontsArray = new Array(); var fontsIsAdded = false; function fontFacesMenuEnter(fontFacesDropdownList, dlgHelperId) { if((fontsIsAdded == false )||(fontsArray=='')) { fontsArray = getSystemFonts(dlgHelperId); fontsIsAdded = true; for (var s=1; s < fontsArray.length; s++) { newOption = document.createElement("option"); newOption.value = fontsArray[s]; newOption.text = fontsArray[s]; fontFacesDropdownList.add(newOption); } } } function getSystemFonts(dlgHelperId) |
以下为引用的内容: <SELECT ID="blessingWords_FontFamily_DL" name="blessingWords_FontFamily_DL" style="width:140px;" onmouseenter="fontFacesMenuEnter(this, 'dlgHelper');//updateFontList();"> <OPTION VALUE=""><- 设置字体 -></OPTION> </SELECT> |