java help

Overzicht Reageren

Sponsored by: Vacatures door Monsterboard

Mads kroes

mads kroes

26/12/2009 23:34:00
Quote Anchor link
hallo,

ik heb een probleem ik heb een java script gemaakt maar als ik hem toepas aan
de site dan doet die het niet kan iemand kijken wat er aan de hand is.

dit is html gedeelte
Code (php)
PHP script in nieuw venster Selecteer het PHP script
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl" lang="nl">
  <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    
    <meta name="Generator" content="iWeb 3.0.1" />
    <meta name="iWeb-Build" content="local-build-20091227" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta name="viewport" content="width=700" />
    <title>Bestellen</title>
    <link rel="stylesheet" type="text/css" media="screen,print" href="Bestellen_files/Bestellen.css" />
    <!--[if lt IE 8]><link rel='stylesheet' type='text/css' media='screen,print' href='Bestellen_files/BestellenIE.css'/><![endif]-->
    <!--[if gte IE 8]><link rel='stylesheet' type='text/css' media='screen,print' href='Media/IE8.css'/><![endif]-->
    <style type="text/css">
/*<![CDATA[*/
    @import "Scripts/Widgets/HTMLRegion/Paste.css";
/*]]>*/
</style>
    <script type="text/javascript" src="Scripts/iWebSite.js"></script>
    <script type="text/javascript" src="Scripts/Widgets/SharedResources/WidgetCommon.js"></script>
    <script type="text/javascript" src="Scripts/Widgets/Navbar/navbar.js"></script>
    <script type="text/javascript" src="Scripts/iWebImage.js"></script>
    <script type="text/javascript" src="Scripts/iWebMediaGrid.js"></script>
    <script type="text/javascript" src="Scripts/Widgets/HTMLRegion/Paste.js"></script>
    <script type="text/javascript" src="Bestellen_files/Bestellen.js"></script>
  </head>
  <body style="background: rgb(255, 255, 255) url(Bestellen_files/PhotoGray_browser_bg-2.jpg) repeat scroll top left; margin: 0pt; " onload="onPageLoad();" onunload="onPageUnload();">
    <div style="text-align: center; ">
      <div style="margin-bottom: 0px; margin-left: auto; margin-right: auto; margin-top: 0px; overflow: hidden; position: relative; word-wrap: break-word;  text-align: left; width: 700px; " id="body_content">
        <div style="background: transparent url(Bestellen_files/PhotoGray_bg_c-1.jpg) repeat scroll top left; width: 700px; ">
          <div style="margin-left: 0px; position: relative; width: 700px; z-index: 0; " id="nav_layer">
            <div style="height: 0px; line-height: 0px; " class="bumper"></div>
            <div style="height: 700px; width: 700px;  height: 700px; left: 0px; position: absolute; top: -80px; width: 700px; z-index: 1; " class="tinyText style_SkipStroke">
              <img src="Bestellen_files/Darkroom_spotlight.jpg" alt="" style="border: none; height: 700px; width: 700px; " />
            </div>
            

<img src="Media/Duplicate-State-900x200-rgb.gif" alt="" style="height: 165px; left: -4px; position: absolute; top: -3px; width: 707px; z-index: 1; " />
            <div style="height: 1px; line-height: 1px; " class="tinyText"></div>
            <div class="com-apple-iweb-widget-navbar flowDefining" id="widget0" style="margin-left: 0px; margin-top: 157px; opacity: 1.00; position: relative; width: 700px; z-index: 1; ">
    
              <div id="widget0-navbar" class="navbar">

      
                <div id="widget0-bg" class="navbar-bg">

        
                  <ul id="widget0-navbar-list" class="navbar-list">
 <li></li>
</ul>
                  
      
</div>
                
    
</div>
            </div>
            <script type="text/javascript"><!--//--><![CDATA[//><!--
new NavBar('widget0', 'Scripts/Widgets/Navbar', 'Scripts/Widgets/SharedResources', '.', {"path-to-root": "", "navbar-css": ".navbar {\n\tfont-family: Futura, 'Trebuchet MS', sans-serif;\n\ttext-transform: uppercase;\n\tfont-size: .7em;\n\tcolor: #C1C1C1;\n\tline-height: 25px;\n\ttext-align: center;\n\tpadding: 0px;\n\tbackground-image: url(Bestellen_files\/PhotoGray_nav_bg.png);\n\t_background-image: url(Bestellen_files\/PhotoGray_nav_bg.jpg);\n\tbackground-repeat: repeat-y;\n\tborder-top: 1px solid #999;\n\tborder-bottom: 1px solid #999;\n}\n\n.navbar-bg {\n\tpadding: 6px 0px 4px 0px;\n}\n\n.navbar ul {\n\tlist-style: none;\n\tmargin: 0px;\n\tpadding: 0px 10px 0px 10px;\n}\n\n.navbar ul li {\n\tdisplay: inline; \n\tlist-style-type: none;\n\tmargin: 0px;\n\tpadding: 0px 10px 0px 10px;\n}\n\n\n.noncurrent-page  a:visited {\n\ttext-decoration: none;\n\tcolor: #C1C1C1;\n\ttext-shadow: 0px -1px 2px #333;\n}\n\n.noncurrent-page  a {\n\ttext-decoration: none;\n\tcolor: #C1C1C1;\n\ttext-shadow: 0px -1px 2px #333;\n}\n\n\n.noncurrent-page a:hover {\n\ttext-decoration: none;\n\tcolor: #EC001E;\n\ttext-shadow: 0px -1px 2px #333;\n}\n\n.current-page a\n{\n\ttext-decoration: none;\n\tcolor: #000;\n\ttext-shadow: 0px -1px 2px #7E7E7E;\n}\n\n.current-page a:visited\n{\n\ttext-decoration: none;\n\tcolor: #000;\n\ttext-shadow: 0px -1px 2px #7E7E7E;\n}\n\n", "current-page-GUID": "AE251F8F-1EB0-432F-AED9-D1DEE5657B3B", "isCollectionPage": "NO"});
//--><!]]></script>
            <div style="clear: both; height: 0px; line-height: 0px; " class="spacer"></div>
          </div>
          <div style="float: left; height: 0px; line-height: 0px; margin-left: 0px; position: relative; width: 700px; z-index: 10; " id="header_layer">
            <div style="height: 0px; line-height: 0px; " class="bumper"></div>
          </div>
          <div style="margin-left: 0px; position: relative; width: 700px; z-index: 5; " id="body_layer">
            <div style="height: 0px; line-height: 0px; " class="bumper"></div>
            <div class="com-apple-iweb-widget-HTMLRegion" id="widget1" style="height: 346px; left: 140px; opacity: 1.00; position: absolute; top: 179px; width: 400px; z-index: 1; ">
              <script type="text/javascript"><!--//--><![CDATA[//><!--
    var widget1_htmlMarkupURL = ".//Bestellen_files/widget1_markup.html";
//--><!]]></script>
              <div id="widget1-htmlRegion" class="html_region_widget"></div>
            </div>
            <script type="text/javascript"><!--//--><![CDATA[//><!--
new Paste('widget1', 'Scripts/Widgets/HTMLRegion', 'Scripts/Widgets/SharedResources', '.', {"emptyLook": false});
//--><!]]></script>
            <div style="height: 525px; line-height: 525px; " class="spacer"></div>
          </div>
          <div style="height: 150px; margin-left: 0px; position: relative; width: 700px; z-index: 15; " id="footer_layer">
            <div style="height: 0px; line-height: 0px; " class="bumper"></div>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>



winkelwagen.js heb ik dit.
Code (php)
PHP script in nieuw venster Selecteer het PHP script
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
var aantal=0;
var bedrag=0;
var subtotaal=0;
var totaal=0;


function BestelLijst() {
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write("")
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','!DOCTYPE HTML PUBLIC \"-\/\/W3C\/\/DTD HTML 4.01\/\/EN\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','html','>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','head','>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','title>','        ... EVEN GEDULD TOT DE FACTUUR IS OPGEMAAKT ...     ','<','/title>','\n')


window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','script language=\"Javascript\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('function FControle','(formulier)',' {','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('if','(formulier.Emailadres.value.length <= 6 ||')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('formulier.Emailadres.value.indexOf (\'@\'\, 0) == -1 ||','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('formulier.Emailadres.value.indexOf (\'.\'\, 0) == -1')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('){','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('alert(\" Je hebt geen geldig e-mailadres ingevuld.\")','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('return false;','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('}','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('else {','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('alert (\"OK om te versturen? \")','\n')



window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('formulier.action=\"mailto:JOUW EMAILADRES\"','\n')



window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('location.href=\"antwoord.htm"','\n')

window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('return true;','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('}','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('}','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','/script>','<','/head>','\n')


window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','body')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' bgcolor=\"#FFFFFF\" text=\"black\">')

window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','div align=\"center\">','\n')


window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','table border=0 cellpadding=0 cellspacing=0 width=400>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=400 height=25 colspan=5 bgcolor=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"center\"><font face=\"Arial\" size=\"3\" color=\"white\"><b>JOUW BESTELLING<\/b>','<\/font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','form name=\"formulier\" method=\"post\" enctype=\"text/plain\" onsubmit=\"JavaScript:return FControle(this);\">','\n')


for (i=0;i<=5;i++){


if (document.tel.producten[i].checked){
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=300 colspan=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','input type=','\"','hidden','\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' name=','\"',(i+1),'\"',' value=')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('\"',(document.tel.producten[i].value),'\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('>')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(document.tel.producten[i].value);
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(" ");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=70>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"right\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(document.tel.aantaly[i].value);
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(" stuk ");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(" = ");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=35>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"right\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(" &#8364; ");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<i','nput type=','\"','hidden','\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' name=','\"','Aantal stuks','\"',' value=')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('\"',(document.tel.aantaly[i].value),'\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('>')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=50>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"right\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2>','\n')
aantal= (document.tel.aantaly[i].value);
bedrag= (document.tel.prijs[i].value);
subtotaal= aantal*bedrag;
totaal+=subtotaal ;
// Voor wie een korting wenst te geven vanaf een bepaald bedrag, bijvoorbeeld -5% vanaf 100 euro:
// if (totaal>=100){totaal=totaal-(totaal*5/100)}
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(subtotaal.toFixed(2));
subtotaal=0 ;
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<br>');
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font><\/td>','\n')
}
else {}
if (i==4) break ;}


window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td colspan=5>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<br><font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','input type=','\"','checkbox','\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' name=','\"','Totaal bedrag','\"',' value=')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('\"',(totaal),'\"')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(' checked>')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write("<b>totaal: "+" ");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(totaal.toFixed(2));
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write(" EURO<\/b>");
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/font><br><br>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')


window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=400 height=25 colspan=5 bgcolor=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"center\"><font face=\"Arial\" size=\"3\" color=\"white\"><b>BESTELFORMULIER<\/b>','<\/font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td bgcolor=\"#CCCCCC\"><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=170 bgcolor=\"#CCCCCC\"><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=70 bgcolor=\"#CCCCCC\"><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=35 bgcolor=\"#CCCCCC\"><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td bgcolor=\"#CCCCCC\"><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=400 height=1 colspan=5 bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/td><\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=130 height=15 valign=\"middle\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\"><b> <\/b><\/font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\"> Naam:  <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=370 height=15 valign=\"middle\" colspan=\"4\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','input type=\"text\" name=\"Naam besteller\" maxlength=\"20\"> <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=130 height=15 valign=\"middle\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\">  Telefoon:  <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=370 height=15 valign=\"middle\" colspan=\"4\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=\"2\" color=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<i','nput type=\"text\" name=\"Telefoon\" maxlength=20 size=20><\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('</tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=130 height=15 valign=\"middle\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\"><b> <\/b><\/font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\">E-mail:  <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=370 height=15 valign=\"middle\" colspan=\"4\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','input type=\"text\" name=\"Emailadres\" maxlength=\"25\" size=\"25\"><\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=130 valign=\"top\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\"><b> <\/b></\font>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"black\">Adres: <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=370 valign=\"middle\" colspan=4 bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"left\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<font face=\"Arial\" size=2 color=\"#999999\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','textarea name=\"Besteladres\" rows=4 cols=40><\/textarea> <\/font><\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')



window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<tr>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<td width=500 height=12 align=\"center\" valign=\"middle\" colspan=\"5\" bgcolor=\"#CCCCCC\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<p align=\"center\">','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','input type=\"submit\" name=\"Submit\" value=\"Versturen\"> <\/td>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<\/tr>','\n')



window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','\/form>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','\/table><\/div>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','\/body>','\n')
window.open("","win","left=10,top=10,width=450,height=525,scrollbars=yes,resizable=yes").document.write('<','\/html>','\n')
}

alsvast bedankt
Gewijzigd op 01/01/1970 01:00:00 door Mads kroes
 
PHP hulp

PHP hulp

24/11/2024 13:10:01
 
- SanThe -

- SanThe -

27/12/2009 01:22:00
Quote Anchor link
Post alléén relevante code en niet een compleet script.

Verder is je vraag niet echt een vraag. Hij doet het niet is natuurlijk geen probleemstelling. Dus geef meer info.

Je script in je post is nu niet echt leesbaar. Pas je post even aan en gebruik en tags om je code heen. Om php code zet je uiteraard dit:
Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
<?php en ?>
Gebruik je Afbeelding knop om dit te doen.

SanThe.
 
Mads kroes

mads kroes

27/12/2009 16:28:00
Quote Anchor link
heb het veranderd zoals je kan zien
 
Kasper Heyndrickx

Kasper Heyndrickx

27/12/2009 16:30:00
Quote Anchor link
java != javascript!
 
Mads kroes

mads kroes

27/12/2009 16:31:00
Quote Anchor link
ja dat weet ik
 
Hipska BE

Hipska BE

27/12/2009 18:51:00
Quote Anchor link
Java hulp kunnen wij hier niet geven en je post een html pagina, dus ik weet niet wat je daar mee in java mee wilt uitspoken
 



Overzicht Reageren

 
 

Om de gebruiksvriendelijkheid van onze website en diensten te optimaliseren maken wij gebruik van cookies. Deze cookies gebruiken wij voor functionaliteiten, analytische gegevens en marketing doeleinden. U vindt meer informatie in onze privacy statement.