הרשם שאלות ותשובות רשימת חברים לוח שנה הודעות מהיום

חזור   הוסטס - פורום אחסון האתרים הגדול בישראל > עיצוב גראפי, תכנות על כל שפותיו וקידום ושיווק אתרים > פורום תיכנות

   
|!|

השב
 
כלים לאשכול תצורת הצגה
ישן 07-06-06, 14:13   # 1
-VladK-
הוסטסניון
 
-VladK-'s Avatar
 
מיני פרופיל
תאריך הצטרפות: Apr 2006
גיל: 34
הודעות: 2,182

-VladK- לא מחובר  

עורך טקסט שעובד בFF

שלום.
יש ברשותי עורך טקסט שמשום מה הוא לא עובד בFF...עכשיו רציתי לשאול כיצד לעשות שהוא יעבוד...הנה הקוד שלו:
HTML קוד:
<html dir="rtl">
<head>
<title>WYSIWYG - By BlueNosE</title>
<script>
function addtext(eCommandname)
{
document.getElementById('editor').focus();
document.execCommand(eCommandname);
document.getElementById('editor').focus();
}

function insertimage()
{
document.getElementById('editor').focus();
document.execCommand('insertimage',true);
document.getElementById('editor').focus();
}

function othercolor()
{
document.getElementById('editor').focus();
var oc = prompt ("כתוב כאן את שם הצבע או את מספרו (6 ספרות, בלי #):","");
	if (oc == "NULL" || oc == "")
	document.getElementById('editor').focus();
	else
	{
	document.execCommand('forecolor',false,oc);
	document.getElementById('editor').focus();
	}
}
function otherfont()
{
document.getElementById('editor').focus();
var oc = prompt ("כתוב כאן את שם הפונט:","");
	if (oc == "NULL" || oc == "")
	document.getElementById('editor').focus();
	else
	{
	document.execCommand('fontname',false,oc);
	document.getElementById('editor').focus();
	}
}

function smile(path)
{
document.getElementById('editor').focus();
document.execCommand('absoluteposition',false,1);
document.getElementById('editor').focus();
}

function putin(str)
{
s = str.toLowerCase();
f.code.value = s;
}
</script>
</head>
<body bgcolor="#ffffff">
<select id="slct" onchange="if (this[this.selectedIndex].value != 'none') {
if (this[this.selectedIndex].value == 'other') othercolor(); else {
document.getElementById('editor').focus();
document.execCommand('forecolor',false,this[this.selectedIndex].value);
document.getElementById('editor').focus();}}" 
style="font-family:arial;font-weight:bold;width:50px;">
<option value="none" style="color:#626262;" id="none">צבע</option>
<option value="black" style="color:black;"></option>
<option value="red" style="color:red;"></option>
<option value="orange" style="color:orange;"></option>
<option value="yellow" style="color:yellow;"></option>
<option value="lightgreen" style="color:lightgreen;"></option>
<option value="green" style="color:green;"></option>

<option value="blue" style="color:blue;"></option>
<option value="other" style="color:#626262;">אחר...</option>
</select>

<select id="slctfont" onchange="if (this[this.selectedIndex].value != 'none') {
if (this[this.selectedIndex].value == 'other') otherfont(); else {
document.getElementById('editor').focus();
document.execCommand('fontname',false,this[this.selectedIndex].value);
document.getElementById('editor').focus();}}" 
style="font-weight:bold;font-family:arial;">
<option value="none" style="color:#626262;" id="none">גופן</option>
<option value="arial">אריאל</option>
<option value="tahoma">טהומה</option>
<option value="courier">קורייר</option>
<option value="geneva">ג'נבה</option>
<option value="times new roman">טיימס</option>

<option value="comic sans ms">קומיק</option>
<option value="impact">אימפקט</option>
<option value="other" style="color:#626262;">אחר...</option>
</select>

<select id="slctsize" onchange="if (this[this.selectedIndex].value != 'none') {
document.getElementById('editor').focus();
document.execCommand('fontsize',false,this[this.selectedIndex].value);
document.getElementById('editor').focus();}" 
style="font-weight:bold;font-family:arial;">
<option value="none" style="color:#626262;" id="none">גודל</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>

<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
</select>
<img src="_line.gif" hspace="0" vspace="0" width="1" height="20" /> 
<input type="image" src="undo.gif" onclick="addtext('undo');" width="21" height="20" /> 
<input type="image" src="redo.gif" onclick="addtext('redo');" width="21" height="20" />
<br />
<input type="image" src="bold.gif" onclick="addtext('bold');" width="21" height="20" /> 
<input type="image" src="underline.gif" onclick="addtext('underline');" width="21" height="20" /> 
<input type="image" src="italic.gif" onclick="addtext('italic');" width="21" height="20" /> 
<img src="_line.gif" hspace="0" vspace="0" width="1" height="20" /> 

<input type="image" src="link.gif" onclick="addtext('createlink');" width="21" height="20" />
<input type="image" src="unlink.gif" onclick="addtext('unlink');" width="21" height="20" />
<input type="image" src="img.gif" onclick="insertimage();" width="21" height="20" />
<img src="_line.gif" hspace="0" vspace="0" width="1" height="20" /> 
<input type="image" src="right.gif" onclick="addtext('justifyright');" width="21" height="20" /> 
<input type="image" src="center.gif" onclick="addtext('justifycenter');" width="21" height="20" /> 
<input type="image" src="left.gif" onclick="addtext('justifyleft');" width="21" height="20" /> 
<img src="_line.gif" hspace="0" vspace="0" width="1" height="20" /> 
<input type="image" src="ol.gif" onclick="addtext('insertorderedlist');" width="21" height="20" /> 
<input type="image" src="ul.gif" onclick="addtext('insertunorderedlist');" width="21" height="20" /> 
<input type="image" src="indent.gif" onclick="addtext('indent');" width="21" height="20" /> 
<input type="image" src="outdent.gif" onclick="addtext('outdent');" width="21" height="20" /> 
<img src="_line.gif" hspace="0" vspace="0" width="1" height="20" /> 
<input type="image" src="remove.gif" onclick="addtext('removeformat');" width="21" height="20" />
<input type="image" src="smiles/smile.gif" onclick="smile('smile.gif');" width="15" height="15" />
<input type="image" src="ins.gif" onclick="addtext('overwrite');" width="21" height="20" />
<input type="image" src="saveas.gif" onclick="addtext('saveas');" width="21" height="20" />

<div contenteditable="true"
style="border:1px solid black;height:250px;width:450px;overflow:auto;" id="editor"></div>
<a href="javascript:;" onclick="putin(editor.innerHTML);">[ HTML ]</a>
<form name="f">
<textarea id="code" name="code" rows="10" cols="60" readonly="readonly" unselectable="off"
style="font-family:lucida sans, lucida sans unicode, arial;font-size:14px;direction:ltr;
background-color:#ffffff;border:1px solid black;">
</textarea><br />
</body>
</html>
  Reply With Quote
ישן 07-06-06, 14:37   # 2
drowkid
חבר בקהילה
 
מיני פרופיל
תאריך הצטרפות: Apr 2006
מיקום: מרכז - איזור כפ"ס
הודעות: 138

drowkid לא מחובר  

אין לי מושג על מה אתה מדבר זה עובד מצויין...
תוכל בבקשה לתת לי תקבצים?
  Reply With Quote
ישן 07-06-06, 14:49   # 3
meshuga
הנהלת הפורום לשעבר
 
meshuga's Avatar
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
גיל: 35
הודעות: 7,601

meshuga לא מחובר  

כבר פתחו על זה נושא...נראה לי עם אותו עורך, תחפש.
  Reply With Quote
ישן 07-06-06, 15:06   # 4
-VladK-
הוסטסניון
 
-VladK-'s Avatar
 
מיני פרופיל
תאריך הצטרפות: Apr 2006
גיל: 34
הודעות: 2,182

-VladK- לא מחובר  

בקשר להודעה של drowkid
הוא לא עובד בFF...בIE הוא כן אבל לא בFF...
ואני לא חושב שאני יוכל לתת לך אותו כי הוא לא שלי...

בקשר להודעה של meshuga
חיפשתי אבל לא מצאתי...

Last edited by -VladK-; 07-06-06 at 15:13..
  Reply With Quote
ישן 08-06-06, 00:04   # 5
miniature
חבר וותיק
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
הודעות: 1,754

miniature לא מחובר  

לא עובד כי DIV עם אפשרות עריכה לא ניתן ב FF .
__________________
יואב.

דרכים ליצירת קשר:

אימייל: thebigfire@walla.co.il
הודעה פרטית
  Reply With Quote
ישן 08-06-06, 13:35   # 6
Dan Zelniker
חבר בקהילה
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
גיל: 34
הודעות: 213

Dan Zelniker לא מחובר  

אני לא מכיר את העורך הזה.
אבל אני יכול להמליץ לך על FCKeditor
__________________
.Dan Zelniker
PHP Programmer.
Email : Dan@zelniker.com
  Reply With Quote
ישן 09-06-06, 16:20   # 7
ani
חבר וותיק
 
מיני פרופיל
תאריך הצטרפות: Dec 2005
הודעות: 1,571

ani לא מחובר  

אתה יכול להציג פה בבקשה את הלינק לאתר של העורך?
או קישור להורדה?
  Reply With Quote
ישן 09-06-06, 16:31   # 8
-VladK-
הוסטסניון
 
-VladK-'s Avatar
 
מיני פרופיל
תאריך הצטרפות: Apr 2006
גיל: 34
הודעות: 2,182

-VladK- לא מחובר  

זה לא עורך חינמי....זה עורך שחבר שלי הכין...רמז: תסתכלו על הTITLE...
  Reply With Quote
ישן 09-06-06, 16:32   # 9
miniature
חבר וותיק
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
הודעות: 1,754

miniature לא מחובר  

זה עורך ש BLUENOSE עשה חח
__________________
יואב.

דרכים ליצירת קשר:

אימייל: thebigfire@walla.co.il
הודעה פרטית
  Reply With Quote
ישן 09-06-06, 16:34   # 10
-VladK-
הוסטסניון
 
-VladK-'s Avatar
 
מיני פרופיל
תאריך הצטרפות: Apr 2006
גיל: 34
הודעות: 2,182

-VladK- לא מחובר  

ציטוט:
נכתב במקור על ידי miniature
זה עורך ש BLUENOSE עשה חח
נכון....יש לי אישור ממנו להשתמש...אם משהו רוצה להשתמש בו שישאל ממנו...יש למשהו רעיון כיצד אני יכול לעשות שהוא יעבוד בFF?
  Reply With Quote
השב

חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים)
 


חוקי פירסום
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is מופעל
סמיילים הם מופעל
[IMG] קוד מופעל
קוד HTML מכובה

קפיצה לפורום


כל הזמנים הם GMT +2. הזמן כעת הוא 20:46.

מופעל באמצעות VBulletin גרסה 3.8.6
כל הזכויות שמורות ©
כל הזכויות שמורות לסולל יבוא ורשתות (1997) בע"מ