I have an issue the Fancybox Ajax.
It works fine in FF, but not in IE7. The popup layout breaks and content didn't load.
You can see it here: http://www.sumsy.com/temp/templatesys/config.php?template=1
Basically, on my php page, it has the following content:
<div id="content">
<a href="config.php?template=1">Template 1</a>
<a href="config.php?template=2">Template 2</a>
</div>
On another page, I call it by using:
<a id="changeTemplate" href="modules/templateList.php">Change Template</a>
Not sure why it is not showing up properly in IE7. If i use iframe (class="iframe") i开发者_JAVA技巧nstead, then it works fine.
Thanks in advanced.
'height' : 'auto',
for ur javascript, remove the comma. it should not be there if it is the last one.
sorry that i did not read the rest of your question. As far as i know, fancybox requires you to specific whether is it a iframe or not. Try something like this
$(".frame_modal_box").fancybox({
'width' : 350,
'autoScale' : true,
'centerOnScroll' : true,
'type' : 'iframe'
});
精彩评论