[JavaScript] Checklist maken

Pagina: 1
Acties:

  • FireWire
  • Registratie: November 2000
  • Niet online

FireWire

I taste like chicken...

Topicstarter
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<html>
<head><Title>Scum</title>
<SCRIPT LANGUAGE="JavaScript">


function display() {
window.onerror=null;

document.form.width.value = window.screen.width;
document.form.height.value = window.screen.height;

}
</script>
</head>
<body bgcolor=#000000 OnLoad="display()"><div align="Center">
<script>
<!--
function fullwin(){
window.open("woei.html","","fullscreen")
}
//-->
</script>

<form>
<input type="button" onClick="fullwin()" value="Open window">
</form>

<form name=form>
<font color="#FFFFFF">Current Resolution:
<input type=text size=4 maxlength=4 name=width> 
x <input type=text size=4 maxlength=4 name=height>
<script LANGUAGE="JavaScript">
 if (document.form.width.value>799) then Document.Write "[img]"check.gif">"
[/img]"
</script>
</div>
</body></html>

* FireWire is n00b :P
ik heb geprobeerd een extreem kleine checklist te maken, maar het lukt me niet echt :'(

De complete check van de checklist word genegeerd :?
Iemand die de oplossing weet? :)

\__________________________________Niet verwarren met IEEE 1394__________________________________/


  • man-o-script
  • Registratie: Juni 2001
  • Laatst online: 05-09 13:16
er zitten gewoon een paar kleine foutjes in,
ff alles doorlopen had geen kwaad gekund :P

anyway, zo werktie wel:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<html>
<head>
<title>Scum</title>

<script language="JavaScript">

    function display() 
    {
    
    window.onerror=null;
    
        document.form.width.value = window.screen.width;
        document.form.height.value = window.screen.height;
    
    }

</script>

</head>
<body bgcolor=#000000 OnLoad="display()">

<div align="center">

<script language="JavaScript">

    function fullwin()
    {
        window.open("woei.html","","fullscreen");
    }

</script>

<form>
  <input type="button" onClick="fullwin();" value="Open window">
</form>

<form name=form>
  <font color="#FFFFFF">Current Resolution:
  <input type=text size=4 maxlength=4 name=width> 
  x 
  <input type=text size=4 maxlength=4 name=height>
</form>

<script language="JavaScript">
    if (document.form.width.value > 799) 
    {
        document.write ("[img]'check.gif'>");
    }
    else
    {
        document.write[/img]");
    }
</script>

</div>

</body>
</html>

heb een paar dingen wat veranderd, dus is aan jezelf om te kijken waar het nou precies aan lag...

//


  • FireWire
  • Registratie: November 2000
  • Niet online

FireWire

I taste like chicken...

Topicstarter
Koel thnx, ik zie nu ook waar het aan ligt :)
* FireWire heeft weer iets geleerd :)

\__________________________________Niet verwarren met IEEE 1394__________________________________/