[jQuery] Re: Interface Autocompleter - Odd display

2007-04-11 Thread Ariel Jakobovits

code?

- Original Message 
From: vsanghvi [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Tuesday, April 10, 2007 10:23:57 PM
Subject: [jQuery] Re: Interface Autocompleter - Odd display


I wish there was a way of editing my past posts...

So i got frustrated w/ this earlier, and decided to try it later. So i
came back, and thought, what happens if there are no other ul/ul
objects... Well, if there aren't any, it seems the autocompleter works
just fine. Once I add one in, it appears, the results have to show up
in every ul.

I didn't necessarily need the ul so I just changed them to ol, but
there's gotta be a way to fix this...

Viraj

On Apr 10, 1:19 pm, vsanghvi [EMAIL PROTECTED] wrote:
 For some reason, the result data is also being written to other
 unordered lists on my page along w/ the actual results box. Anyone
 know why this might be?

 On Apr 10, 11:55 am, vsanghvi [EMAIL PROTECTED] wrote:

  I looked around the group for something similar but couldn't find any
  issue that's similar. I'm using the Interface autocompleter, and it
  works properly and all, for some reason, the hovering effect takes
  place elsewhere on the page, and I can't figure out how to properly
  place it on the results box.

  So what happens, is that the results box shows up normally, but for
  some reason, there are two other copies of the results in the upper
  right hand and lower left hand corners of the screen. The actual
  hovering even takes place in the upper right hand part of the screen.
  I've put this on a flat page, and it works fine, but it might have
  something to do with the fact that its on a relatively positioned
  object... I'm not sure, and I couldn't hack the css in the
  iautocomplete.js script to get it to work, because I'm really not sure
  why I'm getting that effect.

  I uploaded it to the web:http://www.misfacio.com/~viraj/test/index.php
  There might be other errors because I was working on this locally and
  some references don't point where they should...

  Thanks in advance for any help!






[jQuery] Re: Interface Autocompleter - Odd display

2007-04-11 Thread vsanghvi

Lines 472-474 of iautocomplete.js:

jQuery('body', document).append('div id=autocompleteHelper
style=position: absolute; top: 0; left: 0; z-index: 30001; display:
none;ul style=margin: 0;padding: 0; list-style: none; z-index:
30002;nbsp;/ul/div');
jQuery.iAuto.helper = jQuery('#autocompleteHelper');
jQuery.iAuto.content = jQuery('ul', jQuery.iAuto.helper);

If an id was added to the ul like (autocompleteList), and then
'#autocompleteList' replaced 'ul' on line 474, then I'm pretty sure
the results would be added to the id, instead of the ul as it is now.
The only issue with my thinking is that the results should be added to
the ul *within* the #autocompleteHelper div, but for some reason,
that's not happening, at least for me. I might try this tomorrow when
I have time.

On Apr 11, 12:59 am, Ariel Jakobovits [EMAIL PROTECTED] wrote:
 code?

 - Original Message 
 From: vsanghvi [EMAIL PROTECTED]
 To: jQuery (English) jquery-en@googlegroups.com
 Sent: Tuesday, April 10, 2007 10:23:57 PM
 Subject: [jQuery] Re: Interface Autocompleter - Odd display

 I wish there was a way of editing my past posts...

 So i got frustrated w/ this earlier, and decided to try it later. So i
 came back, and thought, what happens if there are no other ul/ul
 objects... Well, if there aren't any, it seems the autocompleter works
 just fine. Once I add one in, it appears, the results have to show up
 in every ul.

 I didn't necessarily need the ul so I just changed them to ol, but
 there's gotta be a way to fix this...

 Viraj

 On Apr 10, 1:19 pm, vsanghvi [EMAIL PROTECTED] wrote:
  For some reason, the result data is also being written to other
  unordered lists on my page along w/ the actual results box. Anyone
  know why this might be?

  On Apr 10, 11:55 am, vsanghvi [EMAIL PROTECTED] wrote:

   I looked around the group for something similar but couldn't find any
   issue that's similar. I'm using the Interface autocompleter, and it
   works properly and all, for some reason, the hovering effect takes
   place elsewhere on the page, and I can't figure out how to properly
   place it on the results box.

   So what happens, is that the results box shows up normally, but for
   some reason, there are two other copies of the results in the upper
   right hand and lower left hand corners of the screen. The actual
   hovering even takes place in the upper right hand part of the screen.
   I've put this on a flat page, and it works fine, but it might have
   something to do with the fact that its on a relatively positioned
   object... I'm not sure, and I couldn't hack the css in the
   iautocomplete.js script to get it to work, because I'm really not sure
   why I'm getting that effect.

   I uploaded it to the web:http://www.misfacio.com/~viraj/test/index.php
   There might be other errors because I was working on this locally and
   some references don't point where they should...

   Thanks in advance for any help!



[jQuery] Re: Interface Autocompleter - Odd display

2007-04-10 Thread vsanghvi

For some reason, the result data is also being written to other
unordered lists on my page along w/ the actual results box. Anyone
know why this might be?

On Apr 10, 11:55 am, vsanghvi [EMAIL PROTECTED] wrote:
 I looked around the group for something similar but couldn't find any
 issue that's similar. I'm using the Interface autocompleter, and it
 works properly and all, for some reason, the hovering effect takes
 place elsewhere on the page, and I can't figure out how to properly
 place it on the results box.

 So what happens, is that the results box shows up normally, but for
 some reason, there are two other copies of the results in the upper
 right hand and lower left hand corners of the screen. The actual
 hovering even takes place in the upper right hand part of the screen.
 I've put this on a flat page, and it works fine, but it might have
 something to do with the fact that its on a relatively positioned
 object... I'm not sure, and I couldn't hack the css in the
 iautocomplete.js script to get it to work, because I'm really not sure
 why I'm getting that effect.

 I uploaded it to the web:http://www.misfacio.com/~viraj/test/index.php
 There might be other errors because I was working on this locally and
 some references don't point where they should...

 Thanks in advance for any help!



[jQuery] Re: Interface Autocompleter - Odd display

2007-04-10 Thread vsanghvi

I wish there was a way of editing my past posts...

So i got frustrated w/ this earlier, and decided to try it later. So i
came back, and thought, what happens if there are no other ul/ul
objects... Well, if there aren't any, it seems the autocompleter works
just fine. Once I add one in, it appears, the results have to show up
in every ul.

I didn't necessarily need the ul so I just changed them to ol, but
there's gotta be a way to fix this...

Viraj

On Apr 10, 1:19 pm, vsanghvi [EMAIL PROTECTED] wrote:
 For some reason, the result data is also being written to other
 unordered lists on my page along w/ the actual results box. Anyone
 know why this might be?

 On Apr 10, 11:55 am, vsanghvi [EMAIL PROTECTED] wrote:

  I looked around the group for something similar but couldn't find any
  issue that's similar. I'm using the Interface autocompleter, and it
  works properly and all, for some reason, the hovering effect takes
  place elsewhere on the page, and I can't figure out how to properly
  place it on the results box.

  So what happens, is that the results box shows up normally, but for
  some reason, there are two other copies of the results in the upper
  right hand and lower left hand corners of the screen. The actual
  hovering even takes place in the upper right hand part of the screen.
  I've put this on a flat page, and it works fine, but it might have
  something to do with the fact that its on a relatively positioned
  object... I'm not sure, and I couldn't hack the css in the
  iautocomplete.js script to get it to work, because I'm really not sure
  why I'm getting that effect.

  I uploaded it to the web:http://www.misfacio.com/~viraj/test/index.php
  There might be other errors because I was working on this locally and
  some references don't point where they should...

  Thanks in advance for any help!



[jQuery] Re: Interface Autocompleter - Odd display

2007-04-10 Thread vsanghvi

No, they have different id's. Although i think Interface just
dynamically creates a ul and might not give it an id. That might
explain the effect that I'm seeing...

On Apr 11, 12:12 am, Ariel Jakobovits [EMAIL PROTECTED] wrote:
 similar id's?

 - Original Message 
 From: vsanghvi [EMAIL PROTECTED]
 To: jQuery (English) jquery-en@googlegroups.com
 Sent: Tuesday, April 10, 2007 11:19:37 AM
 Subject: [jQuery] Re: Interface Autocompleter - Odd display

 For some reason, the result data is also being written to other
 unordered lists on my page along w/ the actual results box. Anyone
 know why this might be?

 On Apr 10, 11:55 am, vsanghvi [EMAIL PROTECTED] wrote:
  I looked around the group for something similar but couldn't find any
  issue that's similar. I'm using the Interface autocompleter, and it
  works properly and all, for some reason, the hovering effect takes
  place elsewhere on the page, and I can't figure out how to properly
  place it on the results box.

  So what happens, is that the results box shows up normally, but for
  some reason, there are two other copies of the results in the upper
  right hand and lower left hand corners of the screen. The actual
  hovering even takes place in the upper right hand part of the screen.
  I've put this on a flat page, and it works fine, but it might have
  something to do with the fact that its on a relatively positioned
  object... I'm not sure, and I couldn't hack the css in the
  iautocomplete.js script to get it to work, because I'm really not sure
  why I'm getting that effect.

  I uploaded it to the web:http://www.misfacio.com/~viraj/test/index.php
  There might be other errors because I was working on this locally and
  some references don't point where they should...

  Thanks in advance for any help!