vml

How to implement a book preview (2 page spread) without using Flash?

I'm looking into a solution for work, where you have a two page spread of the book to preview. Either side of this, you can hover in the corner to create a pseudo-flip and then click the mouse button to actually turn the page. I know there is many Flash solutions out there, but in this case we cannot use it... So we are looking for a pos...

Is it possible to convert text to shape in VML /canvas/SVG ?

Hello, I need to display a text in 3D using vml/canvas/svg and do some transformation to the shape of the text like the effect of Ctrl+T in photoshop, even align a line of text to a curve. For example, transform a normal text to a rotated, trapezoid/quadrilateral shape. So, is there a way to convert text to shape first? The only thi...

Gradient transparency of object in RaphaelJS

I'm trying to get a rectangle partly transparent where the left part is opaque while the right part is more transparent if you go into that direction. This works in Firefox, Chrome but not in Internet Explorer 7 or IE8. In IE all rectangles are displayed with the same transparent gradient. function drawTest(y, pct) { var recttest =...

VML CPU spiking issues

I'm dynamically creating some complex polygon VML in internet explorer 8 using javascript to overlay shapes (parcels, streets, etc) over some "satellite" GIS images. I don't have any mousemove events registered on any part of the vml layer, nor the rest of the page, however when I move my mouse around over the drawn objects, my iexplore....

Disabling graphic element selection in VML and Internet Explorer

I have a JavaScript application that lets users move shapes around a drawing area, and I happen to be using the Google Closure library. In FF/Safari all is good. In IE, as graphic elements are moved, they get selected by the browser (both the moving element and other elements), showing colored dotted background around some elements in un...

add VML elements (images) with javascript

hi I've been trying to add VML image elements using javascript. now here is what I'm using to generate these images: function add_tools() { var elemm = document.createElement('rvml:image'); elemm.setAttribute('src', 'pic.png'); elemm.setAttribute('id', 'gogo'); elemm.setAttribute('class', 'rvml'); document.body.appendChild(elemm...

How can I draw an image from a pixel-by-pixel color array?

Hi, Is there any way to draw an image from a color array using VML? I have the array of color codes for every pixel in a compressed order. I want to render this with VML using a method like putImageData() in canvas. ...

Emulate IE7 for IE8 but not for IE9 using "X-UA-Compatible"....

I have a website depending on vector drawing, for internet explorer i'm using VML and for other browsers i'm using SVG. IE8 however, doesn't have support for neither without falling back to IE7-mode which has VML. Therefore i'm including <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />. The problem (well, actually a good t...

Save VML and CSS markup

I am using DD_roundies to generate rounded corners in Internet Explorer. The pages that have the rounded elements are loaded very often and the roundies script has to run many times to round corners and fix pngs. This costs a lot of time. The script produces some VML elements that are placed in the targeted elements, and some CSS that it...

How do I get VML working in standards mode?

I would like to be able to use vml objects on a page rendering in standards mode rather than quirks mode. I've found fragments of answers scattered around but can't figure it out. Raphael pulls it off somehow but I can't reverse it to figure out what's happening. Any basic working example would be great. ...

My website keeps crashing IE, can't debug.

I have a website that suddenly started to crash internet explorer. The website loads and starts executing javascript but somewhere in there the machinery explodes. I don't even get a script error, it just crashes. I've tried to manually step through every single line of js with the built in debugger but then of course the problem doesn'...

VML and opacity problem in raphael

Hi everyone, I'm working on a raphael based script that can rotate, resize, flip and flop an image. I've faced strange problem in IE: when the image with opacity is rotated on some angle and then is applied by matrix to perform flip, there are black areas on it. Image is rotated and flipped: http://cl.ly/12067d913b6ef423ae59 See black...