email links to sites using frames

liunx

Guest
My site uses frames. The problem I am having with this is that when I send someone an email link to a specific html page on the site the page is displayed without the heading and menu which are both frames. Is there any way to resolve this?<br />
<br />
What are my alternatives to using frames apart from copying the menus onto each page?<br />
<br />
Thanks.<!--content-->Here is a thread that will tell you how...<br />
<br />
<!-- m --><a class="postlink" href="http://forums.webdeveloper.com/showthread.php?s=&threadid=2197">http://forums.webdeveloper.com/showthre ... eadid=2197</a><!-- m --><br />
<br />
swon's method (second post) is the best bet, if you have PHP. If not, my method (third post) is good. If you use mine, remember to specify a <noscript> frameset, for users without javascript...<!--content-->Thanks for your help Pyro. I'm almost there but not quite. <br />
My version of the link you sent me is <br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"http:\\gv06edwa\intranet\home.htm?scn.htm">Force page into frameset</a><br />
<br />
When I use this link, scn.htm briefly displays within the frames but then changes to home.htm which is my index page.<br />
<br />
Below is a list of my code for home.htm. I'd appreciate any help you could give me. <br />
<br />
Tommy.<br />
<br />
<html><br />
<head><br />
<title>Student Awards Agency for Scotland Intranet Site</title><br />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><br />
<script type="text/javascript"><br />
<br />
<!--Hide<br />
linkURL = "home.htm" //set the default URL to load if there was no referrer<br />
if (top.location.href) { //to be compatible with IE use top.location.href instead of parent.document.URL<br />
pageURL = top.location.href //set the top.location.href to parentURL<br />
if (pageURL.indexOf('?') != -1) { //Check for the referring page<br />
linkURL = pageURL.substring (pageURL.indexOf('?')+1, pageURL.length) //parse the top.location.href to remove everything before the ?<br />
}<br />
}<br />
document.write('<frameset cols="140,*" frameborder="NO" border="0" framespacing="0" rows="*">')<br />
document.write('<frame name="navFrame" src=http://www.webdeveloper.com/forum/archive/index.php/"nav.htm" noresize scrolling="no" marginwidth="0" marginheight="0">')<br />
<br />
document.write('<frameset rows="15,*" frameborder="NO" border="0" framespacing="0" cols="*">')<br />
document.write('<frame name="padFrame" src=http://www.webdeveloper.com/forum/archive/index.php/"pad.htm" scrolling="NO" noresize marginwidth="0" marginheight="0">')<br />
<br />
document.write('<frameset rows="40,*" frameborder="NO" border="0" framespacing="0" cols="*">')<br />
document.write('<frame name="topFrame" src=http://www.webdeveloper.com/forum/archive/index.php/"title.htm" scrolling="NO" noresize marginwidth="0" marginheight="0">')<br />
<br />
document.write('<frameset rows="35,*" frameborder="NO" border="0" framespacing="0" cols="*">')<br />
document.write('<frame name="headerFrame" src=http://www.webdeveloper.com/forum/archive/index.php/"t_mainhome.htm" scrolling="NO" noresize marginwidth="5" marginheight="0">')<br />
<br />
document.write('<frame name="mainFrame" src=http://www.webdeveloper.com/forum/archive/index.php/"' + linkURL + '"NAME="homepage" noresize scrolling="AUTO" marginwidth="20" marginheight="20">')<br />
<br />
document.write('<\/frameset>')<br />
document.write('<\/frameset>')<br />
document.write('<\/frameset>')<br />
document.write('<\/frameset>')<br />
document.write('<noframes>')<br />
document.write('<body bgcolor="#FFFFFF" text="#000000">')<br />
document.write('<\/body>')<br />
document.write('<\/noframes>')<br />
<br />
//End hide--><br />
</script><br />
<br />
</head><br />
<br />
</html><!--content-->Post a link to your site...<!--content-->Ahh..just saw it was an intranet...Never mind :) Maybe you could zip up the relavant pages and post it that way...?<!--content-->Here is the files. home.htm is the index page and scn.htm is an example of a page I may want to link directly to.<!--content-->
 
Back
Top