• 0

Question

I need help with my school assignment.

I want to use one HREF to change 2 iframes into different things.

the i want the href named asia to change iframe 1 and 4 into the following:

asia.html and asiagif.html respectively

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

This doesn't have anything to do with CSS, this is HTML.

You can use the "target" attribute on a link to navigate a frame, for example: 

<a href="asia.html" target="myIFrame">Click here</a>
<iframe name="myIFrame"></iframe>

To navigate multiple frames from a single link you will have to use JavaScript.

Link to comment
Share on other sites

  • 0
1 hour ago, INeedHelp21 said:

I need help with my school assignment.

I want to use one HREF to change 2 iframes into different things.

the i want the href named asia to change iframe 1 and 4 into the following:

asia.html and asiagif.html respectively

Hi INeedHelp21,

 

Please see this thread. While virtorio was possibly able to point you in the right direction, you should post a summary of what you have already done and where exactly you are getting stuck. If we do your homework for you then you won't be learning properly. ;)

Link to comment
Share on other sites

This topic is now closed to further replies.