kvarnerexpress 0 Report post Posted August 21, 2005 I have a forum and just bought a domain. The forum is free and is hosted as a subdomain and has a relly long url. I wanted to make a index.html file for my domain and host it. I would like to make a frame in the index.html that would show the forum. I would like the index.html to look like the actual forum but is acutally just a frame. All i have is a text editor. How do i make a frame in the index.html that shows the forum?thankskvarnerexpress Share this post Link to post Share on other sites
sader 0 Report post Posted August 21, 2005 (edited) Maybe this can help you This peace of html code creats iFrame in page <div id="iFrame1" style="position:absolute; left:5px; top:5px; z-index:0"><iframe name="iFrame1" width=267 height=348 src="forum.php" scrolling="yes" frameborder="1"></iframe></div> Notice from snlildude87: Remember to use the quote tags whenever using code Edited August 21, 2005 by snlildude87 (see edit history) Share this post Link to post Share on other sites
biscuitrat 0 Report post Posted August 21, 2005 Perhaps you could do a php include of the forum page? I forgot how to do frames completely after 7th grade, sorry Share this post Link to post Share on other sites
truefusion 3 Report post Posted August 21, 2005 <frameset border="0" frameborder="0"><frame src="" marginwidth="0" marginheight="0" noresize frameborder="0" framespacing="0"></frame></frameset> Make sure not to put it inbetween the body tag. Share this post Link to post Share on other sites
electriic ink 1 Report post Posted August 21, 2005 Some older browsers may not support frames, so after you've put truefusion's code between your head tags, place this between the two frameset tags: <noframes><body>Your browser does not support frames! Redirecting...<script> window.location = "http:/your.com/~longurl/"; </script></body></noframes> This must got between the frameset tags and you'll have to make the doctype html 4.01 framesets. Share this post Link to post Share on other sites
someguy 0 Report post Posted November 2, 2005 You could use Frames (or iframes), <PHP include file//>, Server-side includes or just simpily redirect users straight to the forums: <meta http-equiv="refresh" content="0; url=http://webdesign.about.com/"> Share this post Link to post Share on other sites
arboc7 0 Report post Posted November 3, 2005 I would suggest that you not use frames, but if you must, cmatcmextra's suggestion is best. Instead of frames, I would use either php includes, or just a simple redirection (preferred) to the full url. Also, you could set up you DNS settings for your domain to forward directly to the forums, and even set up a "CNAME" (i think that is what it is called) that makes your subdirectory the same as a given domain.I hope something helps...good luck!! Share this post Link to post Share on other sites
arispap2003 0 Report post Posted November 13, 2005 I suggest not to use frames because of their properties. I mean that if you want to move your site to another host maybe some add ons will destroy your page 100%....I have a special experiance on unlucky things...Try to use layer on your page with JavaScript ......Good luckarispap2003 Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted November 14, 2005 This works for me... simply include the http reference to pick up your live forum. This code shows the size as a percentage. It could also be in em's or px. Iframe tags are css2 and css1 reccomendations. <iframe id="" src="http://forums.xisto.com/no_longer_exists/; width="40%" height="40%"></iframe> Hope this helps. Share this post Link to post Share on other sites