`
sandy_leen
  • 浏览: 70328 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

Java Script note

 
阅读更多

1.<!--

在不支持js的浏览器里,这段代码就可以不显示

  //-->

  

2.

Javascript写在<body></body>中,当浏览器载入网页Body部分的时候,就执行其中的Javascript语句.

Javascript写在<head></head>中,有时候并不需要一载入HTML就运行Javascript,而是用户点击了HTML中的某个对象,触发了一个事件,才需要调用Javascript。

 

3.

// break out of frames

if (self.parent.frames.length != 0) {

self.parent.location=document.location;

}

 

4.

color: #000000;黑色

color: #dddddd;灰色

color: #ffffff;白色

color: #ff0000;红色

color: #0000ff;蓝色

 

分享到:
评论

相关推荐

    Java 1.6 API 中文 New

    java.security.interfaces 提供的接口用于生成 RSA Laboratory Technical Note PKCS#1 中定义的 RSA(Rivest、Shamir 和 Adleman AsymmetricCipher 算法)密钥,以及 NIST 的 FIPS-186 中定义的 DSA(数字签名算法)...

    JAVA上百实例源码以及开源项目源代码

    同时一个mail note将被发送给消息发送者,发送一个e-mail通知给由recipient参数确定的e-mail账号,查询mail 服务器的会话……  还包括消息客户端程序,通过连接创建会话。创建发送者和映射消息。发送消息,同时对...

    JAVA上百实例源码以及开源项目

    同时一个mail note将被发送给消息发送者,发送一个e-mail通知给由recipient参数确定的e-mail账号,查询mail 服务器的会话……  还包括消息客户端程序,通过连接创建会话。创建发送者和映射消息。发送消息,同时对...

    [Java参考文档].JDK_API 1.6

    java.security.interfaces 提供的接口用于生成 RSA Laboratory Technical Note PKCS#1 中定义的 RSA(Rivest、Shamir 和 Adleman AsymmetricCipher 算法)密钥,以及 NIST 的 FIPS-186 中定义的 DSA(数字签名算法)...

    JavaSE-6.0-英文手册(2008/11/30_FullUpdate)

    (included in the JDK documentation bundle and on java.sun.com ) Note About sun.* Packages The Java Language Specification (DOWNLOAD) The Java Virtual Machine Specification (DOWNLOAD) -----------...

    利用 Oracle 和 PHP 管理分布式跟踪文件

    The supplied create script is for demo purposes only. You will need to specify a password and you may also want to assign alternative default and temporary tablespaces. create the external library ...

    windows下 eclipse+ndk编译及使用jni示例

    (Note: 编译完成后不要忘记了刷新项目)。 7.) 重新编译和部署项目,就可以看到已经包含了.so的apk运行在目标机上了。 摘自 http://stackoverflow.com/questions/13654678/how-compile-c-project-via-android-ndk ...

    SQL Query Intellisense and Database Design Tool BDB 2.7.0.3

    NOTE: The difference between BDB Professional and Developer Edition: Developer Edition does not include support for database deployment. For more informations, Please visit Bainsoft web site: ...

    DWR2项目实践 用例源代码(2)

    由于比较大分包压缩:总计...use the Ant build script found in xxxx/WEB-INF/src, where xxxx is the name of the webapp. Please note that the exploded webapp IS NOT ready to go as-is, it has to be compiled

    DWR2项目实践 用例源代码(3)

    由于比较大分包压缩:总计...use the Ant build script found in xxxx/WEB-INF/src, where xxxx is the name of the webapp. Please note that the exploded webapp IS NOT ready to go as-is, it has to be compiled

    DWR2项目实践 用例源代码(4)

    由于比较大分包压缩:总计...use the Ant build script found in xxxx/WEB-INF/src, where xxxx is the name of the webapp. Please note that the exploded webapp IS NOT ready to go as-is, it has to be compiled

    DWR2项目实践 用例源代码(5)

    由于比较大分包压缩:总计...use the Ant build script found in xxxx/WEB-INF/src, where xxxx is the name of the webapp. Please note that the exploded webapp IS NOT ready to go as-is, it has to be compiled

    DWR2项目实践 用例源代码(1)

    由于比较大分包压缩:总计...use the Ant build script found in xxxx/WEB-INF/src, where xxxx is the name of the webapp. Please note that the exploded webapp IS NOT ready to go as-is, it has to be compiled.

    Magisk-master-1.zip

    Java Development Kit (JDK) 8: Compile Magisk Manager and sign zips Latest Android SDK: set ANDROID_HOME environment variable to the path to Android SDK Android NDK: Install NDK along with SDK ($...

    html2canvas

    The selenium standalone server (runs on Java) is required for these tests and can be downloaded from here. They capture an actual screenshot from the test pages and compare the image to the ...

    Microsoft Visual Studio

    Common\Graphics\bitmaps\assorted\note.bmp Common\Graphics\bitmaps\assorted\notebook.bmp Common\Graphics\bitmaps\assorted\phone.bmp Common\Graphics\bitmaps\assorted\pin.bmp Common\Graphics\bitmaps\...

    外文翻译 stus MVC

    This article introduces Struts, a Model-View-Controller implementation that uses servlets and JavaServer Pages (JSP) technology. Struts can help you control change in your Web project and promote ...

    javascript实现节点(div)名称编辑

    代码如下: ”img_1″ id=”img_1″&gt;  &lt;... ”noteText” id=”noteTxt” type=”text” xss=removed&gt;123 js编辑noteTxt文本,function如下: 代码如下:  function changeName(noteTxtId){  

    spring-mvc-angular-seed:带有 spring-mvc 和 angular 的 Web 应用程序种子项目

    在 tomcat-users.xml 中将“manager-script”角色授予用户“tomcat”, &lt;!-- NOTE: By default, no user is included in the "manager-gui" role required to operate the "/manager/...

Global site tag (gtag.js) - Google Analytics