⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 beyondmenu.js

📁 Parallel Port description of the communication port
💻 JS
字号:

   HM_DOM = (document.getElementById) ? true : false;
   HM_NS4 = (document.layers) ? true : false;
    HM_IE = (document.all) ? true : false;
   HM_IE4 = HM_IE && !HM_DOM;
   HM_Mac = (navigator.appVersion.indexOf("Mac") != -1);
  HM_IE4M = HM_IE4 && HM_Mac;
HM_IsMenu = (HM_DOM || HM_NS4 || (HM_IE4 && !HM_IE4M));

HM_BrowserString = HM_NS4 ? "NS4" : HM_DOM ? "DOM" : "IE4";

if(window.event + "" == "undefined") event = null;
function HM_f_PopUp(){return false};
function HM_f_PopDown(){return false};
popUp = HM_f_PopUp;
popDown = HM_f_PopDown;

HM_PG_MenuWidth = 150;
HM_PG_FontFamily = "Verdana,Arial,sans-serif";
HM_PG_FontSize = 10;
HM_PG_FontBold = 1;
HM_PG_FontItalic = 0;
HM_PG_FontColor = "white";
HM_PG_FontColorOver = "blue";
HM_PG_BGColor = "BLUE";
HM_PG_BGColorOver = "WHITE";
HM_PG_ItemPadding = 0;

HM_PG_BorderWidth = 1;
HM_PG_BorderColor = "#5D6CA8";
HM_PG_BorderStyle = "solid";
HM_PG_SeparatorSize = 1;
HM_PG_SeparatorColor = "#5D6CA8";

HM_PG_ImageSrc = "/menu/HM_More_white_right.gif";
HM_PG_ImageSrcLeft = "/menu/HM_More_white_left.gif";

HM_PG_ImageSrcOver = "/menu/HM_More_blue_right.gif";
HM_PG_ImageSrcLeftOver = "/menu/HM_More_blue_left.gif";

HM_PG_ImageSize = 5;
HM_PG_ImageHorizSpace = 0;
HM_PG_ImageVertSpace = 2;

HM_PG_KeepHilite = true; 
HM_PG_ClickStart = 0;
HM_PG_ClickKill = false;
HM_PG_ChildOverlap = 20;
HM_PG_ChildOffset = 10;
HM_PG_ChildPerCentOver = null;
HM_PG_TopSecondsVisible = .5;
HM_PG_StatusDisplayBuild =0;
HM_PG_StatusDisplayLink = 0;
HM_PG_UponDisplay = null;
HM_PG_UponHide = null;
HM_PG_RightToLeft = false;

HM_PG_CreateTopOnly = 1;
HM_PG_ShowLinkCursor = 1;
HM_PG_NSFontOver = true;

<!-- Universal Serial Bus --> 
HM_Array1 = [
[300,
"mouse_x_position",
"mouse_y_position"],

["USB in a Nutshell - Introduction","/usbnutshell/usb1.htm",1,0,0],
["USB in a Nutshell - Hardware","/usbnutshell/usb2.htm",1,0,0],
["USB in a Nutshell - USB Protocols","/usbnutshell/usb3.htm",1,0,0],
["USB in a Nutshell - Endpoint Types","/usbnutshell/usb4.htm",1,0,0],
["USB in a Nutshell - USB Descriptors","/usbnutshell/usb5.htm",1,0,0],
["USB in a Nutshell - USB Requests","/usbnutshell/usb6.htm",1,0,0],
["USB in a Nutshell - Enumeration","/usbnutshell/usb7.htm",1,0,0],
["PIC16F87x and PDIUSBD11 USB Example","/usbnutshell/usb7.htm#PIC16F876Example",1,0,0],
["USB 1.1 Integrated Circuits","/usb/usbhard.htm",1,0,0],
["USB 2.0 Integrated Circuits","/usb/usbhard2.htm",1,0,0],
["USB with the simplicity of RS-232","/usb/ftdi.htm",1,0,0],
["On-The-Go Supplement - Point-to-Point Connectivity for USB.","/usb/otghost.htm",1,0,0],
["ISP1161 Host Controller for Embedded Systems","/usb/otghost.htm",1,0,0],
["PDIUSBD11 USB Interface","/usb/pdiusbd11.pdf",1,0,0],
["Win 2000/XP Driver for DeVaSys USBLPT-PD11 USB Boards","usb/usblptpd11.htm",1,0,0],
["USB Driver for the Cypress USB Starter Kit","/usb/cypress.htm",1,0,0],
["Links","",1,0,1]
]

HM_Array1_17 = [
[],
["USB-IF Developers Discussion Forum","http://www.usb.org/forums/developers/webboard.html",1,0,0],
["Universal Serial Bus Home Page (www.usb.org)","http://www.usb.org",1,0,0],
["Universal Serial Bus Device Class Specs","http://www.usb.org/developers/devclass.html",1,0,0],
["USB Central / USB Complete (Jan Axelson)","http://www.lvr.com/usb.htm",1,0,0],
["USB by Example (John Hyde)","http://www.USB-By-Example.com",1,0,0],
["DeVaSys (USB I2CIO and USBLPT-PD11)","http://www.devasys.com",1,0,0],
["Universal Serial Bus Technology (Microsoft)","http://www.microsoft.com/hwdev/usb/",1,0,0],
["POS USB Driver - Emulates COM Driver (Microsoft)","http://www.eu.microsoft.com/hwdev/usb/posusb.htm",1,0,0],
["USBSimm J.Gordon Electronic Design","http://www.jged.com/web_pages/usbsimm.html",1,0,0],
["EzUSB2131 Loader for Linux","http://ezusb2131.sourceforge.net",1,0,0],
["USBMan - The Webs #1 USB Help Source","http://www.usbman.com",1,0,0],
["UHCI: Universal Host Controller Interface Spec","http://developer.intel.com/design/USB/UHCI11D.htm",1,0,0],
["OHCI: Open Host Controller Interface Spec","http://www.compaq.com/productinfo/development/openhci.html",1,0,0],
["EHCI: Enhanced Host Controller Interface Spec","http://developer.intel.com/technology/usb/ehcispec.htm",1,0,0],
["USB On-The-Go Supplement (www.usb.org)","http://www.usb.org/developers/onthego/",1,0,0]
]

<!-- Embedded Linux --> 
HM_Array2 = [
[300,
"mouse_x_position",
"mouse_y_position"],
["Setting up the Development Environment","/uClinux/uClinux.htm",1,0,0],
["Understanding the Build Tools","/uClinux/builduC.htm",1,0,0],
["Building gcc-2.95.3 m68k-elf for uClinux","/uClinux/gcc-2.95.3.pdf",1,0,0],
["BFLT Binary Flat Format","/uClinux/bflt.htm",1,0,0],
["Links","",1,0,1]
]

HM_Array2_5 = [
[400],
["uClinux - A Version of Embedded Linux","http://www.uclinux.org",1,0,0],
["The uClinux Directory","http://home.at/uclinux/",1,0,0],
["Axis Embedded Linux (eLinux) & ETRAX Processors","http://www.developer.axis.com/",1,0,0],
["openhardware.net (Tom Walsh)","http://www.openhardware.net/",1,0,0],
["PicoWeb - A $25 Web Server using an ATMEL Microcontroller","http://www.picoweb.net/",1,0,0],
["Embedded Ethernet - Crystal Lan CS8900 Controller","http://www.embeddedethernet.com/",1,0,0],
["CS8900A CrystalLAN Ethernet Controller (Cirrus Logic)","http://www.cirrus.com/products/overviews/cs8900a.html",1,0,0],
["Netburner - Embeded Ethernet Controllers","http://www.netburner.com/",1,0,0],
["S-7600A TCP/IP Network Protocol Stack LSI","http://www.seiko-usa-ecd.com/intcir/html/assp/s7600a.html",1,0,0],
["Small Web Server PIC16F84 S-7600A TCP/IP Hardware Stack","http://www.mycal.net/wsweb/",1,0,0],
["iReady.org developers' website","http://www.iready.org/",1,0,0]
]

<!-- Legacy Ports --> 
HM_Array3 = [
[300,
"mouse_x_position",
"mouse_y_position"],
["Standard Parallel Port (SPP)","/spp/parallel.htm",1,0,0],
["Enhanced Parallel Port (EPP)","/epp/epp.htm",1,0,0],
["Extended Capabilities Parallel Port (ECP)","/ecp/ecp.htm",1,0,0],
["Parallel Port Debug Tool","/pardebug/pdebug.htm",1,0,0],
["Parallel Port LCD Interface Example","/parlcd/parlcd.htm",1,0,0],
["RS-232 Hardware & Software Registers","/serial/serial.htm",1,0,0],
["RS-232 Low Level Programming & External Hardware","/serial/serial1.htm",1,0,0],
["Using Interrupts (PC)","/interrupts/interupt.htm",1,0,0],
["Links","",1,0,1]
]

HM_Array3_9 = [
[],
["Portmon for Windows NT/9x (System Internals)","http://www.sysinternals.com/ntw2k/freeware/portmon.shtml",1,0,0],
["Parallel Port Central (Jan Axelson)","http://www.lvr.com/parport.htm",1,0,0],
["PC Parallel Port Mini-FAQ (Kris Heidenstrom)","http://home.clear.net.nz/pages/kheidens/ppmfaq/khppmfaq.htm",1,0,0],
["LPTCAP Parallel Print Data Capture System (Kris Heidenstrom)","http://home.clear.net.nz/pages/kheidens/lptcap/lptcap.htm",1,0,0],
["Serial Port Central / Serial Port Complete (Jan Axelson)","http://www.lvr.com/serport.htm",1,0,0],
["Serial Communications in Win32 (Microsoft)","http://msdn.microsoft.com/library/techart/msdn_serial.htm",1,0,0],
["Windows Serial API And Devices with C++ Builder","http://www.temporaldoorway.com/programming/cbuilder/windowsapi/index.htm",1,0,0],
["Sample Windows Terminal Program with Source for Borland C++ Builder","http://www.traverse.net/people/poinsett/bcbcomm.html",1,0,0]
]

<!-- Device Drivers --> 
HM_Array4 = [
[300,
"mouse_x_position",
"mouse_y_position"],
["PortTalk - A Windows NT I/O Port Device Driver","/porttalk/porttalk.htm",1,0,0],
["USB Driver for the Cypress USB Starter Kit","/usb/cypress.htm",1,0,0],
["Device Driver Fiddler (tools)","/dddtools/dddtools.htm",1,0,0],
["Windows NT Device Driver Installer (tools)","/dddtools/dddtools.htm",1,0,0],
["Device Driver Remover Win9x (tools)","/dddtools/dddtools.htm",1,0,0],
["Links","",1,0,1]
]

HM_Array4_6 = [
[],
["System Internals","http://www.sysinternals.com",1,0,0],
["Microsoft Windows Driver Development Kits","http://www.microsoft.com/ddk/",1,0,0]
]

<!-- Misc --> 
HM_Array5 = [
[300,
"mouse_x_position",
"mouse_y_position"],
["CMOS Digital Image Sensors and Lenses","/imaging/camera.htm",1,0,0],
["Interfacing the AT Keyboard","/keyboard/keybrd.htm",1,0,0],
["How does the Microchip ICD Work?","/pic/icd.htm",1,0,0],
["Links","",1,0,1]
]

HM_Array5_4 = [
[],
["Circuit Cellar (Magazine)","http://www.circuitcellar.com",1,0,0],
["Epanorama.Net - Electronic's Links","http://www.us-epanorama.net",1,0,0],
["Electronics Index","http://www.weisd.com/store/links/themeindex.html",1,0,0],
["IrDA Specifications (www.irda.org)","http://www.irda.org/standards/specifications.asp",1,0,0],
["PCI Special Interest Group (www.pcisig.com)","http://www.pcisig.com",1,0,0],
["Pic Micro Web Board (Hosted by Microchip)","http://www.microchip.com/webboard/wbpx.dll/~picmicro",1,0,0],
["Pic DevTools Web Board (Hosted by Microchip)","http://www.microchip.com/webboard/wbpx.dll/~devtools",1,0,0],
["PICuWEB - Program PIC micros with C","http://www.workingtechnologies.com/htpic/",1,0,0],
["Warp-13 MPLAB Compatible PIC Programmer","http://users.pipeline.com.au/newfound/",1,0,0],
["AVR Freaks","http://www.avrfreaks.net",1,0,0]
]

if(HM_IsMenu) { document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='/menu/HM_Script"+ HM_BrowserString +".js' TYPE='text/javascript'><\/SCR" + "IPT>"); }

document.write("<BR><CENTER><TABLE BOARDER=0 WIDTH='95%'><TR><TD WIDTH='25%'><CENTER><a href='http://www.beyondlogic.org'><img src='/beyondsmall.gif' alt='Interfacing the PC / Beyond Logic' border=0></a></CENTER></TD><TD width='50%'><CENTER>");

var a=b=c=d=e=h=i=j=l=n=p=s=t=u=v=w=x=y=z=dc='';
var id=o=k=f=0;  var jar=new Date(); var f=jar.getSeconds() * jar.getMinutes();
dc=document;  n=navigator;  v=parseFloat(n.appVersion);  e=escape(dc.referrer);
dc.cookie='mc=y'; j=(n.javaEnabled()? 'Y':'N'); c=(dc.cookie.length>0?'Y':'N');
if(v>=4){x=screen; } if(n.appName.indexOf('Mic')>=0) {o=1; } if(v>=4){ id=4560;
if(o==1){s=x.colorDepth}w=x.width;h=x.height;}x='|';p=w+x+h+x+s+'||||'+j+x+c+x;
u='ht'+'tp://media.fastclick.net/w'; c=' alt="Click"></a>'; x='/get.media?t=n';
l=' width=468 height=60 border=0 ';t=l+'marginheight=0 marginwidth=';b='&sid=';
i=u+x+b+id+'&m=1&f=a&v=1.2&c='+f+'&j='+p+'&r='+e;d='ameborder=0 scrolling=no>';
u = '<a  hr'+'ef="'+u+'/cli'+'ck.here?sid='+id+'&m=1&c='+f+'"  target="_blank">';
dc.writeln('<ifr'+'ame src="'+i+'&d=f"'+t+'0 hspace=0 vspace=0 fr'+d);if(o!=1){
dc.writeln(u+'<i'+'mg sr'+'c="'+i+'&d=n"'+l+c);}dc.writeln('</iframe>'); 

var doc=document;  var url=escape(doc.location.href); var date_ob=new Date();
doc.cookie='h2=o; path=/;';var bust=date_ob.getSeconds();
if(doc.cookie.indexOf('e=llo') <= 0 && doc.cookie.indexOf('2=o') > 0){
doc.write('<scr'+'ipt language="javascript" src="http://media.fastclick.net');
doc.write('/w/pop.cgi?sid=4560&m=2&v=1.6&u='+url+'&c='+bust+'"></scr'+'ipt>');
doc.cookie='he=llo; path=/;';} 

document.write("</CENTER></TD><TD ALIGN=RIGHT VALIGN=CENTER><BR><FONT FACE=ARIAL>");

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
d = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
m = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
today = new Date();
day = today.getDate();
year = today.getYear();
if (year < 2000)    // Y2K Fix, Isaac Powell
year = year + 1900; // http://onyx.idbsu.edu/~ipowell
end = "th";
if (day==1 || day==21 || day==31) end="st";
if (day==2 || day==22) end="nd";
if (day==3 || day==23) end="rd";
day+=end;
document.write("<FONT SIZE=-1>"+d[today.getDay()]+", "+m[today.getMonth()]+" ");
document.write(day+", " + year);
document.write("</FONT><BR></TD></TR></TABLE></CENTER>");

document.write("<table width=100% border=1 cellspacing=0 cellpadding=0 frame=Below><tr><td align=center BGCOLOR=BLUE nowrap>");
document.write("<FONT FACE=ARIAL COLOR=WHITE><B><CENTER><A ID='TITLEBLOCK' HREF='/index.htm#USB' onMouseOver=HM_f_PopUp('elMenu1',event) onMouseOut=HM_f_PopDown('elMenu1')>Universal Serial Bus</a>&nbsp;<img src='/menu/HM_More_white_down.gif'></td><td align='center' BGCOLOR=BLUE nowrap>");
document.write("<FONT FACE=ARIAL COLOR=WHITE><B><CENTER><A ID='TITLEBLOCK' HREF='/index.htm#uClinux' onMouseOver=HM_f_PopUp('elMenu2',event) onMouseOut=HM_f_PopDown('elMenu2')>Embedded Linux</a>&nbsp;<img src='/menu/HM_More_white_down.gif'></td><td align='center' BGCOLOR=BLUE nowrap>");
document.write("<FONT FACE=ARIAL COLOR=WHITE><B><CENTER><A ID='TITLEBLOCK' HREF='/index.htm#Legacy' onMouseOver=HM_f_PopUp('elMenu3',event) onMouseOut=HM_f_PopDown('elMenu3')>Legacy Ports</a>&nbsp;<img src='/menu/HM_More_white_down.gif'></td><td align='center' BGCOLOR=BLUE nowrap>");
document.write("<FONT FACE=ARIAL COLOR=WHITE><B><CENTER><A ID='TITLEBLOCK' HREF='/index.htm#DeviceDrivers' onMouseOver=HM_f_PopUp('elMenu4',event) onMouseOut=HM_f_PopDown('elMenu4')>Device Drivers</a>&nbsp;<img src='/menu/HM_More_white_down.gif'></td><td align='center' BGCOLOR=BLUE nowrap>");
document.write("<FONT FACE=ARIAL COLOR=WHITE><B><CENTER><A ID='TITLEBLOCK' HREF='/index.htm#Misc' onMouseOver=HM_f_PopUp('elMenu5',event) onMouseOut=HM_f_PopDown('elMenu5')>Miscellaneous</a>&nbsp;<img src='/menu/HM_More_white_down.gif'></td>");
document.write("</tr></TABLE><BR>");

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -