Jump to content

How to use link to change an iframe without changing the base page

Recommended Posts

Can some one please help me to use a link (on a page) to change an iframe within the page without changing the base page.I have made a base page with an iframe as the body of the page, then wish to use a link to change only the iframe to make a subpage with the base still in place.Thanks for any help anyone can gave me.Deanno

Link to post
Share on other sites

I believe if you give the iframe a name then you can use the target attribute on the link to have it open in the iframe. You can also use Javascript to target the iframe and change the src attribute.

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...