Hello Mr. Holger
I thank you very much for helping me, I forgot to put the reference
of the svg page and i will put it in my next codes.
Also I am reviewing the JavaScript code, I will learn of it and I
will try to apply this code to other function I want to assign to
the DiceValue code.
Thanks again.
Travsam
> <script>
> <![CDATA[
> function throwDice(){
>
> var randomDice=Math.round(Math.random()*5) + 1;
> dice = randomDice;
>
> for(var i = 1;i<7;i++){
> var d = document.getElementById("d"+ i);
> if(i==dice){
> d.setAttribute( "visibility", "visible" );
> }else{
> d.setAttribute( "visibility", "hidden" );
> }
>
> }
>
>
> }
>
> ]]>
>
> </script>
>
> hth
> Holger
-----
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/