Wednesday, December 29, 2010

How to create a link connecting to Two Frames of a same page using HTML?

Question by Antony J: How to create a link connecting to Two Frames of a same page using HTML?
Hi I have a webpage with three frames in a single page.(Say frame1,2,3).. If i click a link in the Frame1 it must open some different pages or documents in Frame2 and Frame3,,,,
Or let me put in in the other way.. One single link must open two different websites in two different windows....Using HTML language can any one kindly tell me the right solution for this Question pls.....I would be very greatfull for u .....Thanking You...


Best answer:
Answer by Bradyusing html you can only load one frame at a time (one link can only interact with one target frame). this can be done with the target attribute of

ex Text

if you want to modify two frames with one click you will need to use javascript.

something like:
frame2.location = 'somewhere';
frame3.location = 'somewhere else';

Know better? Leave your own answer in the

mystery pua

No comments:

Post a Comment