The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Why external iframe works but not JS?
I am trying to display latest threads externally, but it is not working. The javascript code that is. I installed the mod latest threads in marque which has the iframe. The iframe works perfect but not the javascript. I put both codes in one page and only the iframe works.
What can be wrong? I have javascript enabled for external data in admin by the way. Here is the code: Code:
<div style="background-color:#000000; color:#ff0000"> ? <script src="http://www.mysite.com/forum/external.php?type=js" type="text/javascript"></script> <script type="text/javascript"> <!-- for (i in threads) { document.writeln(threads[i].title + " (" + threads[i].poster + ")<br />"); } //--> </script></div> <iframe height="20" marginwidth="0" width="100%" scrolling="no" src="http://www.mysite.com//forum/external.php?type=iFrame" frameborder="0" marginheight="0"></iframe> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|