Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: Horizontal bar in Select tag


Message #1 by Aftab Ahmad <aftab.ahmad@k...> on Fri, 27 Apr 2001 10:56:04 +0200
Hi



Is it possible to have a horizontal bar in a <Select> tag?.

I will be very thankful.



Aftab 





Message #2 by Gregory_Griffiths@c... on Fri, 27 Apr 2001 10:14:56 +0100
YES :



<option>--------------</option>



> -----Original Message-----

> From: aftab.ahmad@k...

> [mailto:aftab.ahmad@k...]

> Sent: 27 April 2001 09:56

> To: asp_databases@p...

> Cc: aftab.ahmad@k...

> Subject: [asp_databases] Horizontal bar in Select tag

> 

> 

> Hi

> 

> Is it possible to have a horizontal bar in a <Select> tag?.

> I will be very thankful.

> 

> Aftab 

> 

> 

> 
Message #3 by Aftab Ahmad <aftab.ahmad@k...> on Fri, 27 Apr 2001 11:51:09 +0200
Sorry, my question was not very clear. Actually, I want to  make  a

horizontal scroll bar.



The values I displayed through  record set  in   select tag   are  long  in

horizontal direction  and  I  want  to  display only  one portion  and  for

the  rest  one  can  scroll horizontally ,  like  we  scroll vertically  in

select tag.



Aftab   



-----Original Message-----

From: Gregory_Griffiths@c...

[mailto:Gregory_Griffiths@c...]

Sent: 27. april 2001 11:15

To: ASP Databases

Subject: [asp_databases] RE: Horizontal bar in Select tag





YES :



<option>--------------</option>



> -----Original Message-----

> From: aftab.ahmad@k...

> [mailto:aftab.ahmad@k...]

> Sent: 27 April 2001 09:56

> To: asp_databases@p...

> Cc: aftab.ahmad@k...

> Subject: [asp_databases] Horizontal bar in Select tag

> 

> 

> Hi

> 

> Is it possible to have a horizontal bar in a <Select> tag?.

> I will be very thankful.

> 

> Aftab 

> 

> 

> 

Message #4 by "Tomm Matthis" <matthis@b...> on Fri, 27 Apr 2001 06:50:04 -0400
Yes. Concatenate a pipe symbol into the display string (its found above the

"\" key...

<OPTION value='something> Tomm Matthis | Programmer </OPTION>



> -----Original Message-----

> From: Aftab Ahmad [mailto:aftab.ahmad@k...]

> Sent: Friday, April 27, 2001 4:56 AM

> To: ASP Databases

> Subject: [asp_databases] Horizontal bar in Select tag

>

>

> Hi

>

> Is it possible to have a horizontal bar in a <Select> tag?.

> I will be very thankful.

>

> Aftab

>

>
Message #5 by Aftab Ahmad <aftab.ahmad@k...> on Fri, 27 Apr 2001 13:44:43 +0200
Thanks for kind response but still it's not working.

Perhaps I did it in wrong way.



Bellow is my code where I have used Pipe symbol i-e |



<option value="<%=rs_alleRapport("rapportering_id")%>">

                 <%=rs_alleRapport("rapporteringnr")%>  |

 <%=rs_alleRapport("rapportering_id")%></option>







Full select statement code:



<SELECT NAME="Rapport_Mulige"  size=5 style="position: relative; width: 294;

background-color: #FFFFFF; height: 95" readonly>



<%

	Do While Not rs_alleRapport.EOF

%>

		<option value="<%=rs_alleRapport("rapportering_id")%>">

                 <%=rs_alleRapport("rapporteringnr")%>  |

 <%=rs_alleRapport("rapportering_id")%></option>

<%

		rs_alleRapport.MoveNext

	Loop



			

			rs_alleRapport.Close

			Set rs_alleRapport = Nothing

%>



        </select>

<%



Regards

Aftab





-----Original Message-----

From: Tomm Matthis [mailto:matthis@b...]

Sent: 27. april 2001 12:50

To: ASP Databases

Subject: [asp_databases] RE: Horizontal bar in Select tag





Yes. Concatenate a pipe symbol into the display string (its found above the

"\" key...

<OPTION value='something> Tomm Matthis | Programmer </OPTION>



> -----Original Message-----

> From: Aftab Ahmad [mailto:aftab.ahmad@k...]

> Sent: Friday, April 27, 2001 4:56 AM

> To: ASP Databases

> Subject: [asp_databases] Horizontal bar in Select tag

>

>

> Hi

>

> Is it possible to have a horizontal bar in a <Select> tag?.

> I will be very thankful.

>

> Aftab

>

>

  Return to Index