Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] IE blocking problem
- From: asureshkumar_1983 at yahoo.co.in (suresh kumar)
- Subject: [Javascript] IE blocking problem
- Date: Fri Jul 28 11:01:32 2006
Hi guys,
I am facing one problem in my project.i tried whole day to solve this problem.but i am not able to solve it.this is my problem
i want to display .ppt file,i am using iframe for displaying.this is my code
oDis=document.getElementById('iedisplayarea');
var picObj = document.createElement('iframe');
picObj.setAttribute('id',"aSlide"); // Give id to it
picObj.setAttribute('style', 'visibility:hidden;');
picObj.setAttribute('scrolling', 'no');
oPic = oDis.appendChild(picObj);
oPic.style.width = '90%';
oPic.style.height = '100%';
oPic.src = "home.ppt";
<div id="iedisplayarea" style="position:absolute;visibility:visible;z-index:2;top:12.5%; left:0; overflow:hidden;width:100%;height:100%;" >
iframe is displaying the .ppt file.but before displaying i am displaying a msg saying "Internet Explorer is blocking to open the file for security reasons.click here to download".when i click the msg its get downloaded and getting displayed.I think its problem from browser setting.but i want to solve this problem programatically.thanks for response
---------------------------------
Here?s a new way to find what you're looking for - Yahoo! Answers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.LaTech.edu/pipermail/javascript/attachments/20060728/770c9ead/attachment.html
- Prev by Date: [Javascript] Resizing browser window
- Next by Date: [Javascript] Resizing browser window
- Previous by thread: [Javascript] Fw: div tag füllen
- Next by thread: [Javascript] Decrement operator, XHTML Strict 1.1 DTD, Internet Explorer 6?
- Index(es):