Thread: 1 word 2 links How do you do it?
Results 1 to 4 of 4
Related
-
Trimming a word.How? Forum: PHP Forum
Replies: 1 -
Links in Microsoft word to pdf Forum: HTML Forum
Replies: 1 -
word is slightly lower on p.c. Forum: CSS Forum
Replies: 1 -
How to validate pieces of a word or a word itself in a array? Forum: Javascript Forum
Replies: 2 -
MS Word in websites Forum: HTML Forum
Replies: 5
-
02-26-2001, 02:54 AM #1
1 word 2 links How do you do it?
Ok here's the situation
I'm in frames about 8 of them and I need one word to make a website appear in 1 frame (one target) while another website comes up in another frame (another target) I've been playing around with the code for about 45+minutes and beginning to get frustrated ...
If anyone has a clue how to fix this plz e-mail ZeroAccess@purehonda.com
Or if you need more details let me know
-
02-26-2001, 05:29 PM #2
Try this Javascript - ( I'm getting dejavu here...)
This goes in the <HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--
function changePages (leftURL, rightURL) {
parent.left.location.href=leftURL;
parent.right.location.href=rightURL;
}
//-->
</script>
This presumes that your frames are called left and right, but you can change to suit.
The Links would then be -
<A HREF="javascript:changePages ('page1.html','page2.html');">Load both Frames</A>
Just change the HTML pages to suit.
Have fun. let me know if this makes no sense. BTW, as Hugo (or worldweb) has shown you can use this to load lots more frames at once than two.
------------------
QuietDean-
-
02-26-2001, 10:16 PM #3
Another way to do it, if you use a button instead of a text link: http://htmlgoodies.earthweb.com/tutors/2atonce.html
-
02-26-2001, 10:20 PM #4
I found it some time last night that javascript
I was using an Image Map so it was a bit harder to do..(not that much more difficult)
But now I'm doing like all 9 frames @ once very cool
Thanks and it only took me to read back ALL the way to page 20+ to get the answer I almost wish people would explain the problems in topics better but none the less you all helped a lot