Slideshow.
Posted: Wed Dec 29, 2004 2:12 pm
I've got a shopping cart I'm working on and need some help with finding a starting place for a particular aspect of functionality.
I've got your basic MySQL query stuffed into a variable array. One of the columns is named "itemPic". What I want to do is implement the following series of functions:
-User clicks on product photo in cart/product list.
-Small window pops up with next/back buttons and flips through the $row["itemPic"] values for that item only.
-Window closes onBlur.
Ideally, the pop-up would be called from an <a href> tag in the previous window. Do I need to create a function that draws the window as I want it, using $row["itemName"] as an argument or somesuch? Quite simply, I have no idea of how to make it happen. I've tried analysing various PHP-based slideshow scripts out there, but have just managed to confuse myself further.
Any assistance would be greatly appreciated.[/b]
I've got your basic MySQL query stuffed into a variable array. One of the columns is named "itemPic". What I want to do is implement the following series of functions:
-User clicks on product photo in cart/product list.
-Small window pops up with next/back buttons and flips through the $row["itemPic"] values for that item only.
-Window closes onBlur.
Ideally, the pop-up would be called from an <a href> tag in the previous window. Do I need to create a function that draws the window as I want it, using $row["itemName"] as an argument or somesuch? Quite simply, I have no idea of how to make it happen. I've tried analysing various PHP-based slideshow scripts out there, but have just managed to confuse myself further.
Any assistance would be greatly appreciated.[/b]