📄 importdocs1_column2.html
字号:
<!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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -