PDA

View Full Version : Questions about Frames with VB3



romanticyao
Sun 28th Dec '03, 2:12pm
I want to have my forum look like this:

http://www.vaio.sony.co.jp/

a top frame with all my logo, menu inside it. and another frame with my forum content. I guess the code might look like this:



<HTML>
<HEAD>
<TITLE>VAIO</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Shift_JIS">
</HEAD>
<FRAMESET ROWS="39,*" COLS="*" FRAMEBORDER="NO" BORDER="0" FRAMESPACING="0">
<FRAME NAME="navi_top" SCROLLING="NO" noresize SRC="/Common/Navi/navi.html" FRAMEBORDER="NO" >
<FRAME NAME="body_top" noresize SCROLLING="AUTO" SRC="index_body.html" FRAMEBORDER="NO"></FRAMESET>
<NOFRAMES>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
</BODY>
</NOFRAMES>
</HTML>


if so, i have few problem:

First, what do i put in as SRC=" " for my forum content? (see the redline)

Second, where do i insert the code above? in which vb template(s)?

Mirical Bernd
Mon 5th Jan '04, 11:34am
You cannot enter it into a template. Just use an index.htm. And in src for the forum content, put index.php or /forum/index.php - whereever you installed your forum.

My opinion however is, that it is rather useless to use frames. Especially, because if there are links in the forum which use TARGET="_top" the frameset will collapse. You can insert the design of your site directly using the replacements. Create the following replacements:

<design_header>
Add it to the header-template at the very beginning.
<design_footer>
Add it to the footer-template at the very beginning.
<owncss>
Add it to the headinclude-template near the original CSS.

Now you can edit the replacement-variables and enter the HTML-Code that you need to have the design in it. You can use a table to which you open in <design_header> and close in <design_footer> to have the forum behave the way you wish in terms of alignment and width.

I hope I was able to help you :)

romanticyao
Mon 5th Jan '04, 2:26pm
thank you for help buddy;)