如果只下载源代码,可以,搜索一下,有很多方法 了
解决方案 »
- 帮帮忙!解释下这段代码,谢谢啊!
- 如何禁止拖拽图片弹出网页并显示该图片和其地址
- 百分求助360js兼容问题~很头大啊,在asp区发帖木有人理
- 如何取得剪贴板中复制的本地文件路径啊?clipboardData.getData("URL")取不到图片数据呢 ?
- 如何让XMLHTTP在FF上也能正常运行?
- 求助:页面用到浮动框架,如何实现点击框架里面的内容,刷新主页面而不刷新框架里面的内容
- http://webfx.eae.net/ 请教几高难问题(对我)
- 打开一个窗口为满屏显示的问题!?
- IE升级到6.0.2800.XXXX后弹出无边框窗口不能控制大小了,帮帮我吧
- JS基础题 ,求大神帮忙看看做的对不对
- 寻找about javascript 所有函数的电子手册
- 我想在日历里显示"农历壬午年(马) 七月十九 ",是怎样做的呢?
//search in .com .net .org .edu if can't find then display the invalidsite.htm
window.external.AutoScan("yangling","InvalidSite.htm","_main");
//clear document document.write(""), followed by document.close.
</script>
<HTML>
<HEAD>
<TITLE>Popup Example</TITLE><SCRIPT LANGUAGE="JScript">
var oPopup = window.createPopup();
function ButtonClick()
{
var oPopBody = oPopup.document.body;
oPopBody.style.backgroundColor = "lightyellow";
oPopBody.style.border = "solid black 1px";
oPopBody.innerHTML = "Click outside <B>popup</B> to close.";
oPopup.show(100, 100, 180, 25, document.body);
}
</SCRIPT>
</HEAD><BODY>
<BUTTON onclick="ButtonClick()">Click Me!</BUTTON>
<script>
function AddLink()
{//Identify selected text
var sText = document.selection.createRange();
if (!sText==""){
//Create link
document.execCommand("saveAs");
//Replace text with URL
if (sText.parentElement().tagName == "A"){
sText.parentElement().innerText=sText.parentElement().href;
document.execCommand("ForeColor","false","#FF0033");
}
}
else{
alert("Please select some blue text!");
}
}
</script>
<P unselectable="on">Select any portion of the following blue text, such as "My favorite Web site". Click the button to turn the selected text into a link. The text will be changed to the URL that you specify.</P>
<P style="color=#3366CC">My favorite Web site is worth clicking on. Don't forget to check out my favorite music group!</P><BUTTON onclick="AddLink()" unselectable="on">Click to add link</BUTTON>
</BODY>