Thu, 2 May 2024


Category: Other


How to create a VML scale?

<html> <head> <meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\"> <title></title> <xml:namespace prefix=\"v\" /> <style> v\\:* {behavior=url(#default#VML)} o\\:* {behavior:url(#default#VML);} .scaletd{font-family:verdana;font-size:7pt;color:white} </style> <script> var vml_scale_1=\'<v:shape fillcolor=#ffffff strokecolor=#ffffff style=\"position:relative;left:-1;width:100;height:7\" coordsize=\"100,100\" path = \"m 0,0 l 0,-80 0,0 10,0 10,-55 10,0 20,0 20,-55 ...
Fri, 18 March 2022

JavaScript function which renders a VML grid

Very useful when you wish to place a grid behind your VML chart graphics. RenderGrid(gridWidth,gridHeight,hLines,vLines) gridWidth - width of the gridht gridHeight - height of the gridth hLines - number of horizontal lines vLines - ...
Tue, 1 February 2022

How to draw a rectangle with a linear sigma fill?

Copy and paste this code and look at the <v:fill tag: <HTML xmlns:v=\"urn:schemas-microsoft-com:vml\" xmlns:o=\"urn:schemas-microsoft-com:office:office\"> <HEAD> <STYLE> v\\:* { behavior: url(#default#VML);} o\\:* { behavior: url(#default#VML);} </STYLE> <TITLE>VML Sample</TITLE> </HEAD> <BODY bgcolor=#eeeeee> <v:rect coordsize=\"21600,21600\" style=\'width:720pt;height:150pt\' fillcolor=#446674> <v:fill method=\"linear sigma\" angle=\"45\" ...
Sat, 22 January 2022

What is Vector Markup Language (VML)?

Vector Markup Language (VML) is an XML-based exchange, editing, and delivery format for high-quality vector graphics on the Web. VML is supported by the most of the Microsoft\'s products ...
Sat, 2 January 2021

How to disable the listing of a directory content using a .htaccess file?

To disable the directories listing on your website is an important step if you would like to make your website more secure and less vulnerable to hacker attacks. Allowing the ...
Wed, 30 September 2020

How to create a VML gradient background for a web page?

Try the following code: <html> <meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\"> <xml:namespace prefix=\"v\"/> <style> v\\:* {behavior=url(#default#VML)} o\\:* {behavior:url(#default#VML);} </style> </head> <body> <v:background fillcolor=\"#224452\"> <v:fill type=\"gradient\"/> </v:background> </body> </html>
Fri, 4 September 2020

How to create a basic VML rectangle with gradient fill?

<v:rect style=\'position:absolute;top:28;left:0;width:500;height:20\' ><v:fill Type=\'Gradient\' Angle=\'0\' Color=\'#000000\' Color2=\'#00a096\' Focus=\'30%\' /><o:extrusion on=\'t\' Skewamt=\'2%\' /> </v:rect>
Tue, 14 July 2020

I am trying to render some VML graphics but nothing shows up, why?

This situation could happen if for example you have such a page: <html> <head> </head> <body> <v:line from='50,0' to='480,0' ></v:line> </body> </html> and it's true, in this case you'll see just a ...
Thu, 16 April 2020



See All Scripts




Subscribe for our newsletter

Receive the latest blog posts direct in your mailbox