View Full Version : open page with assorted content in IFRAME


tonytohono
09-20-2004, 04:47 AM
I have an index page with drop down menus. The top selection is basically the highest end of the hierarchy, say for example photography. The next selection would be a sub directory of photography that will open in the iframe on the same page.

Something like photography/sports/events/portraits/landscape

What I need to do is make it so the links below photography open with that selection in the iframe. I cannot figure out how to do this.

Can anyone help me or direct me to some set of example code I can see a similar set of code in use for?

Thank you very much. =)

anyatyler
09-20-2004, 05:32 AM
Sorry but I don't quiet get what you mean.. do you mean having the sublinks appear when you click on Photography in the dropdown menu? Or you want to have the Photography link clicked and another navigation will appear in the iframe?

tonytohono
09-21-2004, 12:44 AM
Say we are on the home page and on that page there is a drop down menu that says Photography. When you float over it the menu drops below that with assorted variations of photography.

Any link that you click is going to open the photography (basically the parent) page, but depending on which link you click I want to vary what is loaded in the IFRAME on the photography page.

Let's say there are 4 links... sports/events/portraits/landscapes

All of them are going to open the photography page, but I want each one to open with the corresponding topic in the IFRAME.

Is that any clearer? =)

I think it may require a javascript function and corresponding html code, but I don't have any idea on the code I need. My books all skip anything like that.

Thanks for help. :)