Jump to content


Photo

Php Navigation


  • Please log in to reply
3 replies to this topic

#1 Bennettd02

Bennettd02
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 03 October 2006 - 06:29 PM

Hi all,

I have n't used php in a while (2 years!) and have just started to get back into it again, i wish to create a simple navigation menu that will change the address of an IFrame link dependiing on which button/link is selected, i know this is simple so can any one provide links or snippit of code,

thanks in advance  :)

#2 Daniel0

Daniel0
  • Staff Alumni
  • Advanced Member
  • 11,956 posts

Posted 03 October 2006 - 06:30 PM

I don't get what you mean? Do you mean bread crumbs or do you mean how to dynamically create a menu?

#3 Bennettd02

Bennettd02
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 03 October 2006 - 06:39 PM

I have a simple IFRAME as shown

<IFRAME SRC=<php?$Link?> WIDTH=630 HEIGHT=600 frameborder="0" scrolling="no">

I wish to change the variable and refresh page when a link is selected, not sure if this is the way to go about it, an comments welcome

#4 hanlonj

hanlonj
  • Members
  • PipPipPip
  • Advanced Member
  • 38 posts

Posted 03 October 2006 - 09:35 PM

I know this isn't exactly what u want to hear but I would suggest to you to learn CSS and ditch iFrames as they are not best practice and can be a bit of a nightmare to deal with. you can then use divs to display whatever information you need to be displayed as if they were iFrames.

Does this help?

John




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users