importdocs1_column2.html
来自「Ajax tutorial archive」· HTML 代码 · 共 36 行
HTML
36 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>
Introduction to Ajax Tutorial
</title>
</head>
<body>
<p class="main">
One of the limitations of the xmlhttprequest object is that
it cannot handle the importing of media such as images,
flash, svg etc directly. To conceptualize this, let us
attempt to import an image directly into a document via
xmlhttprequest. Again this is one of those scenarios where it
is better to view the example with Firefox, Opera 8 rather
than IE. IE will just throw an error, which is perfectly
acceptable, but doesnt give us much in the way of
conceptualising what is occuring.
</p>
<p>
<a href=
"http://dhtmlnirvana.com/ajax/ajax_tutorial/examples/example6/index.html"
target="_blank" title="Import Image Example">View
Example</a>
</p>
<p class="main">
As you can see the image doesn't render since it is a
binary format which cannot be parsed correctly by an
xmlhttprequest object. And since we want to build an image
gallery widget powered by Ajax we definitely need images
imported into a document. Let's fix that.
</p>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?