您的位置: 首页 > IT文章 > 美化下拉列表 美化下拉列表 分类: IT文章 • 2022-05-12 21:44:26 simulate combox control - http://www.never-online.net simulate combox control demonstrate - please select your options - option1 option2 option3 option4 option5 - please select your options - 1option1 1option2 1option3 1option4 1option5 - please select your options - 2option1 2option2 2option3 2option4 2option5 - please select your options - 3option1 3option2 3option3 3option4 3option5 Get value description //-------------------------------------------------------------// @ Module: simulate select control, IE only.// @ Debug in: IE 6.0// @ Script by: blueDestiny, never-online// @ Updated: 2006-3-22// @ Version: 1.0 apha// @ Email: blueDestiny [at] 126.com// @ Website: http://www.never-online.net// @ Please Hold this item please.//// API// @ simulateSelect(ctlSelIDs)// ctlSelIDs: select control IDs, split by ","//// @ simulateSelect.style(ctlStyle[,selStyle][,unselStyle])// ctlStyle: main control combox css class name// selStyle: when mouseover or option focus css class name// unselStyle: options blur's css class name//// @ simulateSelect.width=(widthPX)// widthPX must be a digit number.//// @ simulateSelect.height=(heightPX)// heightPX must be a digit number.//// -------------- for the next Version ----------// @ simulateSelect.readOnly = (blnReadOnly)// blnReadOnly must be a boolean type or a number type.// @ simulateSelect.addEvent(w, h)// w: fire handler's event.// h: handler function.//------------------------------------------------------------- Power By blueDestiny, never-onlinehttp://www.never-online.net[Ctrl+A 全选 注:引入外部Js需再刷新一下页面才能执行]