首先将这个强大web页面打印例子(pintTest.html)贴上来。
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTML HEAD style media=print .Noprint{display:none;}.PageNext{page-break-after: always;} /style /HEAD BODY OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0 VIEWASTEXT /OBJECT a >接下来我将收集到的html object控件标签罗列在此,具体应用的例子后续有时间补上。
--------------------------------------WebBrowser控件 ---------------------------------------------
OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0 VIEWASTEXT /OBJECT input type=button value=打开 ocument.all.WebBrowser.ExecWB(1,1) input type=button value=另存为 ocument.all.WebBrowser.ExecWB(4,1) input type=button value=全选 ocument.all.WebBrowser.ExecWB(17,1) input type=button value=属性 ocument.all.WebBrowser.ExecWB(10,1) input type=button value=关闭窗口 ocument.all.WebBrowser.ExecWB(45,1) input type=button value=打印 ocument.all.WebBrowser.ExecWB(6,1) input type=button value=直接打印 ocument.all.WebBrowser.ExecWB(6,6) input type=button value=页面设置 ocument.all.WebBrowser.ExecWB(8,1) input type=button value=打印预览 ocument.all.WebBrowser.ExecWB(7,1) OBJECT id= min type= application/x-oleobject classid= clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11 VIEWASTEXT PARAM name= Command value= Minimize /OBJECT input type=button value= Min quot;min.Click() OBJECT id= max type= application/x-oleobject classid= clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11 VIEWASTEXT PARAM name= Command value= Maximize /OBJECT input type=button value= Max/Restore quot;max.Click() id=button1 name=button1-------------------------------------------realplayer的-------------------------------------------
OBJECT id=RVOCX1 height=240 width=320classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA name=player1 PARAM NAME= _ExtentX VALUE= 8467 PARAM NAME= _ExtentY VALUE= 6350 PARAM NAME= AUTOSTART VALUE= -1 PARAM NAME= SHUFFLE VALUE= 0 PARAM NAME= PREFETCH VALUE= 0 PARAM NAME= NOLABELS VALUE= 0 PARAM NAME= SRC VALUE= rtsp://11.20.49.27/7/film/fallinnewyorkB.rm PARAM NAME= CONTROLS VALUE= ImageWindow PARAM NAME= CONSOLE VALUE= Clip1 PARAM NAME= LOOP VALUE= 0 PARAM NAME= NUMLOOP VALUE= 0 PARAM NAME= CENTER VALUE= 0 PARAM NAME= MAINTAINASPECT VALUE= 0 PARAM NAME= BACKGROUNDCOLOR VALUE= #ffffff /OBJECT BR OBJECT id=RVOCX1 height=20 width=320classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA name=control PARAM NAME= _ExtentX VALUE= 8467 PARAM NAME= _ExtentY VALUE= 529 PARAM NAME= AUTOSTART VALUE= -1 PARAM NAME= SHUFFLE VALUE= 0 PARAM NAME= PREFETCH VALUE= 0 PARAM NAME= NOLABELS VALUE= 0 PARAM NAME= SRC VALUE= rtsp://11.20.49.27/7/film/fallinnewyorkB.rm PARAM NAME= CONTROLS VALUE= ControlPanel PARAM NAME= CONSOLE VALUE= Clip1 PARAM NAME= LOOP VALUE= 0 PARAM NAME= NUMLOOP VALUE= 0 PARAM NAME= CENTER VALUE= 0 PARAM NAME= MAINTAINASPECT VALUE= 0 PARAM NAME= BACKGROUNDCOLOR VALUE= #000000 /OBJECT-------------------------------------------找到一个了时间的---------------------------------------
找到一个了时间的,绝对经典,没有重复吧!
OBJECT classid= clsid:20DD1B9E-87C4-11D1-8BE3-0000F8754DA1 name=fccrq width=145 height=22updown= 0 param name= CalendarTrailingForeColor value= 11184810 param name= CalendarTitleForeColor value= 15658734 param name= CalendarTitleBackColor value= 11141120 param name= CalendarForeColor value= 0 param name= CalendarBackColor value= 16777215 param name= format value= 0 param name= CurrentDate value= %=DateDiff( d , 1899/12/31 , 2002/11/11 )+1% /object------------------------------------- flash插件---------------------------------------------------
object classid= clsid:3A2B370C-BA0A-11D1-B137-0000F8753F5D id= mschart1 >--------------------------------最小化 --- 最大化---- 强制关闭------------------------------------
最小化
object id=min classid= clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11 param name= Command value= Minimize /object最大化
object id=max classid= clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11 param name= Command value= Maximize /object强制关闭
OBJECT id=cle classid= clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11 PARAM NAME= Command VALUE= Close /OBJECT------------------------------------ 有光驱的可以试试---------------------------------------------
object id=oWMP classid= clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6 /object SCRIPT language=VBScript Set oWMP = CreateObject( WMPlayer.OCX.7 )Set colCDROMs = oWMP.cdromCollectionif colCDROMs.Count = 1 thenFor i = 0 to colCDROMs.Count - 1colCDROMs.Item(i).EjectNext cdromEnd If /SCRIPT----------------------------------------- 这是realplay播放器的代码--------------------------------
object classid=clsid:cfcdaa03-8be4-11cf-b84b-0020afbbccfa height=244 id=RP2 >-----------------------------------关闭窗口无提示 ------------------------------------------------
//IE6+SP1以下有效 OBJECT id=closeit classid= clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11 PARAM NAME= Command VALUE= Close /OBJECT a href= javascript:closeit.Click() 点这里关闭窗口 /a //IE5.5以上有效 input type=button value=关闭 quot;window.opener= null window.close() //IE5.5以上有效 OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0 /OBJECT input type=button value=关闭窗口 ocument.all.WebBrowser.ExecWB(45,1)------------------------------- ms页面小精灵,可以说英语滴----------------------------------------
OBJECT classid= clsid:D45FD31B-5C6E-11D1-9EC1-00C04FD7081F id= Agent CODEBASE= #VERSION=2,0,0,0 VIEWASTEXT /OBJECT OBJECT classid= clsid:B8F2846E-CE36-11D0-AC83-00C04FD97575 id= TruVoice CODEBASE= #VERSION=6,0,0,0 VIEWASTEXT /OBJECT--------------------------注册表里多的是是不一定都好玩---------------------------------------
OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0 ID=index WIDTH=468 HEIGHT=60 PARAM NAME=movie VALUE=/adv/soft/Sina_468X60_Banner.swf PARAM NAME=quality VALUE=high /OBJECT object CLASSID= clsid:5220cb21-c88d-11cf-b347-00aa00a28331 id= Microsoft_Licensed_Class_Manager_1_0 param NAME= LPKPath VALUE= mschart.lpk /object object classid= clsid:3A2B370C-BA0A-11D1-B137-0000F8753F5D id=mschart1 >以上就是html中关于object标签的classid收集分享的详细内容,html教程
郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。
新闻热点
疑难解答