Jump to content

Archived

This topic is now archived and is closed to further replies.

Bennettd02

Php Navigation

Recommended Posts

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  :)

Share this post


Link to post
Share on other sites
I don't get what you mean? Do you mean bread crumbs or do you mean how to dynamically create a menu?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.