[jQuery] Autocomplete result rendering

2010-02-28 Thread ootieku
Hello,
I am using the Zorn autocomplete plug-in and it works great, thanks
Zorn. I was wondering if there is a method to override the rendering
of the ac_results div and list, to populate results in an alternate
element. Basically, I have a textarea with autocomplete enabled and a
div always visible on the page. I want the autocomplete results to
populate in the div. I suppose I could try to kill the hide function
and do some css on ac_results to achieve the effect I want, but I was
looking for something more elegant. If anyone has done this or could
give an example I would appreciate hearing from you.


Re: [jQuery] Re: Accordion help ....

2010-02-28 Thread Nathan Klatt
On Sun, Feb 28, 2010 at 12:00 AM, Erik eriks...@mac.com wrote:
  { $(this).removeClass(ui-state-active); }

No, don't do that - that'll screw up the accordion, I expect. I mean
something in the css like:

.ui-state-active:hover {
  background-color: inherit; /* or none or some specific color */
}

Nathan


[jQuery] New jQuery Plugin Authoring Pattern

2010-02-28 Thread Milan Adamovsky
Hi all plugin authors!

I've just recently developed a plugin pattern that I think may be
useful to you.  Feel free to read up on it here
http://milanadamovsky.blogspot.com/2010/02/new-jquery-plugin-pattern.html

Even if you are not an author, I think it's worth a look especially if
you want to see a working example of closures and some other
interesting coding approaches.

Feel free to discuss how to improve this or just to give me feedback
on my blog or at my jQuery forum topic at
http://forum.jquery.com/topic/advanced-plugin-authoring-tutorial

I'm looking forward to your opinions, feedback, ideas, and
suggestions ...

Thanks,
Milan Adamovsky


[jQuery] Merge XML Documents with jQuery

2010-02-28 Thread dandieb...@gmail.com
I would like to make a few ajax calls for a few XML documents and
combine the results into one XML document.

Specifically I have these three files:

http://www.netelier.com/files/XMLMerge/doc0.xml

records
 record
  xfoo/x
  ybar/y
 /record
 record
  xbaz/x
  ymit/y
 /record
/records

http://www.netelier.com/files/XMLMerge/doc1.xml

info
 xfoo/x
 ybar/y
/info

http://www.netelier.com/files/XMLMerge/doc2.xml

info
 xbaz/x
 ymit/y
/info

And I would like to take the doc1.xml and doc2.xml documents and
insert them into this combined XML document:

records
 record
  xfoo/x
  ybar/y
  info
   xfoo/x
   ybar/y
  /info
 /record
 record
  xbaz/x
  ymit/y
  info
   xbaz/x
   ymit/y
  /info
 /record
/records

Any help would be appreciated!


Re: [jQuery] superfish joomla

2010-02-28 Thread Jonathan Vanherpe (T T nv)

You forgot to put ; after }) a couple of times.

IE is a bit strict in that regard.

Jonathan

Eddie wrote:

Hello all at jquery group, superfish menu in joomla works fantastic
but it gives an error in IE8 and my client hates it! the done, but
with errors this is the errordoes anyone know how to fix it!!
Best,
Chris



Message: Object doesn't support this property or method
Line: 48
Char: 35
Code: 0
URI: http://www.rallybrc.co.uk/


this is the code around line 48:

jQuery.noConflict();
jQuery(function($){ $(ul.sf-menu).superfish({hoverClass:'sfHover',
pathClass:'active', pathLevels:0, delay:800, animation:
{opacity:'show'}, speed:'def', autoArrows:0, dropShadows:1}) });
jQuery(window).load( function() { jQuery(ul.sf-
menu).superfish_width_mod({ vertical:0, menuWidth:'100%', equalWidth:
0, resizeSeps:0, resizeSubMenus:0 }) })
jQuery.event.special.hover.delay = 100;
jQuery.event.special.hover.speed = 100;

   /script






--
Jonathan Vanherpe - Tallieu  Tallieu nv - jonat...@tnt.be