JavaScript DHTML/Javascript Objects/plugin — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
Admin (обсуждение | вклад) м (1 версия) |
(нет различий)
|
Текущая версия на 10:23, 26 мая 2010
Plugin: description, filename, name
<source lang="html4strict">
<html> <body> <button onclick="alert(navigator.plugins[0].description);">mimetype</button> <button onclick="alert(navigator. plugins[0].filename);">suffixes</button> <button onclick="alert(navigator.plugins[0].name);">type</button> </body> </html>
</source>
"refresh()" Example
<source lang="html4strict">
<head> <script> function function1() {
window.location.href = "http://www.macromedia.ru/shockwave/download/" navigator.plugins.refresh();
} </script> </head> <body><button onclick="function1();">Add new plug-in</button> </body> </html>
</source>