Using the ajax helper to provide an autocomplete list of results, and
giving a result list back as the rendered view, if you use the mouse
(and even the mouse wheel) to scroll results, all is well. Using the
arrow keys, on the other hand, has the nasty effect of awkwardly
scrolling the view: if I press down, the select box and the whole page
move to the bottom of the browser's view pane; pressing up has the
opposite effect of moving it to the top.
Has anyone else noticed this behaviour, and thought of something? the
resultant list is provided by, e.g.:
<ul>
<?php foreach($peoples as $person): ?>
<li><?php echo $person['Person']['id']; ?></li>
<?php endforeach; ?>
</ul>
(Just an example, I actually show the id, the name / surname /
commercial name).
The CSS for the list is as follows:
div.auto_complete {
position: absolute;
width: 250px;
background-color: white;
border: 1px solid #888;
margin: 0px;
padding: 0px;
}
div.auto_complete ul{
list-style: none;
margin: 0px;
}
--
Best regards,
Adriano
Adriania: http://adriania.blogspot.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---