GithubHelp home page GithubHelp logo

Does not work in ie8 about hinclude HOT 4 CLOSED

ZoRDoK avatar ZoRDoK commented on August 11, 2024
Does not work in ie8

from hinclude.

Comments (4)

ZoRDoK avatar ZoRDoK commented on August 11, 2024

I tested this:

<!DOCTYPE html>
<html>
<head>
        <script src="/js/hinclude.js" type="text/javascript"></script>
    </head>
<body>
    <hx:include src="/hincludesource/"></hx:include>
</body>
</html>

and hincludesource:

<span>123</span>

Work in chrome, don't work in IE8

from hinclude.

acasademont avatar acasademont commented on August 11, 2024

I can confirm the issue also with this minimal html, i hate IE!

from hinclude.

s7ntech avatar s7ntech commented on August 11, 2024

this solution has only adapted the code hinclude in order to make it work, are not carried out checks and corrections on the code that comes included, if this is done using innerHTML of objects that IE does not recupra the property, the problem persists. .
we say that the writer would be the javascript code to verify the compaibilita with IE before continuing with the inclusion ..

if this is not your case, you may post the code you used?

from hinclude.

acasademont avatar acasademont commented on August 11, 2024

The solution is in fact much simpler: RTFM

As the manual says:

Now, in each page where you want to use HInclude, add a namespace declaration and a script tag to the top
<html xmlns:hx="http://purl.org/NET/hinclude">

Works like a charm

from hinclude.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.