Forum Moderators: coopster

Message Too Old, No Replies

PHP include files help

include() linking problem

         

mikey123

4:09 pm on Aug 2, 2006 (gmt 0)

10+ Year Member



I am new to php and I'm developing a site using include files (top menu, left menu, main content ect.) which seem work great the problem I’m having is creating a link for the left menu include() that changes the content in the main content include() without refreshing the hole page as there is music and video playing on the site reloading the page every time a link is pressed isn’t ideal

I hope that makes sence
please help:)

diegomh7

7:32 pm on Aug 2, 2006 (gmt 0)

10+ Year Member



maybe use an iframe to load the content, crap for seo but a way round it maybe,

2. use a div

try that

regards,

diegomh7

whoisgregg

10:13 pm on Aug 2, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Band websites always have to deal with this issue and there is only one solution right now, framesets. Not an iframe, but actual frames.

It sucks for SEO but seriously, all your traffic is coming through your myspace profile, mentions on local radio stations, and email/im convos recommending the site anyway so who cares about SEO?

Reading up on frames [google.com] will be necessary to get all the target="rightframe" type stuff correct.

mikey123

8:30 am on Aug 3, 2006 (gmt 0)

10+ Year Member



Thanks for the replies chaps, frames is an option I use to use them a lot don’t really like them at all I find it limits your design. Normally I would have used asp but the customer wanted to get a Linux server so I thought I would try something new just didn’t know if it was possible. I'll see what I can do with frames.

Thanks again

whoisgregg

4:14 pm on Aug 3, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



To clarify, you can still use PHP to manage the content that is delivered into those frames. There just isn't any way server-side to address the "music plays uninterrupted from page to page." It's a client-side thing and a frames thing.