First off... I don't really want to use iframes but I don't think I have a choice in this situation.
I'm integrating some help docs into an already built system. The easiest thing for me to let other people write the help is to provide them with a mediawiki with a custom style, then to integrate this into the system I wanted to put a direct link to the mediawiki in a help tab.
The problem is, my mediawiki appears to block iframes from loading it (maybe this is a default setting) but I was wondering how to turn it off. I know my code is fine as it loads other sites!
Also can you do what I'm attempting to do with a div tag?
Thanks
The wiki doesn't normally allow you to do it, but there is a workaround:
To display the wiki in an iframe, you have to find the file "mediawiki-1.xx \ skins \ common \ wikibits.js "and comment out these two lines:
/ / A-trap us from framesets
if (window.top! = window)
window.top.location = window.location;
This is the code that doesn't allow the wiki to show. Seen in here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With