دوست خوب forum تو سايته يا تو خونه كار ميكني0037 گفت:سلام
forum سايت من كاملا فارسي نيست يعني حتي دكمه واسه فارسي نوشتن هم نداره و مثلا به جاي عنوان بحث مينويسه عنوان ژبحث ولي من همه فونتها رو tahomaكردم ؟؟؟؟؟؟؟؟؟!!!!!!!!!!!!!!
منكه مشكلي نديدم شايد تنظيمات خود كامپيوترتان است براي اطمينان بيشتر ميتونيد از يه كامپيوتر ديگر توكافه شاپ و اينا تست كنيد در ضمن براي تغيير زبان امشب يه برنامه براتون مينويسم كه امشب يا فردا بهتون ميدم0037 گفت:سلام
نه forum من رو سايته اينم آدرسش
http://www.vahidonline.net/modules.php?name=Forums
يه نگاه بهش بندلزين مخصوصا حرف (((م))) مشكل داره !!!!!!!!!!!
بعد مي خوام كه يه دكمه هم واسه عوض كردن زبانش باشه ممنون :arrow:
آقا باور كنيد من فرستادم0037 گفت:آقا دستت درد نكنه فقط يا بفرستين به اين ميل[email protected] يا با اين آدي منو تو ياهو اد كنين saeed6631 بازم يه دنيا ممنون !!
قربون همه بروبچس
saman_sweden گفت:آقا باور كنيد من فرستادم0037 گفت:آقا دستت درد نكنه فقط يا بفرستين به اين ميل[email protected] يا با اين آدي منو تو ياهو اد كنين saeed6631 بازم يه دنيا ممنون !!
قربون همه بروبچس
در هر حال اون كد را اينحا ميذارم
<html>
<head>
</head>
<body >
<table align="center" bgcolor="#FFCC00" border="1" cellpadding="0" cellspacing="0"
width="700" height="400"><tbody><tr><td>
<div align="center">
<img src="img1/tEN_lang.gif" alt="English (F9)"
onclick="x111('EN', oBody);return false;" onmouseover="button_over(this);"
onmouseout="button_out(this);" onmousedown="button_down(this);"
onmouseup="button_up(this);" class="butClass">
<img src="img1/tFA_lang.gif" alt="Persian (F9)"
onclick="x111('FA', oBody);return false;" onmouseover="button_over(this);"
onmouseout="button_out(this);" onmousedown="button_down(this);"
onmouseup="button_up(this);" class="butClass">
</div>
<!--<input unselectable="on" STYLE="font-size:8pt;"
type="checkbox" onclick="setMode(this.checked);"><span STYLE="font-size:8pt;"
unselectable="on">Source</span>-->
<DIV Align=right DIR=rtl Lang=fa id=oBody
contenteditable STYLE="height:300; width:100%;background-color:white;
font-family:Nesf,Tahoma; font-size:10pt;border:inset #FFCC99; overflow=auto;"
onkeypress="x13h(this)" onkeydown="x12h(this,'oBody_dir','oBody_lang')"></DIV>
</td></tr></tbody></table>
<script language="JavaScript" type="text/javascript">
var x6=[
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x06AF,0x0029,0x0028,
0x002A,0x002B,0x0648,0x002D,0x002E,0x002F,0x06F0,0x06F1,0x06F2,0x06F3,
0x06F4,0x06F5,0x06F6,0x06F7,0x06F8,0x06F9,0x003A,0x0643,0x003C,0x003D,
0x003E,0x061F,0x0040,0x064E,0x0625,0x0698,0x0650,0x064D,0x0651,0x06C0,
0x0622,0x005D,0x0640,0x00AB,0x00BB,0x0621,0x0623,0x005B,0x005C,0x064B,
0x0020,0x064F,0x060C,0x002C,0x0624,0x064C,0x064A,0x061B,0x0629,0x062C,
0x0698,0x0686,0x005E,0x005F,0x067E,0x0634,0x0630,0x0632,0x064a,0x062B,
0x0628,0x0644,0x0627,0x0647,0x062A,0x0646,0x0645,0x0626,0x062F,0x062E,
0x062D,0x0636,0x0642,0x0633,0x0641,0x0639,0x0631,0x0635,0x0637,0x063A,0x0638,0x007D,
0x007C,0x007B,0x00D7 ];
var xk;xk=new Image;xk.src="img1/fkeys.gif";
var xk_sh;xk_sh=new Image;xk_sh.src="img1/farsb.gif";
var xk2 = false;
function xk1(x8){if (xk2) document.images[x8].src=xk.src;else
document.images[x8].src=xk_sh.src;xk2 = !xk2;return false;}
window.onload=x200
var x201 = null;
var editor = document.Parsimail.oBody;
function EditorFormat(what, opt){
if (opt == "removeFormat") {what = opt;opt = null;}
if (opt == null) {document.execCommand(what);}
else {document.execCommand(what, "", opt);}
}
function EditorCleanHTML(){
var fonts = editor.all.tags("FONT");
for (var i = fonts.length - 1; i >= 0;) {
var font = fonts[i];
if (font.style.backgroundColor == "#ffffff") {
font.outerHTML = font.innerHTML;
}
i = i - 1;
}
}
function EditorGetElement(tagName, start){
while (start && start.tagName != tagName) {start = start.parentElement;}
return start;
}
function EditorOnDir(d){
var anchor = EditorGetElement("P",
document.selection.createRange().parentElement());
if (anchor) anchor.dir = d
else oBody.dir = d
return;
}
function button_over(btn) {
btn.style.backgroundColor = "#DBE8F7";
btn.style.borderColor = "#ffffff #000000 #000000 #ffffff";
btn.style.cursor = 'hand';
}
function button_out(btn) {
btn.style.backgroundColor = "#DBE8F7";
btn.style.borderColor = "#DBE8F7";
btn.style.cursor = 'default';
}
function button_down(btn) {
btn.style.backgroundColor = "#ADA8E1";
btn.style.borderColor = "#000000 #ffffff #ffffff #000000";
btn.style.cursor = 'hand';
}
function button_up(btn) {
btn.style.backgroundColor = "#ADA8E1";
btn.style.borderColor = "#ffffff #000000 #000000 #ffffff";
btn = null;
}
function SelectColor(w) {
var retval = showModalDialog("wysiwyg_color.htm","","font-family:arial;
font-size:12; dialogWidth:350px; dialogHeight:350px;");
if (retval != null) oBody.document.execCommand(w, false, retval);
}
var isHTMLMode = false;
function setMode(bMode) {var t;isHTMLMode = bMode;
if (isHTMLMode) {t = oBody.innerHTML;oBody.innerText = t;}
else {t = oBody.innerText;oBody.innerHTML = t;}
oBody.focus();
}
function x200(){
backsubmit();
oBody.document.designMode = 'On'; oBody.unselectable = "off";
oBody.focus();return false;}
function x202(x203){oBody.document.execCommand(x203);return false;}
function x1000(){return oBody.innerHTML;}
function x2000(){return oBody.innerText;}
function x204(){var
x205=document.Parsimail.x206.item(document.Parsimail.x206.selectedIndex);oBody.documen
t.execCommand("FontName", false, x205.text);return false;}
function x208(){var
x205=document.Parsimail.x207.item(document.Parsimail.x207.selectedIndex);oBody.documen
t.execCommand("FontSize", false, x205.value);return false;}
function x209(x210){if (x201 == null) var x211 =
document.Parsimail.x212.ChooseColorDlg(); else var x211 =
document.Parsimail.x212.ChooseColorDlg(x201);
x211 = x211.toString(16); if (x211.length < 6) {var x213 =
"000000".substring(0,6-x211.length);x211 = x213.concat(x211);}
oBody.document.execCommand(x210, false, x211);x201 =
x211;oBody.focus();return false;
}
function x10h(x7, x8){if (x7==null || x8==null) return false;
if (x8.dir.toUpperCase() == "RTL"){x8.dir = "LTR";}
else{x8.dir = "RTL";}x8.focus();return false;
}
function x11h(x7, x8){if (x7==null || x8==null) return false;
if (x8.lang.toUpperCase() == "EN"){x8.lang = "FA";}
else{x8.lang = "EN";}
x8.focus();return false;
}
function x12h(x9,x214,x215){
if ((window.event.shiftKey && window.event.ctrlKey) || window.event.keyCode ==
119) return x10h(x214, x9);
if ((window.event.shiftKey && window.event.altKey) || window.event.keyCode == 120)
return x11h(x215, x9);return true;
}
function x13h(x9){var x0 = window.event.keyCode;
if (x0 < 0x0020 || x0 >= 0x00FF) return;
if (x9.lang.toUpperCase() == "FA"){if (x0 == 0x0020 && window.event.shiftKey)
window.event.keyCode = 0x200C;else window.event.keyCode = x6[x0 - 0x0020];}
return true;
}
function x101(x7, x8){if (x7==null || x8==null) return false;x8.dir=x7;}
function x111(x7, x8){if (x7==null || x8==null) return false;x8.lang=x7;}
//-->
</script>
</body>
</html>
اون برنامه يه برنامه كامل است كه به تنهايي كار ميكنه0037 گفت:سلام
واقا دستتون درد نكنه كه به فكر ممبر ها هستين فقط اگه ميشه يه خورده توضيح بدين كه من اين كدها رو چي كار كنم منم شما رو خسته كردما :arrow:
<img src="img1/tEN_lang.gif" alt="English (F9)" onclick="x111('EN', oBody);return false;" onmouseover="button_over(this);" onmouseout="button_out(this);" onmousedown="button_down(this);" onmouseup="button_up(this);" class="butClass">
<img src="img1/tFA_lang.gif" alt="Persian (F9)" onclick="x111('FA', oBody);return false;" onmouseover="button_over(this);" onmouseout="button_out(this);" onmousedown="button_down(this);" onmouseup="button_up(this);" class="butClass">
var x6=[
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x06AF,0x0029,0x0028,
0x002A,0x002B,0x0648,0x002D,0x002E,0x002F,0x06F0,0x06F1,0x06F2,0x06F3,
0x06F4,0x06F5,0x06F6,0x06F7,0x06F8,0x06F9,0x003A,0x0643,0x003C,0x003D,
0x003E,0x061F,0x0040,0x064E,0x0625,0x0698,0x0650,0x064D,0x0651,0x06C0,
0x0622,0x005D,0x0640,0x00AB,0x00BB,0x0621,0x0623,0x005B,0x005C,0x064B,
0x0020,0x064F,0x060C,0x002C,0x0624,0x064C,0x064A,0x061B,0x0629,0x062C,
0x0698,0x0686,0x005E,0x005F,0x067E,0x0634,0x0630,0x0632,0x064a,0x062B,
0x0628,0x0644,0x0627,0x0647,0x062A,0x0646,0x0645,0x0626,0x062F,0x062E,
0x062D,0x0636,0x0642,0x0633,0x0641,0x0639,0x0631,0x0635,0x0637,0x063A,0x0638,0x007D,0x007C,0x007B,0x00D7 ];
//-----------Copy by Saman Sweden 1999---------------------------
var xk;xk=new Image;xk.src="img1/fkeys.gif";
var xk_sh;xk_sh=new Image;xk_sh.src="img1/farsb.gif";
var xk2 = false;
function xk1(x8){if (xk2) document.images[x8].src=xk.src;else document.images[x8].src=xk_sh.src;xk2 = !xk2;return false;}
window.onload=x200
var x201 = null;
var editor = document.Parsimail.oBody;
function EditorFormat(what, opt){
if (opt == "removeFormat") {what = opt;opt = null;}
if (opt == null) {document.execCommand(what);}
else {document.execCommand(what, "", opt);}
}
function EditorCleanHTML(){
var fonts = editor.all.tags("FONT");
for (var i = fonts.length - 1; i >= 0;) {
var font = fonts[i];
if (font.style.backgroundColor == "#ffffff") {
font.outerHTML = font.innerHTML;
}
i = i - 1;
}
}
function EditorGetElement(tagName, start){
while (start && start.tagName != tagName) {start = start.parentElement;}
return start;
}
function EditorOnDir(d){
var anchor = EditorGetElement("P", document.selection.createRange().parentElement());
if (anchor) anchor.dir = d
else oBody.dir = d
return;
}
function button_over(btn) {
btn.style.backgroundColor = "#DBE8F7";
btn.style.borderColor = "#ffffff #000000 #000000 #ffffff";
btn.style.cursor = 'hand';
}
function button_out(btn) {
btn.style.backgroundColor = "#DBE8F7";
btn.style.borderColor = "#DBE8F7";
btn.style.cursor = 'default';
}
function button_down(btn) {
btn.style.backgroundColor = "#ADA8E1";
btn.style.borderColor = "#000000 #ffffff #ffffff #000000";
btn.style.cursor = 'hand';
}
function button_up(btn) {
btn.style.backgroundColor = "#ADA8E1";
btn.style.borderColor = "#ffffff #000000 #000000 #ffffff";
btn = null;
}
function SelectColor(w) {
var retval = showModalDialog("wysiwyg_color.htm","","font-family:arial; font-size:12; dialogWidth:350px; dialogHeight:350px;");
if (retval != null) oBody.document.execCommand(w, false, retval);
}
var isHTMLMode = false;
function setMode(bMode) {var t;isHTMLMode = bMode;
if (isHTMLMode) {t = oBody.innerHTML;oBody.innerText = t;}
else {t = oBody.innerText;oBody.innerHTML = t;}
oBody.focus();
}
function x200(){
backsubmit();
oBody.document.designMode = 'On'; oBody.unselectable = "off"; oBody.focus();return false;}
function x202(x203){oBody.document.execCommand(x203);return false;}
function x1000(){return oBody.innerHTML;}
function x2000(){return oBody.innerText;}
function x204(){var x205=document.Parsimail.x206.item(document.Parsimail.x206.selectedIndex);oBody.document.execCommand("FontName", false, x205.text);return false;}
function x208(){var x205=document.Parsimail.x207.item(document.Parsimail.x207.selectedIndex);oBody.document.execCommand("FontSize", false, x205.value);return false;}
function x209(x210){if (x201 == null) var x211 = document.Parsimail.x212.ChooseColorDlg(); else var x211 = document.Parsimail.x212.ChooseColorDlg(x201);
x211 = x211.toString(16); if (x211.length < 6) {var x213 = "000000".substring(0,6-x211.length);x211 = x213.concat(x211);}
oBody.document.execCommand(x210, false, x211);x201 = x211;oBody.focus();return false;
}
function x10h(x7, x8){if (x7==null || x8==null) return false;
if (x8.dir.toUpperCase() == "RTL"){x8.dir = "LTR";}
else{x8.dir = "RTL";}x8.focus();return false;
}
function x11h(x7, x8){if (x7==null || x8==null) return false;
if (x8.lang.toUpperCase() == "EN"){x8.lang = "FA";}
else{x8.lang = "EN";}
x8.focus();return false;
}
function x12h(x9,x214,x215){
if ((window.event.shiftKey && window.event.ctrlKey) || window.event.keyCode == 119) return x10h(x214, x9);
if ((window.event.shiftKey && window.event.altKey) || window.event.keyCode == 120) return x11h(x215, x9);return true;
}
function x13h(x9){var x0 = window.event.keyCode;
if (x0 < 0x0020 || x0 >= 0x00FF) return;
if (x9.lang.toUpperCase() == "FA"){if (x0 == 0x0020 && window.event.shiftKey) window.event.keyCode = 0x200C;else window.event.keyCode = x6[x0 - 0x0020];}
return true;
}
function x101(x7, x8){if (x7==null || x8==null) return false;x8.dir=x7;}
function x111(x7, x8){if (x7==null || x8==null) return false;x8.lang=x7;}