Collection and sharing of classid about object tag in html

黄舟
Release: 2017-06-30 11:32:39
Original
2238 people have browsed it

Today I used the wbbrowser control for page printing, and it feels very powerful. I simply collected some knowledge about the html object tag and compiled it here for reference when needed.

First, paste this powerful web page printing example (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 class="NOPRINT" href="#" style="cursor:hand" title="打印" onclick="document.all.WebBrowser.ExecWB(6,6);">打印表一</a>
<br><br>
<table BORDER="1">
<tr><td>1</td></tr>
<tr><td>我将被打印啦!</td></tr>
</table>
<br>
<table class="NOPRINT" BORDER="1">
<tr><td>2</td></tr>
<tr><td>因为我的class=‘NOPRINT’所以我将不被打印</td></tr>
</table>
</BODY>
</HTML>
Copy after login

Next, I will list the collected html object control tags here. Specific application examples will be added later when I have time.

-----------------------------------------WebBrowser Control ---- ----------------------------------------

<OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0 VIEWASTEXT></OBJECT>
<input type=button value=打开 onclick=document.all.WebBrowser.ExecWB(1,1)>
<input type=button value=另存为 onclick=document.all.WebBrowser.ExecWB(4,1)>
<input type=button value=全选 onclick=document.all.WebBrowser.ExecWB(17,1)>
<input type=button value=属性 onclick=document.all.WebBrowser.ExecWB(10,1)>
<input type=button value=关闭窗口 onclick=document.all.WebBrowser.ExecWB(45,1)>
<input type=button value=打印 onclick=document.all.WebBrowser.ExecWB(6,1)>
<input type=button value=直接打印 onclick=document.all.WebBrowser.ExecWB(6,6)>
<input type=button value=页面设置 onclick=document.all.WebBrowser.ExecWB(8,1)>
<input type=button value=打印预览 onclick=document.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" onclick="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" onclick="max.Click()" id=button1 name=button1>
Copy after login

------------------------------------------------realplayer---- ---------------------------------------

<OBJECT id=RVOCX1 height=240 width=320
classid=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=320
classid=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>
Copy after login

---- ---------------------------------------Find a time----- ----------------------------------

Find a timeless one, an absolute classic, no repetitions Bar!

<OBJECT classid="clsid:20DD1B9E-87C4-11D1-8BE3-0000F8754DA1" name=fccrq width=145 height=22
updown="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>
Copy after login

------------------------------------- flash plug-in---- --------------------------------------------------

<object classid="clsid:3A2B370C-BA0A-11D1-B137-0000F8753F5D" id="mschart1" style="HEIGHT: 326px; WIDTH: 651px" CODEBASE="mschart.cab">
</object>
flash插件
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
>
Copy after login

--------------------------------Minimize --- Maximize---- Force close- ----------------------------------

minimize

<object id=min classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">
<param name="Command" value="Minimize"></object>
Copy after login

Maximize

<object id=max classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">
<param name="Command" value="Maximize"></object>
Copy after login

Force close

<OBJECT id=cle classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<PARAM NAME="Command" VALUE="Close"></OBJECT>
Copy after login

----------------------------- ------If you have a CD-ROM drive, you can try it---------------------------------- --------

<object id=oWMP classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6"></object>
<SCRIPT language=VBScript>
<!--
&#39;Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next &#39; cdrom
End If
-->
</SCRIPT>
Copy after login

---------------------------------- ------This is the code of realplay player--------------------------------

<object classid=clsid:cfcdaa03-8be4-11cf-b84b-0020afbbccfa height=244 id=RP2 style="left: 0px; top: 0px; " width=392>
<param name="AUTOSTART" value="-1">
<param name="SRC" value="rtsp://vmovie/sd.RM">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
</object>
Copy after login

----------------------------------Close the window without prompt --------- ---------------------------------------

//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=关闭 onclick="window.opener=&#39;null&#39;;window.close()">
//IE5.5以上有效
<OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0>
</OBJECT>
<input type=button value=关闭窗口 onclick=document.all.WebBrowser.ExecWB(45,1)>
Copy after login

---- -------------------------- ms page elf, can speak English------------- --------------------------

<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>
Copy after login

----------------- ---------Everything in the registry is not necessarily fun------------------------------ ---------

<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 style="HEIGHT: 326px; WIDTH: 651px" codebase="mschart.cab">
</object>
Copy after login

The above is the detailed content of Collection and sharing of classid about object tag in html. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Previous article:Detailed explanation of important attributes of tag in html Next article:How to use the Object tag in html?
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template