how to replace <frame> with <table> and <div&

  • Thread starter Thread starter Anonymous
  • Start date Start date
A

Anonymous

Guest
Well, you don't. Frames are designed for what you have in mind, tables are not. You can change the src of a frame, you cannot change the src of a table cell.
 
there is another option to your path...
using div tags.., iframe
and thus using DHTML
would definately suite your need
 
encapsulate the table with an iframe..
and the iframe page will have the table in it...

and on the link...
Code:
<script type="text/javascript">
function changelink() {
  d = document.getElementById("idnameofiframe");
  d.src = page.htm
}
</script>
<a href="javascript changelink('page.htm')">Page</a>
<iframe src="somepage.htm" id="idnameofiframe" width... height...></iframe>
 
Back
Top