Embedded PDF hidden in Internet Explorer


Author Message
Elting

Posted: 2/20/2011
Quote message 

<p>I&#39;m a satisfied user of Artisteer 2.6 and have already delivered more than 10 Joomla websites with Artisteer
templates.</p>
<p>In the latest template we want to show PDF-documents embedded in an article. It works very fine, both manually and
with the &#39;Enbed PDF&#39; plugin - exept for one thing: The document is hidden behind a grey box when viewing in Internet
Explorer (7+8/standards + quirks). When we click the Joomla print-button the pdf-document is viewable in IE!</p>
<p>After some hours of testing and debugging, I have found this:</p>
<p><br />
1) In the html there this div is causing the trouble: <br />
&lt;div class=&quot;art-layout-cell art-content&quot;&gt;<br />
(...)<br />
(pdf document)<br />
(...)<br />
&lt;/div&gt;<br />
<br />
2) When renaming to <br />
&lt;div class=&quot;art-layout-cellX art-content&quot;&gt;<br />
the pdf-document becomes visible.</p>
<p>3) If the Javascript &#39;script.js&#39; is deleted, the problem goes away.</p>
<p>4) In this script the function artLayoutIESetup() is altering (in line 322) the html if browser is IE with this
instruction:</p>
<p>c.push(r_ch);</p>
<p>When I rem ( // c.push(r_ch); ) this line, the problem goes away. And I haven&#39;t seen news problems after disabling
this line.</p>
<p>If support reads this: Any comments on how to fix it without altering the script?</p>
<p>Otherwise: Thanks for at god product.</p>