Problem with Amaya

M

marble madness

Hello,

I'm new to Amaya (and new to html page editing too). When I insert SVG
elements in the page, they don't appear when I open the html file with
Firefox or IE. Have I forgotten something ?
 
J

Jonathan N. Little

marble said:
Hello,

I'm new to Amaya (and new to html page editing too). When I insert SVG
elements in the page, they don't appear when I open the html file with
Firefox or IE. Have I forgotten something ?

URL?

BTW SVG won't work in any version of IE
 
N

Nik Coughlin

marble madness said:
Hello,

I'm new to Amaya (and new to html page editing too). When I insert SVG
elements in the page, they don't appear when I open the html file with
Firefox or IE. Have I forgotten something ?

Yeah, don't use Amaya.
 
M

marble madness

Jonathan N. Little a écrit :
URL?

BTW SVG won't work in any version of IE

Thank you for your answer.

Here's the url :
http://www.cijoint.fr/cjlink.php?file=cj200911/cijtUfz0OY.txt

You'll just have to rename this file with .htm instead of .txt

This file was made with Amaya.

If you open this file with Amaya, no problem but firefox and IE8 don't
open it well (no SVG elements).

Moreover, when I rename this file with another extension (.fr instead of
..htm), firefox opens it well.
 
M

marble madness

Nik Coughlin a écrit :
Yeah, don't use Amaya.

Ok but I was looking for a html editor who :
-is free
-allows me to insert svg elements (and MathML elements too)
-is easy to use (with my pupils for example).

Do you have another suggestion ?

Thanks.
 
S

SAZ

marble@madness said:
Nik Coughlin a écrit :

Ok but I was looking for a html editor who :
-is free
-allows me to insert svg elements (and MathML elements too)
-is easy to use (with my pupils for example).

Do you have another suggestion ?

Thanks.

Do you teach HTML? If so, then there is no compelling reason to teach
your students SVG and MathML elements when they are not supported by all
major browsers, specifically IE. As bad as IE may be, it still accounts
for over 60% of the market.

And if you don't teach HTML, then the same holds true - it is not
supported by IE and therefore pointless to utilize.
 
J

Jonathan N. Little

marble said:
Jonathan N. Little a écrit :

Thank you for your answer.

Here's the url :
http://www.cijoint.fr/cjlink.php?file=cj200911/cijtUfz0OY.txt

You'll just have to rename this file with .htm instead of .txt

This file was made with Amaya.

If you open this file with Amaya, no problem but firefox and IE8 don't
open it well (no SVG elements).

Moreover, when I rename this file with another extension (.fr instead of
.htm), firefox opens it well.

Works just fine in FireFox IF served as application/xhtml+xml...just bad
html when served as text/html (Take note to all those in NG who state
XHML is okay as text/html...)

BTW this will not work in IE. You would have to substitute an image for
IE.
 
J

Jonathan N. Little

Jonathan said:
Works just fine in FireFox IF served as application/xhtml+xml...just bad
html when served as text/html (Take note to all those in NG who state
XHML is okay as text/html...)

BTW this will not work in IE. You would have to substitute an image for IE.

The way to get this to work served as text/html is to put the SVG in a
separate file then link as an object with image/svg+xml type. The other
benefit is you can mage an image version of the SVG for IE users...



<object type="image/svg+xml" data="test.svg" width="523" height="300">
<!-- IE will fail on object and load the following GIF -->
<img src="test.gif" width="523" height="300" alt="For IE users" />
</object>
 
J

Jonathan N. Little

SAZ said:
Do you teach HTML? If so, then there is no compelling reason to teach
your students SVG and MathML elements when they are not supported by all
major browsers, specifically IE.

Correction: SVG and MathML is support by major browsers, just not
support by the major browser IE.
 
S

SAZ

Correction: SVG and MathML is support by major browsers, just not
support by the major browser IE.

I rewrote the reply several times, left a few words in there by mistake.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top