Page 1 of 1

Create a menu in block to open in same block

PostPosted: Fri Mar 30, 2007 5:32 pm
Author: .QUACK.Major.Pain
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Beginner
Board URL: http://www.aaquacks.com/forum

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?




De.scription and Message

Hope I explain it properly LOL

I want a center block to show a menu. When a item in the menu is clicked, it opens that page in the same block as the menu.

My present menu is:

[align=center:huutxwl5][size=99px]

When you click on one of the items, it opens a new screen. I want it to open in the block.
I would also need to have the block automatically open to the proper size so everything is visable without having to scroll.

I setup an iframe:

<P><iframe></iframe></p>

Use the first item in the menu as an example, menu shows "Clan Stats" when clicked on, it would result in the iframe. Of course the coding would have to be the same. LOL

If someone could show me the first one, I can figure the rest out myself.

Thx

Re: Create a menu in block to open in same block

PostPosted: Fri Mar 30, 2007 8:16 pm
Author: Helter
upload the whole folder, "block" to forum root

make a center block using html with this code

Code: Select all
 <table>    <tr>        <td><iframe></iframe>        </td>    </tr></table>  

Re: Create a menu in block to open in same block

PostPosted: Fri Mar 30, 2007 9:06 pm
Author: .QUACK.Major.Pain
Not exactly what I was looking for, will play around with it.

Was thinking more like menu disappears and page appears.

Then maybe have a link at bottom of page "Back To Menu"

Re: Create a menu in block to open in same block

PostPosted: Fri Mar 30, 2007 9:53 pm
Author: .QUACK.Major.Pain
I tried to modify your files myself. I got the block.html the way I wanted.
The other pages don't change though.
Want to remove the menu on the left and just have the page.
Then maybe add "Return To Menu" at the bottom of each page to bring you back to block.html

I attached the zip file with what I tried to change.

I also change the block code to open block.html instead on refresh

Re: Create a menu in block to open in same block

PostPosted: Sat Mar 31, 2007 6:51 am
Author: .QUACK.Major.Pain
Actually I got it all working great, but didn't like the way it looked.
Gonna try to use this for a new home page instead.