A simple JavaScript script to automate direction of html elements.
-
Download the latest version: https://raw.githubusercontent.com/ali-hardan/javascript-direction-adjuster/master/javascript-direction-adjuster.min.js
-
Add this in your
<head>
tag:
<script type="text/javascript" src="path/to/javascript-direction-adjuster.min.js"></script>
- Done.
Look at: https://ali0.ir/en/projects/javascript-direction-adjuster/demo/