|
Тема |
Re: Speshno HELP!!! ... detect player? [re: ..::piks::..] |
|
Автор |
dCL (непознат
) |
|
Публикувано | 16.10.02 16:26 |
|
|
Na4ina koito az znam e sledniq:
Za da proverish dali flash-a e versiq 6,x,x,x ti trqbva FLASH4 :). Pravish HTML i vyv nego
edno flash4e sys script podoben na tozi:
if (eval("$version").substr(4, 1) == "6") {
getURL("have_flash6.html", "_self");
} else {
getURL("dont_have_flash6.html", "_self");
}
stop();
koeto ozna4ava 4e ot stringa version ot poziciq 4 vzimash string s dyljina 1.
$version vryshta slednoto za razli4nite OS-ove:
MAC 6,x,x,x
WIN 6,x,x,x
UNIX 6,x,x,x
primerno. Ta ti vzimash to4no tazi shestica (za UNIX nqma da e 4 a shte e 5) :).
I ako tazi stoinost e "6" otivash na have_flash6.html ako lli ne-
otivash na dont_have_flash6.html
Drug variant ne znam.
|
| |
|
|
|