 |
|
 |
| |
Developer on focus
Anton Zamov is a dipl. engineer with more than 6 years of active professional
experience and many awards ...
read more>>
|
|
 |
 |
 |
|
 |
|
 |
| |
|
How to load web pages in an iframe?
|
<span id=AddressBar
style="overflow: none">
<span
id=AddText>Address</span>
<input type=text
value=http://www.microsoft.com
id=TheAddress
style="width: expression(document.body.clientWidth -
AddText.offsetWidth -
AddGo.offsetWidth - 45)">
<input type=button
value="Go"
id=AddGo onclick="navigate()"><br>
<span>
<br>
<iframe
src="http://www.microsoft.com" id=TheFrame
style="width:
100%; height: 85%"></iframe>
<script language=JScript>
function navigate() {
document.all.TheFrame.src = TheAddress.value;
}
function clickShortcut() {
if (window.event.keyCode == 13) {
navigate()
}
}
TheAddress.onkeypress =
clickShortcut;
</script>
|
About the author of this programming example or tutorial:
Anton Zamov is a software engineer with more than6 years
of active experience in web and software development and design.
Anton Zamov has extensive experience and broad knowledgebase
in C# and JAVA programming and has created a lot of
running e-commerce systems, portals and content management
systems using PHP and other web development technologies.
For more information about Anton Zamov, you may visit the personal web site of
Anton Zamov.
|
|
|
 |
 |
 |
|
|