Questions tagged [vml]

VML, the Vector Markup Language, is a vector image format that is represented by XML. It has been deprecated since SVG was accepted by the W3C, and should be used only for compatibility.

vml
Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

SVG and VML path fill difference

I migrate from VML to SVG. There is a problem with the way path is filled. Here is an example: On the left side is star drawn with VML, and on the right with SVG. Source code for VML (works only in ...
Luka's user avatar
  • 2,979
3 votes
1 answer
4k views

Prevent Word 2010 from saving o:gfxdata base64 or uuencoded VML?

I am working with .docx files containing several drawing canvases with images inserted and some lines and arrows drawn in Word 2010. I am using 2010 format with no compatibility mode. Word inserts ...
Sarah Kemp's user avatar
  • 2,670
0 votes
2 answers
2k views

Raphaeljs get coordinates of scaled path

I have a path to create a shape - eg. an octagon pathdetail="M50,83.33 L83.33,50 L116.66,50 L150,83.33 L150,116.66 L116.66,150 L83.33,150 L50,116.66Z"; paper.path(pathdetail); paper.path(pathdetail)....
Jason's user avatar
  • 143
-3 votes
1 answer
6k views

Free hand drawing using JavaScript [closed]

What solutions other than HTML5 canvas can be used to implement free-hand drawing in JavaScript? I have tried using HTML5 canvas but it did not work out as i was having problem in saving the canvas ...
user1902958's user avatar
1 vote
1 answer
2k views

How to access Raphael fill image in VML

I want to access VML element which stores fill image in VML. I pasted my demo code below. Notice that it will only work when you include raphael.js and jquery.js. <!DOCTYPE html> <html lang="...
Karol's user avatar
  • 7,913
2 votes
1 answer
2k views

How to detect Raphael.js compatibility in client's browser?

What's the simplest, most reliable way to test if a browser / user agent / client supports the Raphael.js library? Raphael uses Javascript to create and control SVG vector graphics, or, if SVG isn't ...
user56reinstatemonica8's user avatar
-3 votes
1 answer
231 views

how to run php code in between html comments

I am setting an email template to work in MS outlook (to show text over background image). This is been done via VML, now the problem is that, it renders the data in between the quotes but my content ...
swapnesh's user avatar
  • 26.6k
1 vote
0 answers
494 views

VML line height. Any equivalent of SVG's dy attribute for text span (v:textpath)?

What's the closest equivalent to dy in VML - the VML attribute that can be used to set the line height (aka line spacing, leading, vertical text offset...) of text elements? Nothing in the official ...
user56reinstatemonica8's user avatar
2 votes
1 answer
981 views

Raphael setting transparent png opacity loses alpha channel

I'm using Raphael 2.1.0. When I animate the opacity of a transparent PNG under IE8, the transparency animates well. ie: 'from' an opacity of 0.0 'to' an opacity of 1.0. After the opacity animation ...
Matt Melton's user avatar
  • 2,583
0 votes
1 answer
498 views

How can I retrieve current X-value in gRaphael linechart hoverColumn function?

Below I've posted some code and comments for making a simple gRaphael linechart with tag hovereffects (the included script files can be found at http://raphaeljs.com and http://g.raphaeljs.com). The ...
Morten's user avatar
  • 35
1 vote
1 answer
254 views

Complex choropleth map for IE8

I'm trying to set up a choropleth map for US counties, either as a layer on a map service (for example, using leaflet) or as a plain SVG/VML figure. The thing is: whereas Chrome or Firefox render ...
Santiago Palladino's user avatar
2 votes
2 answers
705 views

How to make RaphaelJS graph work with fluid layout

Because of IE8, I use RaphaelJS to generate a graph that will be SVG in all modern browsers (e.g. Chrome, FireFox, Safari, IE9+) but will be VML in IE8. This graph is embedded inside a <div>, ...
MLister's user avatar
  • 10.2k
5 votes
1 answer
4k views

Outlook VML, emulate CSS repeat/positioning

For our email templates we are currently using the code below to enable backgrounds in some Outlook versions, however, I've been trying to wrap my head around VML to see if it's possible to emulate ...
Andreas's user avatar
  • 2,261
1 vote
1 answer
256 views

"matrix" attribute of VML not working in IE8

I am trying to add "matrix" attribute in the following example to scale the vml shape. It seems like there is some error in the way i am adding the matrix attribute. Please help. Note : The example ...
Amber's user avatar
  • 1,229
0 votes
1 answer
628 views

Why doesn't Internet Explorer render VML on my web page?

First of all, I know that Microsoft stopped developing VML in 1998. In spite of that, I've inherited a web page with a bunch of VML markup and I'd really like to get it working without rewriting the ...
Vivian River's user avatar
  • 31.8k
2 votes
1 answer
796 views

vml add line into v:group using javascript

I need some help with drawing a vml line-element using Javascript into a vml group-element, which is defined in the HTML-Code. My v:group element, which has other vml elements like v:arc or v:rect...:...
user1786166's user avatar
2 votes
1 answer
515 views

Prevent default click event on VML shape with href

I have a VML shape in which I'm trying to prevent the browser from navigating to the href: <!DOCTYPE html> <html> <head> <style type="text/css"> #a, #b { position: ...
TheCloudlessSky's user avatar
2 votes
0 answers
141 views

MouseEnter event is not firing intermittently while hovering on states in VML map

I have a VML map like this: (A sample of the structure used) <div class="map" jQuery1351170963063="74"> <div class="usmap" jQuery1351170963063="75"> <group class="g vg" style="...
user1774263's user avatar
1 vote
0 answers
183 views

js libraries with fully cross-browser svg manipulation

I have an svg map which I'm looking to add javascript interactions to. In the past I've used RaphaelJS, which worked well. But I'm what alternatives there might be for svg manipulation with js? One ...
kalpaitch's user avatar
  • 5,241
0 votes
1 answer
596 views

Convertion from ESRI Shapefile into OS VectorMap Local GML

I have to create a program for converting ESRI Shapefiles into OS VectorMap Local GMLs. I'm looking for some information for my problem... I tried to use documentation from both sites: ESRI Shapefile ...
Nickon's user avatar
  • 9,948
0 votes
1 answer
643 views

Raphael.js attributes and VML

With Raphael I would like to create a rectangle with an Id attribute like the example below. <rect id="aRect" x="10" y="10" width="50" height="50" r="2" rx="2" ry="2"/> To create the rectangle ...
DeMeNteD's user avatar
  • 385
0 votes
1 answer
677 views

How to adjust contrast, darken/lighten vector graphics using dojox.gfx

I am using dojox.gfx to create and manipulate vector graphics. I need to adjust contrast and apply blur, darken/lighten effect on them? And the browser I need to support are IE 8+. So, I have to ...
Selvaraj M A's user avatar
  • 3,106
2 votes
0 answers
392 views

Pie Chart with d34raphael

I need to draw a pie chart that's works in IE 8, so I'm using d34raphael. currently this is my code, which is modified from a d3 pie chart example https://raw.github.com/mbostock/d3/master/examples/...
Adam Langsner's user avatar
2 votes
1 answer
13k views

Sending email with background image

I try to create an email with an image in a table as background image. I found a part of code that supposedly should work. In most email clients it does work, though in outlook 2010 I see the image, ...
Patrick's user avatar
  • 2,740
0 votes
1 answer
368 views

explain javascript function for detecting vml

This is a function used to detect VML support in browsers. It's part of an html component file for giving border-radius and drop-shadow functionality to older versions of IE. I would like this ...
Jeff Fabiny's user avatar
3 votes
1 answer
13k views

HTML Email Render in Outlook - VML

I have created a HTML email and when viewing in Outlook 2007 I couldn't see some images as they were backgrounds. I have done some hack using VML however it won't let me leave the height value blank ...
user avatar
1 vote
1 answer
312 views

VML throws error- 'Failed' on mouse press

this is a strange one. I have a collection of VML objects created dynamically in javascript. The system I'm using to test is IE6 on Windows XP (SP3) When you press the mouse down on the collection, ...
CodeOwl's user avatar
  • 662
0 votes
1 answer
202 views

What is the structure of VML mouse event object?

I would like to know the structure (properties and methods) of a VML mouse event object. I'm using Raphael, and I want to know the mouse coordinates when an element is hovered. On Firefox and Chrome,...
Fabien Quatravaux's user avatar
0 votes
1 answer
1k views

printing VML in IE8

Here is a very simple VML sample which displays fine on all versions of IE. And it also prints on all versions of IE except IE8. I know that it is possible to make IE8 print VML, but can't find how I ...
zeroin's user avatar
  • 5,965
4 votes
1 answer
3k views

Is there an SVG to VML conversion tool? Offline or Online. (Not on the fly)

I have been hunting high and low for a tool to convert an SVG file into VML which is readable by internet explorer. I have found several 'on the fly' solutions but these are unnecessary as we only ...
gordyr's user avatar
  • 6,158
5 votes
1 answer
1k views

vml clipping mask

I am trying to create a clipping mask in VML that would correspond to clip-path in SVG? Is that possible? Based on numerous, but fairly limited, examples I have tried drawing the shape: <vml:...
Jovan Perovic's user avatar
1 vote
1 answer
3k views

How do I remove a path in raphael that I may want to redraw two seconds later

The code I've pasted below works fine for drawing a line step by step with a timed interval defined. (it uses a few variables not shown here). The problem I'm having is that if I remove the path ...
plebksig's user avatar
  • 537
7 votes
3 answers
9k views

IE9, IE8, SVG, VML and doctypes

I'm working on drawing shapes in my ASP.NET web app. In IE9 and other browsers, I'm doing it with SVG, and it's working great. In IE8 and below, I'm using VML. I'm finding that IE8 does not ...
Tom Hamming's user avatar
  • 10.8k
4 votes
1 answer
2k views

raphael.js IE8 transparent stroke

I created a sunny sky with two objects following a random transparent path with raphaël.js: http://jsfiddle.net/vcX4U/1/ This works fine in all proper browsers: Only IE8 - which I have to support ...
AvL's user avatar
  • 3,083
1 vote
1 answer
1k views

Raphaël.js: How to scale a circle's fill image to fit the circle?

I'm trying to use Raphael's VML functionality for generating a circle with an image (fix for IE8 that lacks border-radius). My problem is that if I use circle.attr({fill: 'url(image.jpg)'}); and my ...
tirithen's user avatar
  • 3,289
0 votes
2 answers
358 views

jquery.clone() attrs of elements

I create vml element v:shape, add styles and attributes, and then append it. var shape = document.createElement("v:shape"); //some attrs shape.setAttribute("coordorigin", "0 0"); shape.setAttribute("...
SakerONE's user avatar
  • 141
4 votes
1 answer
2k views

RaphaelJS huge slowdowns in IE8 when editing attr() and text() (fill, stroke, weight) of elements

I'm debugging some performance issues in IE8 with RaphaelJS. We're building graphs from ~1000 elements and text nodes in raphael and in particular one graph is causing us problems when it's rendering. ...
JamesH's user avatar
  • 175
0 votes
1 answer
324 views

Validate VML in HTML emails using C#

I'm looking for a C# library or Web Service that will parse an HTML email that contains VML and report any syntax errors. Does anyone know if such a beast exists? Thanks
Tekhoi's user avatar
  • 127
1 vote
1 answer
2k views

VML to PNG/PDF (jsp)

I have used raphael js for drwaing my flowchart in internet explorer 8. Now I want to export my drawing as image file. I found some answer but still confused what to do. Can anyone help me regarding ...
Bayzid's user avatar
  • 95
2 votes
2 answers
930 views

Draggable element in VML get stuck when size change (height, width) in IE 8

I'm having issue with VML (which I use as fallback for svg) I use jQuery UI draggable to let user be able to move an element around. The problem occurs when I resize the image (which is a v:image) by ...
Simon Boudrias's user avatar
0 votes
1 answer
304 views

SVG to VML or bitmap at loadtime

Maybe this question doesn't have a simple answer. I would like to use SVG for most of the graphics on my website but of course there will be the usual (IE) compatibility problem. So I was wondering, ...
Bakaburg's user avatar
  • 3,221
0 votes
1 answer
165 views

Stop VML being parsed as PHP

With the introduction of IE8 the following 2 lines of code were required in the head of an html document for VML to work. <?import namespace="v" implementation="#default#VML" ?> <style> v\...
martin's user avatar
  • 393
2 votes
1 answer
4k views

Google visualization chart ie font-family not respected

As you can see I attempted to set the font-family, and I've attempted it in every way mentioned in the documentation: http://code.google.com/apis/chart/interactive/docs/gallery/piechart.html but in ...
Fresheyeball's user avatar
  • 29.9k
4 votes
2 answers
585 views

How to turn off text AntiAliasing in IE(6/7/8)(VML)

https://i.stack.imgur.com/YZp6L.jpg! I have a map implemented via Raphael JS, which wraps VML and SVG to support cross web browsers drawing. Everything looks good except the font in IE(6/7/8) it ...
Mr.Wang from Next Door's user avatar
0 votes
2 answers
1k views

Custom attributes on RaphaelJS nodes in IE8

I have a script like this which adds a basic rectangle to a paper object in RaphaelJS and then sets some custom attributes onto the rectangle: var furniture = paper .rect(0, 0, 100, 200) .attr({ ...
Dan's user avatar
  • 5,862
-3 votes
2 answers
259 views

Indicators library in svg, vml or canvas

I am working on an application where I need to display color coded indicators. The standard colors will be red/amber/green, but I need to be able to pick any color (e.g. by hex value). The colors are ...
Christophe's user avatar
  • 27.8k
5 votes
1 answer
1k views

Is there a way to transform a Raphael paper result to PNG/SVG in any browser (including older IEs)?

I've seen a lot of people fighting with this matter, but I can't find a proper solution, nor one that fit my needs. I'm doing some charts with Raphael, and I basically need to get them as PNG (for ...
Alejandro Rizzo's user avatar
3 votes
1 answer
434 views

Using @font-face with VML (via excanvas)

I've been playing around with canvas & excanvas to try and get some text effects working nicely in IE (as its shadow filters are rendered horribly) and it all works except that it's not applying ...
DEfusion's user avatar
  • 5,553
5 votes
3 answers
3k views

Is it possible to set fill and stroke colors and opacity on VML paths using CSS?

For example, I'd like to do something like the following: .myRedPath { fillcolor: red; } ... <v:path class="myRedPath" v="..."/> to fill my paths with a red color. Is this possible with ...
Josh Knauer's user avatar
  • 1,754
2 votes
1 answer
2k views

Get center of SVG path and VML

I'm trying out different things with: https://jvectormap.com/ I'm very much interested in getting the center of the different countries (so I can place a little marker on the country). But I'm kinda ...
user809829's user avatar
  • 1,189