DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Pulling HTML into an HTML doc from external location

  1. #1
    Join Date
    Nov 2005

    Question Pulling HTML into an HTML doc from external location

    Forgive me if this is too elementary for this forum.

    I post auction listings that consist of simple html. I may have as many as 300 active at one time. Within the html of the particular auction ad, there is a simple left hand navigation with text links to different categories in my online store mainly used for cross promotion. I need to be able to dynamically change the navigation in the existing 300 ads when the categories change.

    I was thinking that I would have a text or html file on my server containing the navigation html so I would only need to change one file and have it dynamically pulled into the auction listing when it is opened.

    I assumed I could accomplish this through javascript in the auction listing. I would need to know where to get the java script. Does anyone have a better idea or need more info?

    This seems like it is a simple problem, but for a hack like me, I don't know where to start to find the answer. What do you suggest I do?

    Thanks for any help.


  2. #2
    Join Date
    Jan 2005
    What's the serverside language involved? HTML includes or php includes would suffice.
    Here's one tutorial on the html type ssi, and the php type is

    $myNav = ob_get_contents();

Similar Threads

  1. Replies: 2
    Last Post: 11-14-2005, 04:35 PM
  2. Replies: 4
    Last Post: 01-11-2002, 05:18 AM
  3. Replies: 0
    Last Post: 01-10-2002, 03:15 PM
  4. Replies: 0
    Last Post: 07-19-2001, 04:38 AM
  5. Replies: 0
    Last Post: 03-23-2001, 04:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center