scripted SVG inside (embed or object) inside HTML inside iframe inside HTML 
inside Moodle

Perhaps you will believe that I had a reason to try the above thing; perhaps 
not:
I was explaining about the use of embed and object as a vehicle for HTML <-> 
SVG scripting for a course given in Moodle. I wanted to display a working 
example inline in the other HTML, so I used an iframe (which is what I just 
naturally tend to use for such things).

http://srufaculty.sru.edu/david.dailey/W3CCourse/week4/SVGinHTML.html

All went well until I put it into Moodle. Has anyone else had experiences with 
SVG in Moodle? Asking the Moodle folks If they had ways of making SVG work was 
received like speaking Uighur in an Aztec village.

Anyhow, the curious and interesting thing, is that for IE+ASV, the <object> 
example worked but the <embed> example didn't! A reversal of the conventional 
finding on this subject! So, now after umpty-seven years of having to use 
<embed> to do complete round-trip scripting of HTML and SVG I have discovered a 
(nother)* way of getting object to work. Just as IE+ASV is preparing to 
disappear from the landscape, another solution to a perplexing problem arises!

Cheers
David


*There is also
<object id="E" type="image/svg+xml" data="ovals.svg" width="320" height="240">
 <param name="src" value="ovals.svg">
</object>

See http://www.w3.org/Graphics/SVG/IG/resources/svgprimer.html#object


[Non-text portions of this message have been removed]



------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to