SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    Drupaler bronze trophy greg.harvey's Avatar
    Join Date
    Jul 2002
    Location
    London, UK
    Posts
    3,258
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Including remote content using JavaScript

    Rather than duplicating a thread again, please have a quick look at this:

    http://www.sitepointforums.com/showt...&postid=549895

    Now you can see what I want to do. Is this possible with JavaScript? Anyone have any ideas?


  2. #2
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What are you trying to get from the included page? Variable data? Server data? HTML?
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  3. #3
    Drupaler bronze trophy greg.harvey's Avatar
    Join Date
    Jul 2002
    Location
    London, UK
    Posts
    3,258
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    At first, straight HTML. It may need to be more complex than that as I develop the idea.

    G

  4. #4
    SitePoint Addict
    Join Date
    May 2000
    Posts
    313
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here is something that is supported by IE only:
    http://www.dynamicdrive.com/dynamici...docsindocs.htm

    May not be much help if you need it to work in NS version browsers.

  5. #5
    Drupaler bronze trophy greg.harvey's Avatar
    Join Date
    Jul 2002
    Location
    London, UK
    Posts
    3,258
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Interesting! I don't think I can afford to ignore Netscape though ....

    Still -- worth knowing about. Thanks.

    G

  6. #6
    SitePoint Addict
    Join Date
    May 2000
    Posts
    313
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Maybe iframes would work. They are supported by IE4+ and NS6+, but not NS4 version browsers. I have not worked with them, but here is a link to a tutorial on the subject.

    http://javascriptkit.com/howto/externalhtml.shtml

  7. #7
    Drupaler bronze trophy greg.harvey's Avatar
    Join Date
    Jul 2002
    Location
    London, UK
    Posts
    3,258
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thought about that. The trouble with iframes is that (I suspect) if someone moves somewhere else in the site then they close their session with the third party server, which could really irritate users as if the session data is lost they'll have to log in again. I'm hoping the SSI approach will negate that problem .....


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
  •