Skip to content Skip to sidebar Skip to footer

Display Image Map If No Flash Detected

So my basic understanding was that the

Solution 1:

The noscript element is designed to let you give alternate content (text) to users who have Javascript disabled.

<!DOCTYPE HTML>
<html>
    <body>
        <script type="text/javascript">
            alert("Hello, world!");
        </script>
        <noscript>You have Javascript disabled.</noscript>
    </body>
</html>

To provide alternate content for Flash, display the Flash using an object element, then embed another object element within it that contains the picture, like so:

<!DOCTYPE HTML>
<html>
    <body>

        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"   
                codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab# version=6,0,40,0"
                width="800" height="600">
            <param name="movie" value="home.swf">
            <object data="somePicture.png" type="image/png"></object>
        </object> 
    </body>
</html>

Post a Comment for "Display Image Map If No Flash Detected"