html - passing url to iframe -
I have links to my page, like "home", "news", "contact", ... If there is an iframe in the middle of the page, then I want to select iframe according to the link to go to different URLs. Can I just use html and / or how?
Give iframe a name attribute, such as it:
& Lt; Iframe name = 'content' ... & gt;
and then assign each target to the target attribute, such as:
& lt; A href = 'news.html' target = 'content' .. & gt;
Comments
Post a Comment