|
|
|
|
# 1 |
|
הוסטסניון
|
תודה:)
הראשון עזר לי השני גם עובד אבל לא ממש הבנתי..
הבנתי חצי , את הקטע של האחרי הבדיקה של הדפדפן לא הבנתי.. את זה: HTML קוד:
txtElement.focus();
docSelection = document.selection;
txtSelection = docSelection.createRange();
if (txtSelection.text != "") {
txtSelection.text = '<font color="'+c+'">'+txtSelection.text+'</font>';
} else {
txtElement.value = '<font color="'+c+'">'+text+'</font>';
}
תודה ![]()
__________________
אימיל \ מסן : amirs91 [at] gmail.com |
|
![]() |
| חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים) | |
|
|