【正文】
如果一個(gè)對(duì)象被評(píng)為 4 星級(jí),那只需將一顆星的圖片循環(huán)顯示 4 次,類推即可。建立一個(gè) ASP 頁(yè)面,你所需的只是打開(kāi)一個(gè)文本編輯器,如:Notepad,然后跟我開(kāi)始動(dòng)手編寫第一個(gè) ASP 程序。 ASP 運(yùn)行環(huán)境: MicrosoftPersonalWebServeronWindows95/98 正如前文所述,與一般的程序不同, .asp 程序無(wú)須編譯, ASP 程序的控制部份,是使用 VBScript、 JScript 等腳本語(yǔ)言來(lái)設(shè)計(jì)的,當(dāng)執(zhí)行 ASP 程序時(shí),腳本程序?qū)⒁徽酌畎l(fā)送給腳本解釋器 (即腳本引擎 ),由腳本解釋器 進(jìn)行翻譯并將其轉(zhuǎn)換成服務(wù)器所能執(zhí)行的命令。有了 ASP 你就不必?fù)?dān)心客戶的瀏覽器是否能運(yùn)行你所編寫的代碼,因?yàn)樗械某绦蚨紝⒃诜?wù)器端執(zhí)行,包括所有嵌在普通 HTML 中的腳本程序。 (ActiveX 服務(wù)器元件 )具有無(wú)限可擴(kuò)充性。 ASP 的出現(xiàn)使得廣大WEB 設(shè)計(jì)者不必在為客戶瀏覽器是否支持而擔(dān)心,實(shí)際上就 算你在同一個(gè) .asp文件中使用不同的腳本語(yǔ)言,你都無(wú)須為此擔(dān)憂,因?yàn)樗械囊磺卸紝⒃诜?wù)器端進(jìn)行,客戶瀏覽器得到的只是一個(gè)程序執(zhí)行的結(jié)果,而你也只需在 .asp 中聲明使用不同的腳本語(yǔ)言即可。 在本期的最后讓我們?cè)賮?lái)看看 ASP 的循環(huán)功能,譬如你希望當(dāng)客戶在晚間7:00 至凌晨 0:00:00 瀏覽你的頁(yè)面時(shí),在頁(yè)面中央顯示 6 個(gè)笑臉表示問(wèn)候,那么你只需要將以下命令剪貼到“ GoodEvening!”后面即可: %fori=1to6% pcenterimgsrc=width=32height=32alt=晚上好 /p %next% 這是一個(gè)最最基本的循環(huán)語(yǔ)句,它將一個(gè)笑臉圖片重復(fù)調(diào)用六次并顯示在頁(yè)面上。t were spread a machine, because of and can to avoid to do not need a source for writing distance preface drive his person , also lift high the peaceful whole sex of the distance preface. 7. Can make use the feet that a machine carry this produce to living a feet for the door carry this. 8. The thing piece leads the direction.( Object oriented) ActiveX Server Components( ActiveX a machine a piece) have to have no limit can . Can to make to use the Visual Basic, Java, Visual C++, COBOL etc. plait distance language speech weaves to write your an ActiveX for needing wanting Server Component. ASP strange and wonderful a dream for true is not of raising, descending pleasing eachly is very peaceful and allly taking, I will taking getting big house entering into ASP a life time boundary. A wreath for first, letting I ing seeing carrying a line ofly the ASP need : Microsoft Inter Information Server version Microsoft Peer Web Services Version on Windows NT Workstation Microsoft Personal Web Server on Windows 95/98 It is positive to is not such as the ex text a distance for saying, with first sort preface together,.The asp distance preface has no and must weave to translate, the ASP distance preface controls to make a, is to make establish with VBScript, JScript...etc. feet this language speech to account of, be the an ASP distance preface, feet this distance preface will a the whole set of life ream hair sends to release feet this solution the machine( namely feet this lead the ), being released by feet this solution the machine enter a line of turning over to translate to bine its turn to change a life for can the line of ream. When however, together its he weave the distance language talks a kind, the ASP distance preface plait writes too the follows a the rules that settle is then, such as fruit you wants to make use your a feet for pleased love this language speech plait writes the ASP distance preface, that you of a machine the top must have necessarily and can solve feet this solution that release this type of feet this language speech releases the machine. When you are peaceful to pack the ASP, is the lifted to provide two kinds of feets this language speech: VBsrcipt with JScript, but the VBscript were then made for is feet this language speech that recognize. You too can with root according to from F of pleased like to change to bee is feet this language speech that recognize. ASP this body is not a kind of feet this language to talk, its is a wreath to lifted to provide a kind of making got in HTML page feet in this distance preface to carry line . But is, to learn the good ASP again and necessarily must the language method that hold it is then with the rules. Now at let I open to start a step per step ground recognizes to know to bine to learn the Active Server Pages. ASP distance preface its solid regard exhibition pure text this form type save to can contain with the pack in on the WEB a machine of, you can then use term why text this plait machine beat open it, ASP distance preface the pure text this, HTML mark records with and feet this life makes. You need asp distance preface puts the in WEB a machine intends eyes record the bottom( that eyes record to must have necessarily can a power limit), can visited to ask the ASP distance preface over the WWW square type with the . Toing learn the good ASP distance preface establish to account, necessarily must the plait that hold the feet this write, that investigate unexpectedly