xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shamjith K V <shamjithkv2...@yahoo.co.uk>
Subject Customizing Script Alert in batik
Date Thu, 08 Dec 2005 12:32:30 GMT
Hi,
Whenever we use the alert() for giving a dialog, as 
in the program given below. The aleart dialog appears
with some text like "script alert:" after that only
the
required message is diplayed.
Would you please tell me how to remove that "Script
alert:" text.

<svg width="450" height="500" viewBox="0 0 450 500">
    <script type="text/ecmascript">

    function showDialog(msg) {
        alert(msg);
    }
    </script>
    <g>
        <circle cx="137.5" cy="110" r="20"
style="fill:crimson"
          onmousedown="showDialog('onmousedown')"/>
        <circle cx="312.5" cy="110" r="20"
style="fill:crimson"
          onmouseup="showDialog('onmouseup')"/>
    </g>
</svg>


Thanks and Regards
Shamjith K V


		
___________________________________________________________ 
Yahoo! Exclusive Xmas Game, help Santa with his celebrity party - http://santas-christmas-party.yahoo.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message