FP98: ??? ????? ????? ????? ?????? ????? ????? ?????

?????? ????????? ?????? ?????????
???? ???????: 183049 - ??? ???????? ???? ????? ????? ??? ???????.
??? ????? ??? ???????. ????? "??? ??" ??? ??? ??????? ??? ????.
????? ???? | ?? ????

?? ??? ??????

??????

????? ????? ??? ??????? ???? ?? ?????? ?? ??? ??? ??? ??? ??????? ??? ?? ????? ?? ?? ????? ??? ???????. ??? ??? ???? ??? ????????? ??????? ???? ????? ??????? ?????? ?/YY. ??? ???? ???? ????? FrontPage ??? ?????? ??????? ?????? ?/???. ???? ??? ??????? ??????? ????? ??????? ????? ???????? ???????? ?/???.

??????? ????

???? Microsoft ??????? ???????? ??? ??? ?? ???? ??????? ?? ?? ?????. ??? ????? ???? ?? ????? ??? ???????? ??????? ?????? ???????? ?? ???????? ???? ????. ????? ??? ??????? ???? ?????? ?? ??? ??????? ???? ??? ????? ?? ??????? ???? ??? ????????? ?????? ?????? ?????????. ???? ??????? ????? ??? Microsoft ??? ????? ????? ???? ???? ?? ?????? ?????? ??? ??????? ?????? ????? ?????? ?? ????? ??????? ?????? ??????? ?????.

??????? 1: ??????? "????? ?????? ??????" (????? IIS ?? MSPWS)

??? ??? ?????? ???? ??????? ?????? ?? Microsoft (IIS) ?? ???? Web ?????? ?? Microsoft (?? ??????? ASP ?????) ? ????? ??????? ????? ?????? ?????? (ASP) ???? ????? ?????? ???? ?? "????? ????? ??? ???????". ?????? ????? ???? ??????? ???????:
  1. ?? "???? FrontPage" ? ???? ?????? ???? ????? ??? ????? "????? ????? ?????".
  2. ?? ?????? ??? ???????.
  3. ?? ??????? ????? ? ???? ??? "???? FrontPage".
  4. ?? ??????? ????? ???????? A ?? ???? ?????? ????? ???? FrontPage "? ???? ??? ????? HTML ?? ???? ??? ?????.
  5. ????? ???????? ????? ASP ?????? ?? ???? ?????? ?????? HTML:
    < % FullDate = Month(date) & "/" & Day(date) & "/" & Year(date)
    ' FullDate ?? ???????? ?? ??????? ?????, ????? ? ?????.
    ' ???? ???????? ?????? ???? ????? ??????. %>
    ?? ???? ??? ?????.
  6. ????? ??? ???? ?????? ??????? ???????:
    1. ???? ??? ?????? ?????? ??? ??????? ?? ???? ??? ????? ????? ??????? ???? ????.
    2. ???? ??? ??????.
    3. ???? ??? ?????.
    4. ?? ?????? ?????? ???? DateStamp.
    5. ?? ?????? ??????? ???? <%=FullDate%>.
    6. ???? ??? ????? ???? ????.
  7. ??? ?????? ???? .asp <filename>??? <filename>?? ????? ???? ???? ??????? ??? ?????? ?????? ??.
?????? ??? ??????? ?????? ??? ????? ?????? ?????? "? ???? ??? ???? ????????? ????????? ??????? ??" ????? ??????? ?? Microsoft:
174008FP98: ?? ?? "????? ?????? ??????" ?
174015FP98: ????? ????? ????? ?????? ?????? ?? FrontPage 98

??????? 2: ??????? JavaScript (?? ????? IIS)

??? ??? ?? ?????? ???? ??????? ?????? ?? Microsoft "??" ???? Web ?????? Microsoft ? ????? ??????? JavaScript ?????? ???????.

??????: ??? ???????? ????? ????? ????? ?????? ?????? ????? ?? ????? ??????.
  1. ?? "???? FrontPage" ? ???? ?????? ???? ????? ??? ????? "????? ????? ?????".
  2. ?? ?????? ??? ???????.
  3. ?? ??????? ????? ? ??? ??? ?????? ?????? ? ?? ???? ??? ???????? ?????.
  4. ???? ?????? ???? ???????? JavaScript.
  5. ?? ???? ?????? "????" ? ???? ???????? ???????? ???????:
          // Give the function a name so the onSubmit event for the submit
          // button can call it.
          function FullYear () {
          // Create a variable called ddate that will contain the current
          // date on the client system.
          var ddate= new Date();
          // Create a variable called year that will contain the current
          // year on the client system. Note that the JavaScript getYear method
          // will return values 0 through 99 for years 1900 through 1999, but
          // it will return 2000 or higher for years above 2000.
          var year=ddate.getFullYear()
          // Analyze the current year, and if it is less than 100 (year 2000),
          // then add 1900 to it.      
          if (year > 100) {year = (year + 1900)}
          // Specify that the return value of the function FullYear shall be a
          // text string in the form of m/d/yyyy. The month portion is the
          // result of the getMonth method that returns 0 for January and 11
          // for December. Add one to that value for the common representation
          //of a month. The date portion is the result of the getDate method,
          // and the year portion is the result of the calculation within the
          // if condition in the line above.
          return ((ddate.getMonth() + 1)+ "/" + ddate.getDate()+ "/" + year);
          }
    					
  6. ???? ??? ????? ??????? HTML ?? ????? ?????? ?? FrontPage ??????.
  7. ????? ??? onClick ??? ???? ?????. ?????? ????? ???? ??????? ???????:
    1. ????? ?? ??????? HTML ???????? ???? ???? ???? ?????:
      <input type="submit" value="Submit" name="B1">
    2. ?? ?????? ????????? ???????? ??????? ??? ??? = "?1" ???? ??? > ?????:
      onClick="DateStamp.value=FullYear()"
      ??? ?? ???? ??????? HTML ???????? ?????? ??? ???:
      <input type="submit" value="Submit" name="B1" onClick="DateStamp.value=FullYear()">
    3. ????? ??? ???? ???? "DateStamp" ??? ??????? ?? ???? ????? ??????? HTML ???????? ?????? ??? ??????? ?? ?????? ???????:
      <input type="hidden" name="DateStamp">

?????

????? ?? ????????? ??? JavaScript ?????? ?????? ???? Microsoft ?????? ??? ?????:
http://www.microsoft.com/scripting/jscript
?????? ??? ???? ?? ????????? ??? ????? HTML ?????? ?????? ???? Microsoft ?????? ??? ?????:
http://msdn.microsoft.com/library/

???????

???? ???????: 183049 - ????? ??? ??????: 28/???? ?????/1435 - ??????: 3.2
????? ???
  • Microsoft FrontPage 98 Standard Edition
????? ??????: 
kbnosurvey kbarchive kbmt kbinfo KB183049 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????183049

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com