⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 03.js

📁 进行ajax开发sdsd s d sd s
💻 JS
字号:
/** * Find all <img> tags in the document that have a "ro:src" * attribute on them.  Use the value of this attribute as the URL of an  * image to be displayed when the mouse passes over the image, and set  * appropriate event handlers to create the rollover effect. * The ro: namespace prefix should be mapped to the URI * "http://www.davidflanagan.com/rollover" */function initRollovers() {    var images = document.getElementsByTagName("img");    for(var i = 0; i < images.length; i++) {        var image = images[i];        var rolloverURL = image.getAttributeNS(initRollovers.xmlns, "src");        if (rolloverURL) addRollover(image, rolloverURL);    }}// This is a made-up namespace URI for our "ro:" namespaceinitRollovers.xmlns = "http://www.davidflanagan.com/rollover";

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -