- 1、本文档共13页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
外文原文 Web Page Design Using JavaScript
THE BASICS JAVASCRIPT uses a subset of the programming language JAVA to provide a high level of interactivity on a web page. JavaScripts are stored within an HTML document and are interpreted by the web browser. JavaScripts may be located within the HTML code at the point in the page where they are to appear on the screen or they may be written using functions. Functions are small subprograms that are stored between the head tags of an HTML document and are called on to be executed when a particular event occurs. Whether the script is stored between the head tags or within the body of the HTML document, it must be enclosed in script tags. Also, a set of HTML comment tags are typically used inside the script tags so that older browsers that do not support JavaScript will ignore the script and continue to process the page without errors. Following is an example of the script and comment tags:
script language=javascript!--
Include JavaScript Code Here
//--/script
Be aware that JavaScript is case sensitive...the difference between a working script and an error message can be one capital letter. ALERT BOXES To pop up an alert box include the following line of code inside of script tags in the body of your HTML document. Please note that the processing of the page will stop until the viewer responds to the alert box.
alert (Place the text to be displayed in the alert box between these quotes.)
Other types of pre-made dialog boxes are available such as the prompt and confirm boxes. In order to take full advantage of the features of these dialog boxes you must write more JavaScript code which can use the values that are returned by the dialog boxes. The following statements will pop up a dialog box that requires a yes or no answer (OK or Cancel). If the answer is OK then the variable named answer has a value of true and if the answer is Cancel then the variable named answer has a value of false. Y
您可能关注的文档
- 材料工程专业外文翻译--从粉煤灰中提取高纯度明矾和氧化铝.doc
- 财务管理专业外文翻译--国际财务报告准则:未来之路.doc
- 采油工程专业外文翻译--连续油管在侧钻应用上的最新技术和进展.doc
- 测绘工程专业外文翻译--GPS数据的处理方法在结构变形监测的应用.doc
- 车辆工程专业外文翻译.doc
- 电气工程及其自动化专业外文翻译--提高塔式复合人工湿地处理农村生活污水的脱氮效率.doc
- 电气工程及其自动化专业外文翻译--直流电机的介绍.doc
- 电气工程及其自动化专业外文翻译--综合的温湿控制.doc
- 电气工程专业外文翻译--电阻率测量瑞典南部的Enemossen尾矿坝的安全评价.doc
- 电气自动化专业外文翻译--电力系统低频振荡和储能系统.doc
- 2025年山东省招远市事业单位考试(中小学教师类D类)职业能力倾向测验试卷及答案1套.docx
- 国开电大-遗传育种学 形考任务4-实验三 果蝇唾腺染色体的制备和观察-试验报告.doc
- 2025年江苏省宿迁市沭阳县高三下学期数学基础题、中档题型强化训练.docx
- 2025年新疆维吾尔自治区克州阿图什市高三下学期4月联考数学试卷.docx
- 后补发票合同范本.docx
- 2025年广东省河源市龙川县高三下学期第八周周测数学试卷.docx
- 2025年山东力明科技职业学院单招职业倾向性测试题库1套.docx
- 2025年山东省招远市职业能力倾向测验事业单位考试(中小学教师类D类)试题新版.docx
- 16《大林和小林》精彩语录+读后感.docx
- 2025年新疆维吾尔自治区和田地区策勒县高三下学期4月联考数学试卷.docx
最近下载
- JBL PartyBox 1000用户中文手册.pdf
- 2023年牛津译林版七年级英语下册《Unit 4》单元测试(附答案).doc VIP
- 《计算机网络技术基础 》(王崇刚)教案 (理论部分) 网络体系结(一)网络体系结构概述.pdf VIP
- AP物理2 单元练习题1 Fluids and Thermal Physics.pdf VIP
- 《计算机网络技术基础 》(王崇刚)教案 (实训部分) 上机实训(七) .docx VIP
- EPC工程设计管理主要内容.docx
- 装修公司融资商业计划书(精选5).pptx
- 生化期末考试吉林大学2015.pdf VIP
- 计算机网络技术基础与实训.pptx VIP
- 2023年牛津译林版七年级英语下册Unit8 测试题(附答案).doc VIP
文档评论(0)