Excellent!  I will try to use this approach when I get to work in a 
few hours...

--- In svg-developers@yahoogroups.com, "Francis Hemsher" 
<[EMAIL PROTECTED]> wrote:
>
> I guess I should provide the svgDownload.html so you can have some 
> idea on how to help your user get this damn thingy loaded:
> 
> <html>
> <body>
> <center>
> <table>
> <tr>
> <td>
> Welcome to the SVG Experience! Adobe's SVG Viewer* will provide 
> crystal clear images that can be zoomed &amp; panned.<p>
> </td>
> </tr>
> <td>
> <b>After the download page is visible:</b><p>
> 1. Select: <b><u>Click here</u></b> to begin installation, on the 
> download page.<br>
> 2. When the File Download selection opens, click &nbsp; 
> <button>&nbsp;run &nbsp;</button><br>
> 3. After the file downloads, select its &nbsp; <button> &nbsp; run 
> &nbsp; </button> button.<br>
> 4. After the file runs, <b>Close</b> the download page.<br>
> 5. <b>Refresh</b> yourURL: This will then display the SVG image.<p>
> ...Thanks
> </td>
> </tr>
> <tr>
> <td align="center">
>       <button onClick="openAdobeWindow()" title="Open Download 
> Window">Adobe Download Center</button>
> </td></tr>
> <tr>
> <td>* Note: To run this plug-in make sure <b>ActiveX Controls and 
> plug-ins</b> <input type=radio checked>: enable
> is selected under <b>Tools>Internet Options...>Security>Custom 
> Level..</b>.
> </table>
> </center>
> <script>
> var adobeWindow=null
> function openAdobeWindow()
> {
>       if(adobeWindow==null||adobeWindow.closed==true)
>       {
>               adobeWindow=window.open
> 
("http://www.adobe.com/svg/viewer/install/auto/","adobe","top=100,lef
> t=300,width=500,height=500")
>       }
>       else
>               adobeWindow.focus()
>       window.focus()
> }
> </script>
> </body>
> </html>
> 
> Francis
> 
> 
> --- In svg-developers@yahoogroups.com, "Francis Hemsher" 
> <[EMAIL PROTECTED]> wrote:
> >
> > I have use the following in the HEAD and it works nicely in IE
> > 
> > <script language="JavaScript">
> > var hasSVGSupport = false;
> > var useVBMethod = false;
> > if (navigator.mimeTypes != null && navigator.mimeTypes.length > 
0) 
> {
> >     if (navigator.mimeTypes["image/svg-xml"] != null)
> >             hasSVGSupport = true;
> > }else{
> >     useVBMethod = true;
> > }
> > </script>
> > <script language="VBScript">
> > On Error Resume Next
> > If useVBMethod = true Then
> >     hasSVGSupport = IsObject(CreateObject("Adobe.SVGCtl"))
> > End If
> > </script>
> > <script language="JavaScript">
> > if (hasSVGSupport == false) {
> > if(confirm("To view this image requires the Adobe SVG Viewer 
plug-
> > in.\n\r Otherwise, we cannot display the image...sorry.\n\rDo 
you 
> want 
> > to download this program?"))
> >     window.location="svgDownload.html"
> >     else
> >     {
> >     window.close()
> >     }       
> > }
> > </script>
> > 
> > The svgDownload.html is a page that helps the user get through 
> Adobe's 
> > very unresponsive and, somewhat ridiculous, download site.
> > 
> > Francis
> > 
> > 
> > > I know I have posted this before but still can not get a good 
> > answer.  
> > > I have a web page that contains an SVG image and without the 
ASV 
> > > installed there will be a "gray" area where the image should 
> appear.
> > > 
> > > Is there a way to test for the proper rendering of an SVG 
image 
> on a 
> > > page?  What I'd like to do is if the "gray" area appears (SVG 
> not 
> > > installed) pop up a message box asking if the user wants to 
> install 
> > > the viewer.
> > > 
> > > Can this be done?  I am assuming nearly everyone has had to 
have 
> > > encountered this type of situation.  My clients are forced to 
> use IE 
> > > 6.0+ as a standard so FireFox/Opera is not an option.  If this 
> can be 
> > > done, can you share the example code?
> > >
> >
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to