|
|
|
|
![]() ![]() |
Aug 21 2005, 12:23 AM
Post
#1
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 407 Joined: 13-December 04 Member No.: 2,696 |
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?
thanks kvarnerexpress |
|
|
|
Aug 21 2005, 12:37 AM
Post
#2
|
|
|
Member [Level 2] ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 86 Joined: 18-July 05 From: Lithuania Member No.: 9,570 |
Maybe this can help you
This peace of html code creats iFrame in page CODE <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> This post has been edited by snlildude87: Aug 21 2005, 12:40 AM |
|
|
|
Aug 21 2005, 12:57 AM
Post
#3
|
|
|
Kween of Everything :) ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1,052 Joined: 16-October 04 From: Houston, Tejas :D Member No.: 1,774 |
Perhaps you could do a php include of the forum page? I forgot how to do frames completely after 7th grade, sorry
|
|
|
|
Aug 21 2005, 01:11 AM
Post
#4
|
|
|
Ephesians 6:10-17 ![]() Group: [MODERATOR] Posts: 1,918 Joined: 22-June 05 From: The World of Gentoo Member No.: 8,528 |
CODE <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. |
|
|
|
Aug 21 2005, 07:59 AM
Post
#5
|
|
|
Incest is a game the whole family can play. ![]() Group: [MODERATOR] Posts: 1,223 Joined: 11-February 05 From: Heaven Member No.: 3,709 |
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:
CODE <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. |
|
|
|
Nov 2 2005, 12:28 PM
Post
#6
|
|
|
Newbie [Level 2] ![]() ![]() Group: Members Posts: 31 Joined: 2-November 05 Member No.: 13,705 |
You could use Frames (or iframes), <PHP include file//>, Server-side includes or just simpily redirect users straight to the forums:
CODE <meta http-equiv="refresh" content="0; url=http://webdesign.about.com/">
|
|
|
|
Nov 3 2005, 04:28 AM
Post
#7
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 123 Joined: 5-September 05 Member No.: 11,522 |
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!! |
|
|
|
Nov 13 2005, 05:49 PM
Post
#8
|
|
|
Newbie [Level 1] ![]() Group: Members Posts: 12 Joined: 13-November 05 Member No.: 14,215 |
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 luck arispap2003 |
|
|
|
Nov 14 2005, 09:15 PM
Post
#9
|
|
|
A computer once beat me at chess, but it was no match for me at kick boxing. ![]() Group: [MODERATOR] Posts: 4,083 Joined: 24-July 05 From: Linix, DOS and Windows…the good, the bad and the ugly Member No.: 9,787 ![]() |
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.
CODE <iframe id="" src="http://www.jlhaslip.trap17.com/forum/" width="40%" height="40%"></iframe> Hope this helps. |
|
|
|
![]() ![]() |