Re: EMBED and IFRAME in HTA on Vista
- From: "Alex K. Angelopoulos" <aka(at)mvps.org>
- Date: Sat, 24 May 2008 10:00:48 -0400
SharkD,
What plugin are you using for SVG rendering?
"SharkD" <SharkD@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:D7538A49-9B23-4FA9-B860-B668F48E1141@xxxxxxxxxxxxxxxx
Hi!.
I'm having trouble with an HTA file on Vista. I am trying to embed an SVG
file using the EMBED element. All works fine if I set the WMODE attribute of
the EMBED element to "transparent" or "opaque". However, if I omit the WMODE
attribute or set it to "window" (its default value), then the HTA crashes
immediately upon startup. This is an issue for me because the SVG image uses
animation as well as other scripting tricks, and rendering is much, much
slower if the WMODE attribute is set to something other than "window". The
crash also occurs if I choose to embed the image using an IFRAME element
instead of an EMBED. None of the syptoms occur on Windows XP.
Here's an example HTA file. Simply change the URL pointing to
"lightness.svg" so that it points to any other SVG file.
<html>
<head>
<title></title>
<hta:application id="HW2MD_app" applicationname="MissionDude"
version="1.53" border="thick" caption="yes" icon="missiondude.ico"
showintaskbar="yes" singleinstance="yes" windowstate="maximize" scroll="no"
scrollflat="yes" innerborder="no" selection="no" sysmenu="yes"
maximizebutton="yes" minimizebutton="yes" navigable="no" contextmenu="no"
borderstyle="thin"/>
</head>
<body>
<embed type="image/svg+xml" src="lightness.svg"
style="width:720px;height:540px;" wmode="window"/>
<!--
<embed type="image/svg+xml" src="lightness.svg"
style="width:720px;height:540px;" wmode="transparent"/>
-->
<!--
<iframe src="lightness.svg"></iframe>
-->
</body>
</html>
- References:
- EMBED and IFRAME in HTA on Vista
- From: SharkD
- EMBED and IFRAME in HTA on Vista
- Prev by Date: Re: Prompt to overwrite file
- Next by Date: Re: Help with Objet required
- Previous by thread: EMBED and IFRAME in HTA on Vista
- Next by thread: Help with Objet required
- Index(es):
Loading