Click to See Complete Forum and Search --> : Double link (two <a> tags) but then in java,..


jurjent
09-07-2003, 11:28 AM
My problem is this:

I need to be able to open different pages in two different frames with just one click on one word. I've been told this is not posible, just by using HTML, so I need to search for a solution in Javascript.

I don't know anything about this,...but this one thing is the only thing I need to know , to finish my project.

Charles
09-07-2003, 11:33 AM
It's perfectly possible using just HTML and if you use JavaScript you will make your page inaccessible to the 13% of users who do not use JavaScript.

Simply swap out the whole frameset. Save the framset that you have with a new name. Change the values of the "src" attributes of the FRAME elements as desired and then link to this new frameset. As an added feature, one of the big problems with frames is that it is difficult for others to link to any particular state of your site. Using this method that drawback is removed.