Forum Moderators: open
Here is my home page and it shows the website correctly.
<snip>
Here is a link to the About US.htm that uses the master.html and javascript fix.
http://www.example.com/master.html?http://www.example.com/About_Us.htm
Here is my code for the portion of the master.html file where I inserted the javascript. Again, any help would be greatly appreciated! Thanks in advance!
<td width="1000" height="498" align="center">
<!-- Orphaned Content Page Fix -->
<script language="JavaScript" type="text/JavaScript">
origURL = parent.document.URL
contentURL = origURL.substring(origURL.indexOf('?')+1, origURL.length)
document.write('<iframe src=\"' + contentURL + '\" name="main" width="1000" height="100%" frameborder="0" marginwidth="0" marginheight="0" scrolling="auto"><\iframe>')
</script></td>
<td> </td>
</tr>
<tr>
<td height="3"> </td>
<td width="1000" height="3"><div align="center"><img src="images/Home%20Page/Footer-bar.png" width="1000" height="3" alt="Footer Bar"></div></td>
<td height="3"> </td>
</tr>
<tr>
<td> </td>
<td height="20"><div align="center"><img src="images/Home%20Page/Footer.png" alt="Address & Phone Numbers" width="1000" height="45"></div> </td>
<td> </td>
</tr>
</table>
</body>
</html>
[edited by: bill at 2:25 am (utc) on Nov. 18, 2009]
[edit reason] No links to your own sites or examples please [/edit]