Go Back   Computer Forums > Web Design | Website Development > Web Programming
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 06-08-2011, 11:16 PM   #1
Beta Member
Join Date: Nov 2010
Posts: 3
Default Can I have a menu in a frame and its contents show inside a second frame via php feed

I built a website and the CSS is something like this

<frame 1>

<frame 2>

<frame 3>


Currently I'm containing an iframe within <frame 2> which is an archives list that feeds from an html file with links. Each link opens a completely new page with exactly same structure as the last one only that the selected material is shown in <frame3 >

Currently I changed all my pages to PHP to be able to manipulate the top menu bar and feed it to all pages.

This is what I want to do now:
I want to have the archives menu shown inside the vertical <frame 2> and once something is selected, the contents of the file clicked are fed and shown inside <frame 3> from a PHP file. My goal is so I don't have to include so much code in every single page. Just have one, and just fill <frame 3> with whatever is selected from the archives' list in <frame 2>

Can someone point me the path?

Thank you!!!

event_horizon is offline   Reply With Quote
Old 12-27-2011, 06:52 PM   #2
Baseband Member
dIxie's Avatar
Join Date: Jan 2010
Location: Canada
Posts: 68
Default Re: Can I have a menu in a frame and its contents show inside a second frame via php

As far as I can tell you want to be able to click an item in an iframe and have it appear in an iframe that is directly beside it.

I don't want to be mean or rude but taking an iframe isn't exactly the best way to do this, but if your stuck doing it then you may want to consider using javascript to pull the link that has been clicked in the iframe 2 and then give the data to iframe 3 to load the corresponding page.

You can do it in PHP but I'm not sure it will be the most efficient.

The hacker mindset doesn't actually see what happens on the other side.
dIxie is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 09:57 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0