Daan Mathot

+ Follow
since Aug 26, 2001
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Daan Mathot

Not quite sure that this is the right forum to ask this question (maybe cause it's JavaScript instead of Java).
But I'll give it a try.
I am really a newbie, i am the newbie of the newbies, and this is my question
I am working on a site about the soccer team of my friends, cause I always have problems with the resolution of the users, i decided to use frames, only there is one problem.
I am using a menu, cool menu(=that's the name ), everything worked fine till i wanted to change the urls. This is the code of my menu:

< table bgcolor="black" border="1" bordercolor="#124581" cellpadding="2" cellspacing="0">
< tr>
< td width="165" height="30"class="menu" bordercolor="black" id="choice1" style="background-color:#ffffff; cursor:hand" onmouseover="movein(choice1,'Back Home')" onmouseout="moveout(choice1)" onclick="location.href='http://www.javafile.com'" target="head">
< center>Home< /center>< /td>< /tr>
< td class="menu" height="30" bordercolor="black" id="choice2" style="background-color:#ffffff; cursor:hand" onmouseover="movein(choice2,'De Stand')" onmouseout="moveout(choice2)" onclick="location.href='http://www.10mbfree.com/lange/home.html'">
< center>Competitie< /center>< /td>< /tr>
< td class="menu" height="30" bordercolor="black" id="choice3" style="background-color:#ffffff; cursor:hand" onmouseover="movein(choice3,'Laatste wedstijd')" onmouseout="moveout(choice3)" onclick="location.href='http://www.bravenet.com'">< center>Verslag< /center>< /td>< /tr>
< td class="menu" height="30" bordercolor="black" id="choice4" style="background-color:#ffffff; cursor:hand" onmouseover="movein(choice4,'Fixtures')" onmouseout="moveout(choice4)" onclick="location.href='http://www.bravenet.com'">< center>Schema< /center>< /td></ tr>
< td class="menu" height="30" bordercolor="black" id="choice5" style="background-color:#ffffff; cursor:hand" onmouseover="movein(choice5,'Fotos+Stats')" onmouseout="moveout(choice5)" onclick="location.href='http://www.linkcounter.com/ea.exe?ref&claeld&1'">< center>De Spelers< /center>< /td>< /tr>
< td class="menu" height="30" bordercolor="black" id="choice6" style="background-color:#ffffff; cursor:hand" onmouseover="movein(choice6,'De Trots')" onmouseout="moveout(choice6)" onclick="location.href='http://www.linkcounter.com/ea.exe?ref&claeld&1'">< center>Het Stadion< /center>< /td>< /tr>
< td class="menu" height="30" bordercolor="black" id="choice7" style="background-color:#ffffff; cursor:hand" onmouseover="movein(choice7,'Poll vd week')" onmouseout="moveout(choice7)" onclick="location.href='http://www.linkcounter.com/ea.exe?ref&claeld&1'">< center>De Mini Poll< /center>< /td>< /tr>
< td class="menu" height="30" bordercolor="black" id="choice8" style="background-color:#ffffff; cursor:hand" onmouseover="movein(choice8,'Commentaar?')" onmouseout="moveout(choice" onclick="location.href='http://www.linkcounter.com/ea.exe?ref&claeld&1'">< center>Het Forum< /center>< /td>< /tr>
< td class="menu" height="30" bordercolor="black" id="choice9" style="background-color:#ffffff; cursor:hand" onmouseover="movein(choice9,'Defend het Doel!')" onmouseout="moveout(choice9)" onclick="location.href='http://www.linkcounter.com/ea.exe?ref&claeld&1'">< center>Voetbal Spel< /center>< /td>< /tr>
< td class="menu" height="30" bordercolor="black" id="choice10" style="background-color:#ffffff; cursor:hand" onmouseover="movein(choice10,'Op/Aanmerkingen')" onmouseout="moveout(choice10)" onclick="location.href='http://www.linkcounter.com/ea.exe?ref&claeld&1'">< center>Contact< /center>< /td>< /tr>
< tr>
< bordercolor="black" bgcolor="#124581" height="28">< center>< font id="description" face="Verdana" size="5" color="white">< /font>< /td>< /tr>
< /table>
This doesn't look to difficult does it?
The menu is in the left frame and there is also a right frame, where i want to display the content. So i have to use targets.
I tried this:
"location.href='http://www.javafile.com'" target="head">
But with this the page i want to open doesn't open in the head frame but in the nav frame, the frame of my menu.
Does anyone know what I have to change or correct?
Thanks in advance,
(edited by Cindy to put spaces in html tags so they would display instead of executing)

[This message has been edited by Cindy Glass (edited August 26, 2001).]