Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>If you don't want to use the iFrames, you can very well use Object element of HTML. Follow here to see and html example. You can very well use this for aspx also with some change, like using OnClientClick property for aspx button etc.</p> <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt; &lt;head&gt; &lt;title&gt;mouseover image position&lt;/title&gt; &lt;meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /&gt; &lt;style type="text/css"&gt; /*&lt;![CDATA[*/ body { background-color:#aaaaff; } #one { position:absolute; left:50%; top:50%; margin:-150px 0 0 -250px; } object { width:500px; height:300px; border:solid 1px #000000; } /*//]]&gt;*/ &lt;/style&gt; &lt;script type="text/javascript"&gt; //&lt;![CDATA[ // written by: Coothead function updateObjectIframe(which){ document.getElementById('one').innerHTML = '&lt;'+'object id="foo" name="foo" type="text/html" data="'+which.href+'"&gt;&lt;\/object&gt;'; } //]]&gt; &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="one"&gt; &lt;object id="foo" name="foo" type="text/html" data="http://www.w3schools.com/"&gt;&lt;/object&gt; &lt;/div&gt; &lt;div&gt; &lt;a href="http://www.google.com" onclick="updateObjectIframe(this); return false;"&gt;this is an object test not an iframe test&lt;/a&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload