Opening HTML file

3 messages Options
Embed this post
Permalink
Debasish Mondal

Opening HTML file

Reply Threaded More More options
Print post
Permalink
Hello

I m using ExpressionEngine 1.6.7 and I wnt to open a HTMl file though "Shadowbox" by a text link. I have uploaded all the file/folders of unzipped "shadowbox" under "public_html" file and update the page as follows:

<head> section:-

<link rel="stylesheet" type="text/css" href="http://www.mercatornet.com/shadowbox/shadowbox.css">
<script type="text/javascript" src="prototype.js"></script>
<script type="text/javascript" src="http://www.mercatornet.com/shadowbox/shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init();
</script>

<body> section:-

<table width=100%>
<tr>
<td> </td>
<td align="right">Flag as inappropriate....</td>
</tr>
</table>

But, clicking on that link the background appears in black, but the page is not opening/showing, whether when I try to open that page normally without "shadowbox", its opening properly. Pls, help me to fix this problem asap.
Wizzud

Re: Opening HTML file

Reply Threaded More More options
Print post
Permalink
(This post was updated on )
Include at least the iframe player...
Shadowbox.init({players:['iframe']});
...or all of them if you prefer.
Combine literacy with curiosity and a whole world of information opens up to you
Chris

Re: Opening HTML file

Reply Threaded More More options
Print post
Permalink
In reply to this post by Debasish Mondal
I had the same problem,

including all the players seemed to fix it for me.


        <script type="text/javascript">
                Shadowbox.init({
                        language: 'en',
                        players:  ['img', 'html', 'iframe', 'qt', 'wmp', 'swf', 'flv']
    });
        </script>