Hrm...

I looked at the src, but didn't see that. I'll check it out and see what
happens. Thanks for pointing that our Karl.


andy

-----Original Message-----
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Karl Swedberg
Sent: Monday, November 17, 2008 2:33 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Effect like Kwicks plugin

Hi Andy,

I don't see any reason why you couldn't use the Kwiks for jQuery plugin with
something other than list items. Just remove the 'li' from the .children()
method in line 28:

var kwicks = container.children('li');

becomes

var kwicks = container.children();



Untested.


--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com




On Nov 17, 2008, at 3:04 PM, Andy Matthews wrote:



        Anyone have any input on this?
        
        I'd also like to determine if I can use percentages for the widths
of
        the items.
        
        On Nov 17, 9:28 am, "Andy Matthews" <[EMAIL PROTECTED]>
wrote:
        

                Here's a version I've got using the kwicks plugin and divs
nested inside the
                

                LI tags:
                


        
http://commadelimited.com/code/maternitymealplanner/kwicks-1.html
                


                It's working quite well, but I'm still not convinced that
nesting divs
                

                inside list items is a good idea.
                


                andy
                


                -----Original Message-----
                

                From: jquery-en@googlegroups.com
[mailto:[EMAIL PROTECTED] On
                


                Behalf Of Andy Matthews
                

                Sent: Monday, November 17, 2008 8:53 AM
                

                To: jquery-en@googlegroups.com
                

                Subject: [jQuery] Effect like Kwicks plugin
                


                I'm looking to achieve an effect similar to that of the
Kwicks plugin
                

                <http://www.jeremymartin.name/projects.php?project=kwicks> .
However, I
                

                don't want to use this for navigation, I want to use it for
the main body of
                

                my site. Currently it looks like the Kwicks plugin can only
work on list
                

                items, but I'd like something which can be applied to div
tags. One of the
                

                examples
<http://www.jeremymartin.name/examples/kwicks.php?example=7>  shows
                

                the use of divs inside the list item tags, but I don't think
that's valid
                

                xHTML so I'd rather not use that method.
                


                Does anyone know if there's a similar plugin that can be
applied to div
                

                tags, or does anyone have plain code they might share which
can do this?
                

                I've already got something that "works" but doesn't look all
that good:
                


                http://commadelimited.com/code/maternitymealplanner/
                


                The problems I'm having with my version are:
                


                1)      Far right div gets pushed to bottom as animation
plays out
                


                2)      Animation is a little jerky as the various elements
position
                

                themselves
                


                3)      Occasionally, the cursor will position itself just
right and the
                

                animation will queue up and then go on for like an extra 5
seconds after the
                

                mouse is moved off of it.
                


                Thanks peeps
                


                Andy Matthews
                




Reply via email to