Text Direction Selector

Create a sliding button to change text direction between RTL and LTR with improved behavior

نووسەر
عبدالرحمن محمد حسن محمد إبراهيم
Daily installs
0
Total installs
4
Ratings
0 0 0
وەشان
1.9
Created
2024-11-08
Updated
2024-11-20
Size
4.68 KB
مۆڵەت
MIT
Applies to
هەموو سایتەکان

Script Description:
This script allows the creation of a floating button to toggle the text direction between `Right-to-Left (RTL)` and `Left-to-Right (LTR)` on web pages. The button moves when clicked to display the options and dynamically changes based on the user's selection.

Features:
- Movable Floating Button : The button appears at the bottom of the screen and allows the user to switch the text direction between `RTL` and `LTR`.
- Available Options : The script displays the `RTL` and `LTR` buttons when the floating button is clicked.
- Instant Text Direction Change : When either button is clicked, the text direction changes immediately.
- Simple User Interface : The buttons are displayed in a straightforward and simple manner to enable easy switching between directions.
- Multilingual Support : The script can be used on any website that supports bidirectional text.