...

View Full Version : duouble target link....



Asterius
12-25-2006, 04:08 PM
I read a thread on this forum about double target links.
People said that the only way to do this was to make a java script, and so i did.
This is how i did:

<html>
<head>
<script language="JavaScript">

<!--

function linkFrames(u1, u2) {
parent.druidmiddle.location = u1;
parent.druidright.location = u2;
}

// -->

</script>
</head>


<body bgcolor="black" link="ff0000" alink="ff3333" vlink="dd0000">

<div align="center">

<font face="Papyrus" size="5" color="ff0000">
Druid instance list
</font>

</div>

<A href="javascript:linkFrames('druid_dm.htm', 'dmpic.htm);">The Deadmines</a>17-26<br/>

</body>
</html>


I did exactly as they wrote it but still it doesn't work. When i press the link nothing happens. I dont know if i have to use some kind of program to make it work (I write my own code in Notepad). Please tell me whats wrong, i would also apreciate if someone told me how to do this in normal html, if possible.

The site looks like this: it's three frames in the same size, three collumns. In the first frame (left) i have a bunch of links, i want these links to open different url's in the two other frames (middle and right). I got every file on my computer, in the same folder (nothing on internet).

MikoLone
12-27-2006, 12:29 AM
instead of



function linkFrames(u1, u2) {
parent.druidmiddle.location = u1;
parent.druidright.location = u2;
}



Try



function linkFrames(u1, u2) {
top.druidmiddle.location = u1;
top.druidright.location = u2;
}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum