Results 1 to 2 of 2

Thread: External Page Javascript problem

  1. #1
    Join Date
    Jun 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default External Page Javascript problem

    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.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread 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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •