DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Paige Watson Guest

    How do I load an .html file into a <div> as source.


    I need to load an html file into a div tag as source in both browsers (ie
    & ns) is there an easy way. Netscape I know can be done using the style(source--include:url(*.html)
    parameter, but I also need this functionality in IE.

    Any thoughts?

    Thanks in advance
    Paige Watson

  2. #2
    Lior Amar Guest

    Re: How do I load an .html file into a <div> as source.

    in IE there is an easy way to do it that I know of...just load the HTML file
    in a hidden IFrame and then go and get the IFRAMES innerHTML and insert it
    into the DIV


    --
    Lee Amar
    Chief Technology Officer
    www.ostnet.com
    OSTnet OpenSource Technologies Inc
    lior@ostnet.com
    OSTnet develops software and subcontracts much of the work to registered
    developers over the Internet. Members of www.ostnet.com are free to view all
    company projects open for tender (in the Projects section of the Developer
    Home) and can apply to work on these projects. We prequalify all of our
    members to determine their level and areas of expertise. Please feel free to
    sign up at your leisure and write the exams in order to qualify yourself for
    OSTnet projects.


    "Paige Watson" <paige_c_watson@hotmail.com> wrote in message
    news:39e754f9$1@news.devx.com...
    >
    > I need to load an html file into a div tag as source in both browsers (ie
    > & ns) is there an easy way. Netscape I know can be done using the

    style(source--include:url(*.html)
    > parameter, but I also need this functionality in IE.
    >
    > Any thoughts?
    >
    > Thanks in advance
    > Paige Watson




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
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links