decorative banner

SVG Redirect


    The SVG Redirect action detects the Adobe Scalable Vector Graphics (SVG) browser plug-in, and sends the browser to a page with SVG content if the plug-in is installed. If the plug-in is not installed, the browser displays the page in which the action resides.

    Create a page designed for browsers that don't have the SVG plug-in. (For example, you can provide the SVG content in a different format, or add a link to a Web page where viewers can download the plug-in.)

    In the page you designed for browsers that don't have the plug-in, trigger the action with a browser-triggered event set to OnParse in the head section of the page. In the Head Action Inspector, choose Action > Link > SVG Redirect. For the SVG Page link destination, specify the Web page with SVG content that viewers will see if their browser has the plug-in installed. To display a custom message for viewers without the plug-in, select Display Alert if No Plug-in Found, and enter a message in the Alert text box.

    Important: Precede any apostrophes with a backslash in the Alert message in order to prevent JavaScript errors in the browser.