• 0
  • مالي خلق
  • أتهاوش
  • متضايق
  • مريض
  • مستانس
  • مستغرب
  • مشتط
  • أسولف
  • مغرم
  • معصب
  • منحرج
  • آكل
  • ابكي
  • ارقص
  • اصلي
  • استهبل
  • اضحك
  • اضحك  2
  • تعجبني
  • بضبطلك
  • رايق
  • زعلان
  • عبقري
  • نايم
  • طبيعي
  • كشخة
  • النتائج 1 إلى 12 من 12

    الموضوع: كود خصائص الخط بلغة DHTML

    1. #1
      التسجيل
      25-05-2004
      المشاركات
      11
      المواضيع
      3
      شكر / اعجاب مشاركة

      كود خصائص الخط بلغة DHTML

      السلام عليكم
      اتمني ان يعلمنى احدكم او يعطني الكود الصحيح لانشاء صفحة ادخال بلغة Dhtml
      الدي يخص كود Bold,font size, color font,,lif, right
      اي باختصار اي خصائص الخط المدخل لاني اريد ان استعملها في صفحة ادخال بلغة php
      وفيها كود Dhtml الدي يمنح خصائص للخط اي متل الخصائص المستخدم في هدا المتدى او الايميل
      اتمنى ان تكونو فهمتم قصدي وتستطيعون مساعدتي

    2. #2
      التسجيل
      16-05-2004
      الدولة
      Cairo, Egypt
      المشاركات
      141
      المواضيع
      2
      شكر / اعجاب مشاركة

      Cool Re: كود خصائص الخط بلغة DHTML

      will t's a tough one
      try 2 follow this and tell me
      http://forums.devshed.com/archive/t-16352
      و الجهل زاد فى البتاع, لا مقرى ولا منقول...

    3. #3
      التسجيل
      25-05-2004
      المشاركات
      11
      المواضيع
      3
      شكر / اعجاب مشاركة

      Re: كود خصائص الخط بلغة DHTML

      شكرا على الرد دخلت الى الموقع ولكن لم اجد شي من الدي اريده وعندما وجدت كود bold
      جربته عندي في الدريم ويفر ولم يعمل
      ادا كان هنالك من يساعدني فا اتمنى ان يسرع لان احتاج الى mini editor dhtml
      بأسرع وقت
      من فضلكم

    4. #4
      التسجيل
      16-05-2004
      الدولة
      Cairo, Egypt
      المشاركات
      141
      المواضيع
      2
      شكر / اعجاب مشاركة

      Re: كود خصائص الخط بلغة DHTML

      و الجهل زاد فى البتاع, لا مقرى ولا منقول...

    5. #5
      التسجيل
      25-05-2004
      المشاركات
      11
      المواضيع
      3
      شكر / اعجاب مشاركة

      Re: كود خصائص الخط بلغة DHTML

      شكرا على اهتمامك ولكن لم اجد فيه شي اريده في الموقع الدي اعطيتني اياه
      انا جهزت صفحة ادخال بلغة php واريد ان اضيف لها كود خاص بلغة Dhtml
      الدي يخص Bold,font size, color font,,lif, right
      اي باختصار اي خصائص الخط المدخل لاني اريد ان استعملها في صفحة ادخال بلغة php
      وفيها كود Dhtml الدي يمنح خصائص للخط اي متل الخصائص المستخدم في هدا المنتدى او الايميل
      اتمنى ان تكونو فهمتم قصدي وتستطيعون مساعدتي باسرع الوقت ممكن.

    6. #6
      التسجيل
      16-05-2004
      الدولة
      Cairo, Egypt
      المشاركات
      141
      المواضيع
      2
      شكر / اعجاب مشاركة

      Cool Re: كود خصائص الخط بلغة DHTML

      k, first of all, sorry for the last link, that was completly irrelevant to the subject, i sent u a wrong link
      again try this one, i think it's what u need

      http://msdn.microsoft.com/archive/de...omdownload.asp

      also, i wanted to ask u, can't u view the source code of the reply page in this forum to understand what do u want ?
      و الجهل زاد فى البتاع, لا مقرى ولا منقول...

    7. #7
      التسجيل
      25-05-2004
      المشاركات
      11
      المواضيع
      3
      شكر / اعجاب مشاركة

      Re: كود خصائص الخط بلغة DHTML

      <?php require_once('../Connections/tripoli.php'); ?>
      <?php
      function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      {
      $theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $theValue;
      switch ($theType) {
      case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
      case "long":
      case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
      case "double":
      $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
      break;
      case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
      case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
      }
      return $theValue;
      }
      $editFormAction = $HTTP_SERVER_VARS['PHP_SELF'];
      if (isset($HTTP_SERVER_VARS['QUERY_STRING'])) {
      $editFormAction .= "?" . $HTTP_SERVER_VARS['QUERY_STRING'];
      }
      if ((isset($HTTP_POST_VARS["MM_insert"])) && ($HTTP_POST_VARS["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO category (id_cat, title, active_fg) VALUES (%s, %s, %s)",
      GetSQLValueString($HTTP_POST_VARS['id_cat'], "int"),
      GetSQLValueString($HTTP_POST_VARS['title'], "text"),
      GetSQLValueString(isset($HTTP_POST_VARS['active_fg']) ? "true" : "", "defined","'Y'","'N'"));
      mysql_select_db($database_tripoli, $tripoli);
      $Result1 = mysql_query($insertSQL, $tripoli) or die(mysql_error());
      $insertGoTo = "admincategory.php";
      if (isset($HTTP_SERVER_VARS['QUERY_STRING'])) {
      $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
      $insertGoTo .= $HTTP_SERVER_VARS['QUERY_STRING'];
      }
      header(sprintf("Location: %s", $insertGoTo));
      }
      $col_category = "0";
      if (isset($HTTP_GET_VARS['id_cat'])) {
      $col_category = (get_magic_quotes_gpc()) ? $HTTP_GET_VARS['id_cat'] : addslashes($HTTP_GET_VARS['id_cat']);
      }
      mysql_select_db($database_tripoli, $tripoli);
      $query_category = sprintf("SELECT * FROM category WHERE category.id_cat=%s", $col_category);
      $category = mysql_query($query_category, $tripoli) or die(mysql_error());
      $row_category = mysql_fetch_assoc($category);
      $totalRows_category = mysql_num_rows($category);
      ?>


    8. #8
      التسجيل
      25-05-2004
      المشاركات
      11
      المواضيع
      3
      شكر / اعجاب مشاركة

      Re: كود خصائص الخط بلغة DHTML

      <html>
      <head>
      <title>&Ccedil;&Ouml;&Ccedil;&Yacute;&Eacute; &Ccedil;&aacute;&atilde;&aelig;&Ouml;&aelig;&Uacute;</title>
      <meta http-equiv="Content-Type" content="text/html; charset=">
      <link href="../home/css/main.css" rel="stylesheet" type="text/css">
      </head>
      <body bgcolor="#FFFFDF">
      <p>&nbsp;</p>
      <form action="<?php echo $editFormAction; ?>" name="form1" method="POST">
      <table width="465" height="319" align="center" bgcolor="#FFFFCC">
      <tr>
      <td width="144" height="50" align="right" valign="middle"> <div align="right">
      <input name="title" type="text" id="title">
      </div></td>
      <td width="130" align="center" valign="middle" class="tripoli"><strong>&Ccedil;&Ouml;&Ccedil;&Yacute;&Eacute;
      &Ccedil;&aacute;&atilde;&aelig;&Ouml;&aelig;&Uacute; </strong></td>
      </tr>
      <tr>
      <td align="right" valign="middle"> <textarea name="description" id="description"></textarea></td>
      <td align="center" valign="middle" class="tripoli"><strong>&aelig;&Otilde;&Yacute;
      &Ccedil;&aacute;&Icirc;&Egrave;&Ntilde;</strong></td>
      </tr>
      <tr>
      <td align="right" valign="middle"> <textarea name="text" id="text"></textarea></td>
      <td align="center" valign="middle" class="tripoli"><strong>&Ccedil;&aacute;&auml;&Otilde;</strong></td>
      </tr>
      <tr>
      <td height="33" align="right" valign="middle"> <input name="pic" type="text" id="pic"></td>
      <td align="center" valign="middle" class="tripoli"><strong>&Ccedil;&aacute;&Otilde;&aelig;&Ntilde;&Eacute;</strong></td>
      </tr>
      <tr>
      <td align="right" valign="middle"> <input name="active_fg" type="checkbox" id="active_fg" value="Y"></td>
      <td align="center" valign="middle" class="tripoli"><strong>&Ccedil;&Ugrave;&aring;&Ccedil;&Ntilde;
      &Ccedil;&aacute;&Icirc;&Egrave;&Ntilde;</strong></td>
      </tr>
      <tr>
      <td align="right" valign="middle"> <input name="flag" type="text" id="flag"></td>
      <td align="center" valign="middle" class="tripoli"><strong>&Iacute;&Ntilde;&Yacute;
      &Ccedil;&aacute;&atilde;&aelig;&Ouml;&aelig;&Uacute;</strong></td>
      </tr>
      <tr> </tr>
      </table>
      <p>

    9. #9
      التسجيل
      25-05-2004
      المشاركات
      11
      المواضيع
      3
      شكر / اعجاب مشاركة

      Re: كود خصائص الخط بلغة DHTML

      <input name="id_cat" type="hidden" id="id_cat" value="<?php echo $row_category['id_cat']; ?>">
      </p>
      <div align="center">
      <input name="id_cat" type="hidden" id="id_cat" value="<?php echo $HTT_GET_VARA['id_cat']; ?>">
      <input type="submit" name="Submit2" value="مسح">
      <input type="submit" name="Submit" value="موافق">
      </div>
      <input type="hidden" name="MM_insert" value="form1">
      </form>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      </body>
      </html>
      <?php
      mysql_free_result($category);
      ?>


    10. #10
      التسجيل
      25-05-2004
      المشاركات
      11
      المواضيع
      3
      شكر / اعجاب مشاركة

      Re: كود خصائص الخط بلغة DHTML

      اوكي هدا الكود بترتيب كود الصفح الادخال عندي مخدومة بلغة php ,وتقوم باضافة بشكل صحيح ومربوطة بقاعدة البيانات انا ماعنديش مشكلة فيها الشي الدي اريد وكما وضحت لك سابقا هو كيفية اضافة ازار المحرر او الازار الخاصة بخواص الخط من ناحية اللون, السمك, نوع الخط, ومكانه كيف اربط
      الكود dhyml مع هده الصفحة بحيت عند ادخال للموضوع يمكنني التحكم بخائص الخط كما في الايميل او المنتديات او word فاياريت تساعدني

    11. #11
      التسجيل
      16-05-2004
      الدولة
      Cairo, Egypt
      المشاركات
      141
      المواضيع
      2
      شكر / اعجاب مشاركة

      Cool Re: كود خصائص الخط بلغة DHTML

      ok, i told u follow that link, and u'll find what u want, or another soloution is to view the source of the editing page (espicialy that this website is made using php) and use it n ur project
      if u want me 2 write u the code, i am sorry, but am not that good in HTML
      u can make a post at the HTML and WEB designing sub forum.. think they'll be more helpfull there, here we r more interested in programming, not web development
      و الجهل زاد فى البتاع, لا مقرى ولا منقول...

    12. #12
      التسجيل
      25-05-2004
      المشاركات
      11
      المواضيع
      3
      شكر / اعجاب مشاركة

      Re: كود خصائص الخط بلغة DHTML

      thanks any way

    ضوابط المشاركة

    • لا تستطيع إضافة مواضيع جديدة
    • لا تستطيع الرد على المواضيع
    • لا تستطيع إرفاق ملفات
    • لا تستطيع تعديل مشاركاتك
    •