disjfa - disj·fa (meneer)
disjfa.nl
Verwijderd
mischien
disjfa - disj·fa (meneer)
disjfa.nl
Verwijderd
Dat zeg ik...Op dinsdag 25 september 2001 22:14 schreef disjfa het volgende:
kun je nie via javascript doorsturen naar asp en dan dat gebruiken??
disjfa - disj·fa (meneer)
disjfa.nl
1
2
3
4
5
6
7
8
9
10
| +-----------------+ +--------------------+ | server | | client | +-----------------+ +--------------------+ | Hier wordt de | | Hier wordt | | pagina | | de html geparsd en | | opgemaakt | | de clientscripts | | en uiteindelijk | | uitgevoerd | | verstuurd ------+---->>----+ | | | | | +-----------------+ +--------------------+ |
* Janoz gaat dit topic elke keer maar gebruiken als iemand weer de fout in gaat.. Ga niet weer die hele asciart in elkaar zetten
Ken Thompson's famous line from V6 UNIX is equaly applicable to this post:
'You are not expected to understand this'
Ken Thompson's famous line from V6 UNIX is equaly applicable to this post:
'You are not expected to understand this'
weet iemand mischien de functie in vbscript, op devguru is het echt vet moeilijk zoeken
disjfa - disj·fa (meneer)
disjfa.nl
Ken Thompson's famous line from V6 UNIX is equaly applicable to this post:
'You are not expected to understand this'
Verwijderd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| <%@language=jscript%>
<%
if(Request.QueryString('screenWidth').Count==0) {
%>
<html>
<script language="javascript">
location.replace('?screenWidth='+escape(String(screen.width)));
</script>
</html>
<%
} else {
Response.Write('Screen width is: '+QueryString('screenWidth');
}
%> |
Niet getest, want ik heb geen IIS hier.
weet je welk?
disjfa - disj·fa (meneer)
disjfa.nl
Object wordt verwacht
/trie2.asp, regel 12
das Response.Write("Screen width is: "+QueryString("screenWidth"));
die ontvangt ie nie goed, weet je wat?
disjfa - disj·fa (meneer)
disjfa.nl
heb t met + en met & geprobeert, maar wil nie
disjfa - disj·fa (meneer)
disjfa.nl
Verwijderd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| <%@language=jscript%>
<%
if(Request.QueryString('screenWidth').Count==0) {
%>
<html>
<script language="javascript">
location.replace('?screenWidth='+escape(String(screen.width)));
</script>
</html>
<%
} else {
Response.Write('Screen width is: '+Request.QueryString('screenWidth'));
}
%> |
wat voor foutmelding krijg je? Gebruik je normaal VBScript?
tnx
disjfa - disj·fa (meneer)
disjfa.nl
disjfa - disj·fa (meneer)
disjfa.nl
disjfa - disj·fa (meneer)
disjfa.nl
1
2
3
| If Request.QueryString("screenWidth") <> "" Then
' doe iets met die schermbreedte
End If |
Exact expert nodig?
';' wordt verwacht
/latenstaan/includes/dbopen.asp, regel 13
option explicit
??????
disjfa - disj·fa (meneer)
disjfa.nl
Verwijderd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| <%
If Request.QueryString("screenWidth").Count=0 Then
%>
<html>
<script language="javascript">
location.replace('?screenWidth='+escape(String(screen.width)));
</script>
</html>
<%
Response.End
Else
screenWidth=Request.QueryString("screenWidth")
End If
%>
<!--hieronder gaat je "gewone" pagina-->
<html>
<body>
<p>Je scherm is <%=screenWidth%> pixels breed</p>
</body>
</html> |
<script language="javascript">
location.replace('?screenWidth='+escape(String(screen.width)));
</script>
<%end if%>
<%
Response.Write("Screen width is: "+Request.QueryString("screenWidth"))
stuk makkelijker, maar dan moet je ook nog eens rekening houden met als je al een dingetje in je link heb gedaan:
als het spontaan default.asp?blabla=ja
en dan moet je ipv ?screenw.... & screenwi.... doen.
k heb m idd al gevonden en tnx allemaal
disjfa - disj·fa (meneer)
disjfa.nl