Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Tue, 27 Dec 2005 10:35:44 -0800,    group: microsoft.public.inetsdk.html_authoring        back       


Select Boxes Not Scrolling   
I have a web page that when displayed in IE6 the select boxes won't allow you 
to scroll thru them until they get focus - then loose focus.

There's 3 select boxes that allow multiple selections.  The Option tags are 
filled with asp connected to an access table.  This works good.  One of the 
select boxes fill 3/4 of the IE window - it has a long line.  
Here's the code.
<select name="sltFraudSmart" size="7" multiple id="select3">
<option value=""></option>
<%rsCourses.MoveFirst
Do WHILE (NOT rsCourses.EOF)					  
IF (rsCourses("courseType")= 1)THEN%>
<option value="<%response.write(rsCourses("courseName"))%>">
<%response.write(rsCourses("courseName"))
END IF
rsCourses.MoveNext
LOOP%></select>

When the page loads and if you try and scroll thru any of the 3 select boxes 
using the scrollbar on the right - it won't move.  I can use the wheel in my 
mouse and it will scroll.

When I click off the box then go to select again - sometimes the scrollbar 
on the right works and sometimes not.

Any ideas?

Thanks
date: Tue, 27 Dec 2005 10:35:44 -0800   author:   Jess

Re: Select Boxes Not Scrolling   
Hi Jess,

I've noticed that there is sometimes a problem with scrolling selects if 
there are a large number of options. I'm not sure if there's a solution 
to the problem however. I'm assuming you're talking about Internet 
Explorer, though you didn't mention which browser the problem is 
happening in.

Also, I couldn't help noticing that you're not supplying the closing tag 
for your options, which you might want to get into the habit of doing.

Cheers,
Mark

Jess wrote:

>I have a web page that when displayed in IE6 the select boxes won't allow you 
>to scroll thru them until they get focus - then loose focus.
>
>There's 3 select boxes that allow multiple selections.  The Option tags are 
>filled with asp connected to an access table.  This works good.  One of the 
>select boxes fill 3/4 of the IE window - it has a long line.  
>Here's the code.
><select name="sltFraudSmart" size="7" multiple id="select3">
><option value=""></option>
><%rsCourses.MoveFirst
>Do WHILE (NOT rsCourses.EOF)					  
>IF (rsCourses("courseType")= 1)THEN%>
><option value="<%response.write(rsCourses("courseName"))%>">
><%response.write(rsCourses("courseName"))
>END IF
>rsCourses.MoveNext
>LOOP%></select>
>
>When the page loads and if you try and scroll thru any of the 3 select boxes 
>using the scrollbar on the right - it won't move.  I can use the wheel in my 
>mouse and it will scroll.
>
>When I click off the box then go to select again - sometimes the scrollbar 
>on the right works and sometimes not.
>
>Any ideas?
>
>Thanks
>  
>
date: Mon, 06 Feb 2006 17:19:53 +1100   author:   Mark Micallef

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us