Thanks a lot.Now it is working.
Cheers..... :):)
On Apr 17, 5:21 pm, grigri <[EMAIL PROTECTED]> wrote:
> I don't know if it's relevant, but try adding this javascript to the
> relevant page:
>
> try {
> document.execCommand("BackgroundImageCache", false, true);
>
> } catch(err) {}
>
> [put it in an ie cc - nothing else needs it]
>
> On Apr 17, 11:12 am, lekshmi <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I'm using cakephp version 1.1.17.5612. There is a problem with auto
> > complete.I'm using autocomplete helper without using auto complete
> > component. autocomplete is working fine in firefox. But has some problems in
> > IE. While entering something in textbox for autocomplete or while mouse
> > overing the contents of autocomplete div , other background images in the
> > page flickers :(. This happens only in IE. Can anyone help me to solve these
> > problems.
>
> > Code used
>
> > <?php echo
> > $ajax->autoComplete('Category/name','/categories/autocomplete',array('frequency'=>'0.01',
> > 'class'=>'auto_complete_new')); ?>
>
> > autocomplete function used in categories controller
>
> > function autocomplete()
> > {
> > $this->layout = "ajax";
> > $this->set('categories', $this->Category->findAll("name LIKE
> > '{$this->data['Category']['name']}%'",array('name'), 'name ASC',10));
>
> > }
>
> > view for autocomplete
>
> > <ul>
> > <?php
> > foreach($categories as $category): ?>
> > <li><?php echo $category['Category']['name']; ?></li>
> > <?php endforeach; ?>
> > </ul>
>
> > css for autocomplete
>
> > .auto_complete_new
> > {
> > font-family : Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif;
> > font-size : 12px;
> > color:black;
> > text-align:left;
>
> > }
>
> > .auto_complete_new ul
> > {
> > width: 100%;
> > margin: 0;
> > padding: 0;overflow-x:hidden;
> > list-style-type: none;
>
> > }
>
> > .auto_complete_new ul li
> > {
> > width: 170;
> > margin: 0;
> > padding: 3px;
> > border-bottom: 1px solid #eee;
> > list-style-type: none;
> > /*background-color: #00CCFF */
> > background-color: #FFFFC6
>
> > }
>
> > .auto_complete_new li.selected
> > {
> > color:#FFF;background-color: #A2CD5A;
>
> > }
>
> > Thanks,
> > Lekshmi
>
> > --
> > View this message in
> > context:http://www.nabble.com/Problem-with-autocomplete-in-IE-tp16740179p1674...
> > Sent from the CakePHP mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---