'blockDirection' Example : Text Direction : Document JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Document » Text Direction »

 

'blockDirection' Example



    
<html>
<body>
<p id="myP" blockDirection="rtl" onClick="function1();">
Click in this text that must be read from right to left.
</p>
<script language="JavaScript">
    function function1() {
        var m = document.all.myP.blockDirection; 
        alert(m);
    }
</script>
</body>
</html>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Document
» Text Direction