ActiveX Denetim Sorunu

2:25 am Flash Dersleri

İnternet Explorer 6 ve 7 de ActiveX denetim sorunlary ortaya çıkmıştır.
Bu nedenle bir internet sayfasındaki swf dosyaları üzerine mouse ile geldiğimizde “Bu Denetimi Etkinleştirmek ve Kullanmak İçin ARA ÇUBUĞA veya ENTER Tuşuna Basın” Uyarısı Çıkar.

Busorunu Halletmek İçin JavaScript Kodlarından Yararlanacağız.

Swf’nin bulunduğu sayfaya aşağıdaki kodları ekleyin;

<head><script src=”flasharsivi.js”></script></head> <BODY onLoad=”removeOP();”></body>

sonra o sayfanın bulunduğu yere flasharsivi.js bir bir java sayfası oluşturun..
Sayfanızın içine şu kodları yazın;

function removeOP() {
theObjects = document.getElementsByTagName(”object” ) ;
for (var i = 0; i < theObjects.length; i++) {
theObjects.outerHTML = theObjects.outerHTML;
}
}
1 Yorum
  1. serkan :

    Date: Şubat 19, 2008 @ 04:12

    teşekkürler.. bu benim için önemliydi sayenizde öğrenmiş oldum.

Yorum Yaz

Yorum

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.