يا اخوان ياليت احد يجرب معي
ضبطت معي الحركة و لكن يوم فتحت الجهاز بعد يوم لقيت فيه اخطاء و مشاكل ؟؟؟
هذا الكود الاصلي لاستدعاء الابتسامات في ملف ال vbcode
كود:
function smilie(thesmilie) {
// inserts smilie text
document.vbform.message.value += thesmilie+" ";
document.vbform.message.focus();
}
و هذاالكود اللي في ملف ال vbcode اللي مع الصندوق السحري
كود:
function smilie(thesmilie) {
var oSelect, oSelectRange;
if (opener) {
if (opener.document.vbform.message) {
opener.document.vbform.message.focus();
oSelect = opener.document.selection;
oSelectRange = oSelect.createRange();
oSelectRange.text = thesmilie;
document.body.focus();
}
}
else {
document.vbform.message.focus();
oSelect = document.selection;
oSelectRange = oSelect.createRange();
oSelectRange.text = thesmilie;
}
}
جربو تسوون تغيير و قولو وش يصير واللي يعرف الحل ياليت يقولنا لو تكرمتو