אשכול: [שאלה] FCKEditor.
View Single Post
ישן 28-10-07, 01:56   # 3
DavidBD
חבר על
 
מיני פרופיל
תאריך הצטרפות: Dec 2005
גיל: 31
הודעות: 956

DavidBD לא מחובר  

ציטוט:
נכתב במקור על ידי DanielS צפה בהודעה
אם נוח לך לעבוד עם מחלקות יש בתוך הקבצים אם אני לא טועה מחלקה
הכי פשוט כדי לטעון את זה לתוך הדף שלך.
את האמת אינ לא אוהב ממש לעבוד עם מחלקות, יש אופציה אחרת? אם אין, אני אשתמש במחלקה.
עריכה:
יש לי בעיה נוספת,החלפתי את הקוד של הIFRAME בפונקציה createhtml:
קוד:
$Html .= "<iframe id=\"{$this->InstanceName}___Frame\" src=\"{$Link}\" width=\"{$this->Width}\" height=\"{$this->Height}\" frameborder=\"0\" scrolling=\"no\"></iframe>" ;
ב:
קוד:
$Html .= "	<table width=\"100&#37;\" cellpadding=\"0\" cellspacing=\"0\" style=\"height: 100%; table-layout: fixed\">
		<tr id=\"xToolbarRow\" style=\"display: none\">
			<td id=\"xToolbarSpace\" style=\"overflow: hidden\">
				<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">
					<tr id=\"xCollapsed\" style=\"display: none\">
						<td id=\"xExpandHandle\" class=\"TB_Expand\" colspan=\"3\">
							<img class=\"TB_ExpandImg\" alt=\"\" src=\"images/spacer.gif\" width=\"8\" height=\"4\" /></td>
					</tr>
					<tr id=\"xExpanded\" style=\"display: none\">
						<td id=\"xTBLeftBorder\" class=\"TB_SideBorder\" style=\"width: 1px; display: none;\"></td>
						<td id=\"xCollapseHandle\" style=\"display: none\" class=\"TB_Collapse\" valign=\"bottom\">
							<img class=\"TB_CollapseImg\" alt=\"\" src=\"images/spacer.gif\" width=\"8\" height=\"4\" /></td>
						<td id=\"xToolbar\" class=\"TB_ToolbarSet\"></td>
						<td class=\"TB_SideBorder\" style=\"width: 1px\"></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td id=\"xEditingArea\" valign=\"top\" style=\"height: 100%\"></td>
		</tr>
	</table>" ;
סידרתי את כל הקטעים עם הJS,
או בקיצור העתקתי את הJS והטבלה מהקובץ שאמור להיות באיפריים, כי אני מעדיף לא להשתמש באייפריים, והקוד של הטבלה מופיע במקור אך לא מציג את העורך,
יש למישהו מושג?
__________________
דוד בן דוד.

Last edited by DavidBD; 28-10-07 at 02:21..
  Reply With Quote