Jump to content


Designing problem


4 replies to this topic

#1 zpaces

    Young Padawan

  • Members
  • Pip
  • 3 posts

Posted 27 December 2007 - 07:42 PM

Hey guys,

just check the file attachment! It's a documented drawing of my problem.
It's hard to describe, that's why I use this way.
The preview of the attachment is crappy. Click to enlarge! =)

I don't know how to realize this in e.g. Dreamweaver.
Sorry if this is too n00bish. =/

Anyway, many thanx in advance!

Greetz,
Marco

Attached Files


Edited by zpaces, 27 December 2007 - 07:44 PM.


#2 JD Fr33l@nc3

    Young Padawan

  • Members
  • Pip
  • 9 posts

Posted 27 December 2007 - 11:14 PM

View Postzpaces, on Dec 27 2007, 07:42 PM, said:

Hey guys,

just check the file attachment! It's a documented drawing of my problem.
It's hard to describe, that's why I use this way.
The preview of the attachment is crappy. Click to enlarge! =)

I don't know how to realize this in e.g. Dreamweaver.
Sorry if this is too n00bish. =/

Anyway, many thanx in advance!

Greetz,
Marco

Make the static part into a php include and then include it at the top of every page. Have the content that will change to obviously be there to change.

Good luck ! :(

#3 zpaces

    Young Padawan

  • Members
  • Pip
  • 3 posts

Posted 28 December 2007 - 09:49 AM

View PostJD Fr33l@nc3, on Dec 28 2007, 05:14 AM, said:

Make the static part into a php include and then include it at the top of every page. Have the content that will change to obviously be there to change.

Good luck ! :biggrin:

Thanx for your advice. But is there a chance you can make a small template? Or do you know where I can tutorials or webpages which use this way you described?

#4 xwazawx

    Young Padawan

  • Members
  • Pip
  • 45 posts

Posted 02 January 2008 - 10:23 PM

Using PHP to include the static header wouldn't work - It would still, effectively, reload the header each time a page loads.

Javascript could be used for the links - so, rather than linking to a new page it simply submits a form, which fetches the correct content to display and then changes the dynamic area to display that content. (I'm talking about AJAX) This has it's disadvantages too though, such as it being poor SEO (if that matters).. :popcorn:

#5 vvtopkar

    P2L Jedi

  • Members
  • PipPipPip
  • 532 posts
  • Gender:Male
  • Location:3rd Planet from the Sun

Posted 04 January 2008 - 11:33 AM

Technically, after the first time you load the header, the browser will check if it already has the header, if it does, it wont be reloaded. So just input the PHP script in the body, and you should be alright.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users