[jQuery] Re: Removing the html jQuery adds in effects

2008-07-03 Thread pek
Thank you all for your replies. Carl, I tried yours but nothing happens when clicking previous. Anyway, thanks to a friend of mine, here is the correct code (or at least, the code that works) in case anybody wonders: $(".gallery").prepend("pek").children("li:first

[jQuery] Re: Removing the html jQuery adds in effects

2008-07-03 Thread pek
, it wraps the next element, so now the second does the slideDown effect. You can see this here: http://treazy.com/pek/album/ Just click previous and watch what happens. Do you know how to work around this? Thanks again. On Jul 3, 10:30 pm, real <[EMAIL PROTECTED]> wrote: > This is what y

[jQuery] Removing the html jQuery adds in effects

2008-07-03 Thread pek
I have a small problem when dealing with effects. Warning: Noob question ahead. Currently I have a list of items test test2 alert($("#gallery li:first").html()) will correctly echo "test". If I want to add a new element before that with a slideDown effect, I use this line: $("#gallery li:f

[jQuery] Simple sliding help

2008-06-30 Thread pek
I can't find a way to slide left a horizontal list of images. Here is what I managed to do: http://treazy.com/pek/album/ As you can see, first, while sliding, the images suddenly "bump" and, second, I can't seem to find how to remove 100px every time someone clicks nex

[jQuery] Re: Really simple images gallery

2008-06-30 Thread pek
n Jun 30, 1:16 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > Put your images inside a container with a fixed width and overflow:hidden. > See here for an example: > > http://sorgalla.com/projects/jcarousel/examples/static_simple.html > > - Richard > >

[jQuery] Really simple images gallery

2008-06-29 Thread pek
t is going behind an invisible "wall".. And the opposite, slide something coming from an invisible "wall".. I hope you understand what I am saying. As always, thank you in advanced pek