charliedhq
09-02-2003, 12:13 PM
http://jordache.com/forums/swapzoom/f03_jun1.shtml
The goal is to get the zoom feature to work. (PLEASE help!)
Here's how it should work...
1. If user clicks on a thumbnail, image_00xi.jpg should replace 'pic'.
(I got this part working using MM_swapimage from DWeaver)
2. If user clicks on zoom+ icon, image_00xd should replace 'pic'.
3. If user clicks on zoom - icon, image_00xi should replace 'pic'.
===========================================
My idea is to use variables for each item. So when a thumb is clicked, the variable will change and the + or - icon will load the approriate image number.
===========================================
Example:
1. User clicks on thumbnail 003
(var item=003) and (image named 'pic' is swapped with image_003i.jpg)
2. User clicks the + icon
(because var item=003, ('pic' is swapped with image_003d.jpg)
and/or
User clicks on - icon (because var item=003, ('pic' is swapped with image_003i.jpg)
NOTE: var item is changed only when a thumb is clicked. And depending on the current value of var item, the +/- icons swap 'pic' with the appropriate image.
also, see:
http://jordache.com/forums/swapzoom/swapzoom.gif
Any help will be greatly appreciated!!
Thanks in advance!
The goal is to get the zoom feature to work. (PLEASE help!)
Here's how it should work...
1. If user clicks on a thumbnail, image_00xi.jpg should replace 'pic'.
(I got this part working using MM_swapimage from DWeaver)
2. If user clicks on zoom+ icon, image_00xd should replace 'pic'.
3. If user clicks on zoom - icon, image_00xi should replace 'pic'.
===========================================
My idea is to use variables for each item. So when a thumb is clicked, the variable will change and the + or - icon will load the approriate image number.
===========================================
Example:
1. User clicks on thumbnail 003
(var item=003) and (image named 'pic' is swapped with image_003i.jpg)
2. User clicks the + icon
(because var item=003, ('pic' is swapped with image_003d.jpg)
and/or
User clicks on - icon (because var item=003, ('pic' is swapped with image_003i.jpg)
NOTE: var item is changed only when a thumb is clicked. And depending on the current value of var item, the +/- icons swap 'pic' with the appropriate image.
also, see:
http://jordache.com/forums/swapzoom/swapzoom.gif
Any help will be greatly appreciated!!
Thanks in advance!