Computing.Net > Forums > Web Development > links from menu bar

links from menu bar

Reply to Message Icon

Original Message
Name: howslow
Date: July 8, 2005 at 13:06:14 Pacific
Subject: links from menu bar
OS: Xp
CPU/Ram: 512
Comment:

I'm working on this site where on the main index I have 3 columns, on the left column I have my menu bar with drop downs. Then in the middle column I have some content and then the right column I have some small pictures and some news content. The Middle column is the widest column of the 3. I was try to figure out how I can get the links on the left column menu bar to open in the center column, so when I click on each link it just changes the content in the middle column and not the outer ones what is the best way to do this ?

Thanks for any Help...
John


Report Offensive Message For Removal


Response Number 1
Name: FBI Agent
Date: July 8, 2005 at 20:09:14 Pacific
Subject: links from menu bar
Reply: (edit)

from what i know, you have four options:

1)making new HTML pages
2)using frames (i would go against using this method)
3)making a PHP conditional and headers (i would use this probably)
4) javascript stuff (i dont know javascript)

there may be a dhtml way of doing this but i dont know how that goes and i'd rather just use php. as for the easiest method, just make new html pages

FBI Agent

AIM: EliteAssassin187


Report Offensive Follow Up For Removal

Response Number 2
Name: randy1959
Date: July 9, 2005 at 00:57:09 Pacific
Subject: links from menu bar
Reply: (edit)

Maybe you could use an inline frame in the center column and use your links to display your content in the frame.



Report Offensive Follow Up For Removal

Response Number 3
Name: howslow
Date: July 9, 2005 at 01:27:55 Pacific
Subject: links from menu bar
Reply: (edit)

how does the inline frame work ? guess I'll do some serching.

How hard would the PHP thing to do . I'm kind of new to all this but learning fast...


Report Offensive Follow Up For Removal

Response Number 4
Name: Laler
Date: July 9, 2005 at 05:40:16 Pacific
Subject: links from menu bar
Reply: (edit)

How hard would the PHP thing to do . I'm kind of new to all this but learning fast...

Got the idea of iframe yet? If you use PHP, you actually still have all the columns in a single page, this is the (big) difference with using frames. Each has its own advantage/disadvantage.

This is where I got introduced to PHP templating:
http://www.phpfreaks.com/tutorials/8/0.php

---
Site of the Day


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: links from menu bar

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




How often do you use Computing.Net?

Every Day
Once a Week
Once a Month
This Is My First Time!


View Results

Poll Finishes In 3 Days.
Discuss in The Lounge