POV-Ray : Newsgroups : povray.off-topic : Something silly Server Time
5 Sep 2024 19:24:05 EDT (-0400)
  Something silly (Message 1 to 5 of 5)  
From: Invisible
Subject: Something silly
Date: 16 Jun 2009 06:44:45
Message: <4a37779d$1@news.povray.org>
Well, this is pretty silly...


Post a reply to this message


Attachments:
Download 'us-ascii' (2 KB)

From: Invisible
Subject: Re: Something silly
Date: 16 Jun 2009 07:45:10
Message: <4a3785c6$1@news.povray.org>
Invisible wrote:
> Well, this is pretty silly...

And now I'm wondering... can you insert SVG directly into an HTML 
document? Can you use JavaScript to programmatically generate it? Hmm...


Post a reply to this message

From: Jim Henderson
Subject: Re: Something silly
Date: 16 Jun 2009 14:32:08
Message: <4a37e528$1@news.povray.org>
On Tue, 16 Jun 2009 12:45:10 +0100, Invisible wrote:

> Invisible wrote:
>> Well, this is pretty silly...
> 
> And now I'm wondering... can you insert SVG directly into an HTML
> document? Can you use JavaScript to programmatically generate it? Hmm...

Some browsers apparently do support SVG natively.  ISTR that Firefox 
does...

Jim


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Something silly
Date: 18 Jun 2009 13:26:37
Message: <4a3a78cd@news.povray.org>
Invisible wrote:
> Invisible wrote:
>> Well, this is pretty silly...
> 
> And now I'm wondering... can you insert SVG directly into an HTML
> document?

No, only in an <object> tag referencing an external URL with the SVG.

However, in XHTML you can just put a <svg> tag with the appropriate
namespace in the middle of the document.

https://developer.mozilla.org/presentations/xtech2005/svg-canvas/SVGDemo.xml

> Can you use JavaScript to programmatically generate it? Hmm... 

Yes: document.createElementNS("http://www.w3.org/2000/svg", "svg")

SVG has its own DOM, but I don't know if any browser supports it:
http://www.w3.org/TR/SVG/svgdom.html


Post a reply to this message

From: Darren New
Subject: Re: Something silly
Date: 18 Jun 2009 15:34:28
Message: <4a3a96c4$1@news.povray.org>
Nicolas Alvarez wrote:
> SVG has its own DOM, but I don't know if any browser supports it:

That's one of the cool things about W3C standards. They make up all these 
"standards" that absolutely nobody supports at all, and then wonder why 
they're unworkable.

-- 
   Darren New, San Diego CA, USA (PST)
   Insanity is a small city on the western
   border of the State of Mind.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.