I don't know which forum to place this in so I put it in all three areas of javascript/asp/html.
My page info prints the first character to the far left, almost off the screen. Is there something I can do? <br> doesn't work and I found <br clear="all"> but that didn't either.
code below:
<html>
<body>
<table align="left" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left">
<form name="frmRange" action="aug10.asp" method="post">
<select name="lstSections" onkeypress="if(event.keyCode==13) document.frmRange.submit();" onFocus="frmRange.manualInput.value='';">
<option value="">--none--</option>
<option value="48-57,65-90,97-122"> AlphaNumeric </option>
<option value="884-885,890,894,900-906,908,910-929,931-974,976-982,986,988,990,992,994-1011"> Greek and Coptic </option>
<option value="9728-9839"> Misc Symbols </option>
<option value="8592-8682"> Arrows </option>
<option value="9985-9988,9990-9993,9996-10023,10025-10059,10061,10063-10066,10070,10072-10078,10081-10087,10102-10132,10136-10174"> Dingbats </option>
<!--option value=""> </option-->
</select>
<input type="text" name="manualInput" onFocus="frmRange.lstSections.value=''">
</form>
</td>
</tr>
</table>
<%
dim arrRange,strRange,tmp,value,strVar,tmpVar1,tmpVar2
strRange = request.form("lstSections"
& request.form("manualInput"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
if strRange<>"" then
response.write("<br>" & "<br>" & chr(10))
arrRange=split(strRange,","![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
dim i
for i=Lbound(arrRange) to Ubound(arrRange)
tmp=inStr(arrRange(i),"-"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
if(tmp<>0) then
value=split(arrRange(i),"-"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
tmpVar1=value(0)
tmpVar2=value(1)
for tmpVar1=tmpVar1 to tmpVar2
strVar = chr(39) & chr(38) & chr(35) & "38" & chr(59) & chr(38) & chr(35) & "35" & chr(59) & tmpVar1 & chr(38) & chr(35) & "59" & chr(59) & chr(39)
response.write("<a class=" & chr(34) & "escape" & chr(34) & " href=" & chr(34) & "#" & chr(34) & " onClick=" & chr(34))
response.write("copyTo(" & strVar & "
;" & chr(34) & ">"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
response.write(chr(38) & chr(35) & tmpVar1 & chr(59))
response.write("</a>" & chr(10))
next
response.write("<br>" & chr(10))
else
tmpVar1=arrRange(i)
tmpVar2=0
strVar = chr(39) & chr(38) & chr(35) & "38" & chr(59) & chr(38) & chr(35) & "35" & chr(59) & tmpVar1 & chr(38) & chr(35) & "59" & chr(59) & chr(39)
response.write("<a class=" & chr(34) & "escape" & chr(34) & " href=" & chr(34) & "#" & chr(34) & " onClick=" & chr(34))
response.write("copyTo(" & strVar & "
;" & chr(34) & ">"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
response.write(chr(38) & chr(35) & tmpVar1 & chr(59))
response.write("</a>" & chr(10))
response.write("<br>" & chr(10))
strVar=""
end if
next
end if
strRange =""
%>
</body>
</html>
My page info prints the first character to the far left, almost off the screen. Is there something I can do? <br> doesn't work and I found <br clear="all"> but that didn't either.
code below:
<html>
<body>
<table align="left" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left">
<form name="frmRange" action="aug10.asp" method="post">
<select name="lstSections" onkeypress="if(event.keyCode==13) document.frmRange.submit();" onFocus="frmRange.manualInput.value='';">
<option value="">--none--</option>
<option value="48-57,65-90,97-122"> AlphaNumeric </option>
<option value="884-885,890,894,900-906,908,910-929,931-974,976-982,986,988,990,992,994-1011"> Greek and Coptic </option>
<option value="9728-9839"> Misc Symbols </option>
<option value="8592-8682"> Arrows </option>
<option value="9985-9988,9990-9993,9996-10023,10025-10059,10061,10063-10066,10070,10072-10078,10081-10087,10102-10132,10136-10174"> Dingbats </option>
<!--option value=""> </option-->
</select>
<input type="text" name="manualInput" onFocus="frmRange.lstSections.value=''">
</form>
</td>
</tr>
</table>
<%
dim arrRange,strRange,tmp,value,strVar,tmpVar1,tmpVar2
strRange = request.form("lstSections"
if strRange<>"" then
response.write("<br>" & "<br>" & chr(10))
arrRange=split(strRange,","
dim i
for i=Lbound(arrRange) to Ubound(arrRange)
tmp=inStr(arrRange(i),"-"
if(tmp<>0) then
value=split(arrRange(i),"-"
tmpVar1=value(0)
tmpVar2=value(1)
for tmpVar1=tmpVar1 to tmpVar2
strVar = chr(39) & chr(38) & chr(35) & "38" & chr(59) & chr(38) & chr(35) & "35" & chr(59) & tmpVar1 & chr(38) & chr(35) & "59" & chr(59) & chr(39)
response.write("<a class=" & chr(34) & "escape" & chr(34) & " href=" & chr(34) & "#" & chr(34) & " onClick=" & chr(34))
response.write("copyTo(" & strVar & "
response.write(chr(38) & chr(35) & tmpVar1 & chr(59))
response.write("</a>" & chr(10))
next
response.write("<br>" & chr(10))
else
tmpVar1=arrRange(i)
tmpVar2=0
strVar = chr(39) & chr(38) & chr(35) & "38" & chr(59) & chr(38) & chr(35) & "35" & chr(59) & tmpVar1 & chr(38) & chr(35) & "59" & chr(59) & chr(39)
response.write("<a class=" & chr(34) & "escape" & chr(34) & " href=" & chr(34) & "#" & chr(34) & " onClick=" & chr(34))
response.write("copyTo(" & strVar & "
response.write(chr(38) & chr(35) & tmpVar1 & chr(59))
response.write("</a>" & chr(10))
response.write("<br>" & chr(10))
strVar=""
end if
next
end if
strRange =""
%>
</body>
</html>