::: در حال بارگیری لطفا صبر کنید :::Loading , please wait ...

انجمن کدستانMoisrex

MoisrexMoisrex.rozblog.com
زمان جاریtime : چهارشنبه 11 آذر 1405 - 5:05 قبل از ظهر
نام کاربریusername : پسوردpassword : یاor عضویتregister | رمز عبور را فراموش کردمForgot your password?
شما در سایت ما ثبت نام نکرده اید و یا وارد اکانت کاربری خود نشده اید. از شما خواهشمند هستیم You are not log in to site. Please وارد شویدlogin یاor ثبت نام کنیدregister .
navidegholizadeh2 آفلاین



ارسال‌هاAsnwers : 212
عضویتRegistration date : 30 /6 /1393
حمایت کردهthanks : 34
حمایت شدهThanked : 30
پاسخAnswer 3 : چه طور این امکان رو به ادیتور اضافه کنم؟

کد مشکل داشت (اینم کد تعمییر شده):

کسی نمیتونه کمک کنه؟

کد:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta content="en-us" http-equiv="Content-Language" />

<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />

<title>Untitled 1</title>

<script>

function moisrex(){

document.getElementById('source').value=document.getElementById('editor').innerHTML;

}

function moisrex2(){

document.getElementById('editor').innerHTML=document.getElementById('source').value;

}

function moisrex3(){

document.getElementById('source').value="";

}

</script>

</head>

<body>

<br>

<textarea style="height: 200px ; width: 1000px;" onclick="moisrex2();" onkeydown="moisrex2();" onkeypress="moisrex2();" onkeyup="moisrex2();" id="source"></textarea>

<center>

<button onclick="moisrex2();" onkeydown="moisrex();" onkeysfess="moisrex();">what source</button>

<button onclick="moisrex4();">همين جوري يه دکمه ي اضافي است، جهت کار بر روي آن</button>

<button type="reset" onclick="moisrex3()">پاک کردن</button>

</center>

<div onclick="moisrex();" onkeydown="moisrex();" onkeypress="moisrex();" onkeyup="moisrex();" style="border:1px #ccc soild;border-radius:5px;-moz-border-radius:5px;-o-border-radius:5px;-mz-border-radius:5px;-webkit-border-radius:5px;khtml-border-radius:5px;padding:10px;margin:20px;" id="editor" contenteditable="true"></div>

</body>

</html>

http://lengehhacking.blogfa.com/cat-1.aspx

لطفادر این وبلاگ بروید



[align=justify]سلام اگر خواستیت به من پ.خ کنید بهnavidegholizadeh3بفرستیت
[/align]
پنجشنبه 17 مهر 1393 - 14:34
وب کاربرUser's blog ارسال پیامSend p.m. نقل قولReply سپاس گزارمThanks



moisrex
درباره ماAbout us لینک های ماOur links کلمات کلیدیKeywords
انجمن تخصصی کدستان ، ساخته شده توسط فردی با نام مستعار Moisrex می باشد.This forum designed by a person who called Moisrex.

ایمیلE-mail : Moisrex @ Gmail.com
کدستان,انجمن کدستان,کدنویسی,انجمن پشتیبانی,فروم,رزبلاگ,آموزش کدنویسی,درخواست کد
تمامی حقوق این انجمن مربوط به همین انجمن می باشد | طراحی قالبCopyright (c) By Moisrex , All rights reserved | Desiger : Moisrex