PDA

View Full Version : Facebox loading code problem



Foundas
10-05-2009, 10:57 AM
1) Script Title: Facebox image and content viewer (v 1.1)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/facebox/index.htm

3) Describe problem:

Hi, in the <div> that holds the content to be shown with a facebox, i have the following code:

<script type="text/javascript" src="http://www.templatehelp.com/codes/pr_interface.php?cols=2&amp;rows=2&amp;sadult=0&amp;sp=5&amp;bgcolor=%23FFFFFF&amp;type=0&amp;category=99999&amp;pr_code=9myqt3el5s6AsQm8550BT00E5b6rbY"></script>

The problem is that in IE7 it works, but not in FF. Firefox is trying to load the code in the same window and then in freezes.

I also tried to have the above code in an external file and then open it via facebox. In this case, IE7 does not show anything inside the facebox, and FF is trying to load it in the same window and freezes again

Can you please advice how to solve this?? Or is there any other way to have a popup and show the result of the above code?

Thanks in advance

Foundas

Foundas
10-05-2009, 01:13 PM
i made it work putting the code in <iframe> tags.

Do you recommend alternative method as iframes are not supported anymore?