|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
CFTREE - single click?
I am experimenting with CFTREE for a menu solution.
Currently, to expand the menu or to go to a URL that's listed, the viewer must double click the selection within the CFTREE form. Is there any way to set up the CFTREE or CFTREEITEM so that is only requires a single click? Last edited by smartart : April 14th, 2004 at 12:58 PM. Reason: spelling |
|
#2
|
|||
|
|||
|
hmmm, I don't think there's any way to change the behavior of that Java applet. And I'm not sure what version of CF or the CFTREE applet you are using, but on my copy of CFMX 6.1 the tree expands with one mouse click.
|
|
#3
|
|||
|
|||
|
I've got tests going on CFMX 6.1 and CF5.0. Both require double click.
Here's the code: <cfform action="" method="POST" enablecab="No" name="treetest" enctype="multipart/form-data"> <cftree name="Treetest" message="Test" align="LEFT" width="350" vspace="0" hspace="1" font="Verdana" fontsize="9" lookandfeel="METAL" bold="No" italic="No" border="No" hscroll="No" vscroll="Yes" required="No" completepath="No" appendkey="Yes" highlighthref="Yes"> <cftreeitem value="root" display="Science" queryasroot="No" expand="No"> <cftreeitem value="A Pages" parent="root" queryasroot="No" expand="No"> <cfoutput query="ScienceA"> <cftreeitem value="ID_page" display="#page_title#" parent="A Pages" href="#ID_page#" queryasroot="No" expand="No"> </cfoutput> </cftree> </cfform> |
|
#4
|
|||
|
|||
|
Not sure what to tell you man, I took your code, substituted dummy values for the query, and ran it. I have to double click to open the top level folder, but to expand individual tree elements or click the links is only 1 click.
|
|
#5
|
|||
|
|||
|
When in doubt, check the user.
The folder icon requires double clicking. The other icon (expandy thingy) only needs a single click. My bad. Thanks for the help. Sorry for wasting your time. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > CFTREE - single click? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|