Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- swfobject.addDomLoadEvent(detectPlayer);
- function detectPlayer() {
- var playerVersion = swfobject.getFlashPlayerVersion();
- if (playerVersion.major == 0) {
- $(".johny_talks_in .johny_h").css( { "opacity" : "0", } );
- $(".johny_talks_in .johny_p").html('Игра требует флэш-плеер. <a href="http://get.adobe.com/ru/flashplayer/" target="_blank">Скачать и установить последнюю версию Flash Player</a>');
- $(".a_button.johny_a").hide();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement