August 1999
Intermediate to advanced
1488 pages
72h 53m
English
mimetype.enabledPlugin
The enabledPlugin property of the MimeType object is used to determine which plug-in is configured for a specific MIME type.
Listing 7.392 shows how the enabledPlugin property is used. A for loop is used to output the first three enabledPlugin values.
<html> <head> <title> Using the enabledPlugin property of the MimeType object</title> </head> <body> <script language="javascript"> <!---Hide // loop through and output enabledPlugin values for (i=0; i < 3; i++) { document.write("MimeType enabledPlugin " + i + " : "); document.writeln(navigator.mimeTypes[i].enabledPlugin); document.write("<br>"); ... |
Read now
Unlock full access