02
iframe content depending on menu choice.
Filed Under (Software Development) by admin on 02-03-2009
Hey all,
I am struggling to develop my website based on what I can find on the web without any formal training.
I have succeeded in creating a two level menu where the 2nd level is displayed (expanded in accordeo fashion) when moving the cursor over the 1st level button thanks to a javascript found on the web which I customized.
The 2nd level of menu choices are to select one the months of the year for which the programmed activities of our association would be displayed in an iframe on the same page without refreshing the page.
In fact, I’d like any menu selection, be it level 1 or 2, to use the same iframe space on the screen.
The statement contains a link to be used when clicked on the particular menu key. How can I “replace” this link so that when clicked upon a partiular key the appropriate src=”document.html” finds its way into the iframe?
if its a link, don`t you just need a target reference to load the link in the iframe? Or am I mssing what you need?
However, … (there’s almost always a but …).
In one instance my iframe is used to contain the (google) agenda of the club. Amazingly IE respects the size given in the iframe, but FF expands happily beyond the screen width. How can I force FF to respect the iframe size ?
if you come up with ideas let me know.
thanks!
Related content: