Jump to content

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


Deanno0007

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 comment
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 comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...