How do you select the items to toggle and how are the Maxi & Mini - images arranged in the HTML. If you have 2 things toggling at the same time it looks like you are doing somehting wrong with the selection.
On Feb 12, 10:00 pm, Alain Roger <raf.n...@gmail.com> wrote: > Hi, > > I would like to simulate the maximize/minimize window effect. So i created > an image Maxi and an image Mini. > maxi is displayed by default. When user click on this image, a div should be > displayed (no problem for that point) and the Mini image should be displayed > instead of Maxi. > for sure, if user click on mini image, in this case the div will disappear > and the maxi image should replace the mini one. > > from my point of vie this is typically a toggle system but how to implement > it in jQuery ? > i was looking at Toggle function but every time there are minimum 2 similar > tag from which the toggle is applied :-( > > thanks a lot, > > -- > Alain > ----------------------------------------------------------- > Windows XP x64 SP2 / Fedora 10 KDE 4.2 > PostgreSQL 8.3.5 / MS SQL server 2005 > Apache 2.2.10 > PHP 5.2.6 > C# 2005-2008