Web Design Forum: Serve SVG as VML to IE - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Serve SVG as VML to IE Rate Topic: -----

#1 User is offline   Thomas Thomassen 

  • HTTP 503
  • PipPipPipPipPip
  • Group: Members
  • Posts: 2,254
  • Joined: 30-April 07
  • Reputation: 10
  • Gender:Male
  • Location:Trondheim, Norway
  • Experience:Advanced
  • Area of Expertise:Designer/Coder

Posted 07 August 2009 - 07:35 AM

I got a personal project in the brewing where I'm toying with the idea of using SVG for my imagery - making the site truly scalable. Internet Explorer is as usual the hiss-fitting cry-baby - so it requires a special diet of VML.

Question is: is there a way to on-the-fly convert SVG to VML? (Using PHP in the backend here) Or would I just have to save each SVG manually as VML?

If there was a nice way to convert SVG to VML with PHP I could cache the VML on the first time it's requested. Dynamically creating the alternative on demand. That would make it easier for me to maintain as I'd only have to worry about the SVGs.

Does anyone know of any good existing solutions out there?

I found that the Washington Post is using a technique for a widget that illustrates article relationships. http://ajaxian.com/a...ing-svg-and-vml
But I got no further to the SVG-VML technique they used.
0

#2 User is offline   ElanMan 

  • In, out, shake it all about...
  • PipPipPipPipPip
  • View gallery
  • Group: Members
  • Posts: 3,298
  • Joined: 11-March 08
  • Reputation: 54
  • Gender:Male
  • Location:Darlington
  • Experience:Nothing
  • Area of Expertise:Nothing

Posted 09 August 2009 - 09:52 PM

Hey Thomas, as per the article, have you looked at the Raphael js library?
0

#3 User is offline   Thomas Thomassen 

  • HTTP 503
  • PipPipPipPipPip
  • Group: Members
  • Posts: 2,254
  • Joined: 30-April 07
  • Reputation: 10
  • Gender:Male
  • Location:Trondheim, Norway
  • Experience:Advanced
  • Area of Expertise:Designer/Coder

Posted 10 August 2009 - 06:17 AM

I'd prefer a server side solution that doesn't rely on client side scripts.
But thanks for the link.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users