PDA

View Full Version : External Page Javascript problem



SpceManSpif
06-22-2006, 06:29 PM
I'm using Dynamic Ajax Content script to load external pages into my website. However, I run into a problem when one of the pages has a RSS Feed java script that wont load.

I'm using this script to automaticly load the external page on into a table on my (main page) index file.

<script type="text/javascript">ajaxpage('homepage.htm',
'contentarea') //load "homepage.htm" into "contentarea"
DIV </script>

Here is the 3rd party jave script that I have on the homepage.htm that wont load:

<script language="JavaScript" type="text/javascript"
src="http://www.webpasties.com/pastie.php?mode=scroll&sid=7088&mid=6630"></script>

I did a search on topics but I think all that did was confuse me more from what I read.

Any help would be great. Also I'm pretty new to messing with Javescript.

ddadmin
06-22-2006, 09:08 PM
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

The load external JavaScript feature was only meant to load inline JavaScripts, not another external JavaScript on the external page. A workable approach is to directly embed the contents of the RSS script on the main page, and perhaps just dynamically reveal/hide it when a link is clicked on.