Registreer FAQ Berichten van vandaag


Ga terug   Scholieren.com forum / Technologie / Software & Hardware
Topic gesloten
 
Topictools Zoek in deze topic
Oud 08-06-2004, 15:21
Lil' Stef
Lil' Stef is offline
Hallo,

Ik heb wat zitten klooien met javascript om 2 pagina's in 1 keer te openen. Het werkt deels. Hij opent wel die 2 pagina's maar niet in het goede target. Hoe krijg ik dat goed?

<script language=Javascript>
function changeContent(url1,url2)
{
top.body.location= url1;
top.onder.location= url2;
}
</script>

<link rel=stylesheet type=text/css href=style.css>
<center><div valign=left><body topmargin=0 class=table>
<table cellpadding=2 width=100% height=100%>


<tr><td><form action=login/stuur.php method=post target=body></td>
<td><input type="text" name="username" value="Uw Gebruikersnaam" onfocus="this.value=''; document.login_box.password.value='';" class=form></td>
<td class=text>Wachtwoord: </td>
<td><input type="password" name="password" value="Uw wachtwoord" onfocus="this.value=''; document.login_box.password.value='';" class=form></td>
<td><a href="#" onClick="changeContent('login/stuur.php','onder.php');">Submit</a> td>
</form>

Alvast bedankt,

Stefan
Advertentie
Oud 08-06-2004, 15:42
Verwijderd
http://forum.scholieren.com/showthre...hreadid=778013

Blijft moeilijk
Advertentie
Topic gesloten


Regels voor berichten
Je mag geen nieuwe topics starten
Je mag niet reageren op berichten
Je mag geen bijlagen versturen
Je mag niet je berichten bewerken

BB code is Aan
Smileys zijn Aan
[IMG]-code is Aan
HTML-code is Uit

Spring naar

Soortgelijke topics
Forum Topic Reacties Laatste bericht
Software & Hardware [Centraal] Webdesign (HTML/CSS) & sitechecks
Enlightenment
511 10-08-2006 14:14
Software & Hardware HTML/CSS/JavaScript
Verwijderd
500 17-03-2004 23:12
Software & Hardware javascript in ander frame?
Sjoukie
3 08-01-2004 21:00


Alle tijden zijn GMT +1. Het is nu 19:35.