Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

rollover product image


Guest

Recommended Posts

i have morepics installed so i can add up to 6 extra pics per product.. and i think itd be cool to have the main product pic be replaced by rolling over the additional pics so you can load it into the current page without clicking to open it as a popup.

anyone do something like this already. cause if so id hate to do all the hard work for nothing. :P

Link to comment
Share on other sites

i have morepics installed so i can add up to 6 extra pics per product.. and i think itd be cool to have the main product pic be replaced by rolling over the additional pics so you can load it into the current page without clicking to open it as a popup.

anyone do something like this already. cause if so id hate to do all the hard work for nothing. :P

 

I had a look into doing this yesterday, after a couple of hours I decided to leave it until the site is up and running. I was experimenting using css to add drop shadow's as opposed to using a rollover, in the time I had available I was only able to make the change to the product detail area, not product listings. I was not able to find where the presentation code for images was generated, Im not that familliar with osc or PHP, and didnt manage to work back past the arrays used to generate the product listings.

 

If you know where to put the code it would be very easy,.... do you know this???

Link to comment
Share on other sites

I had a look into doing this yesterday, after a couple of hours I decided to leave it until the site is up and running. I was experimenting using css to add drop shadow's as opposed to using a rollover, in the time I had available I was only able to make the change to the product detail area, not product listings. I was not able to find where the presentation code for images was generated, Im not that familliar with osc or PHP, and didnt manage to work back past the arrays used to generate the product listings.

 

If you know where to put the code it would be very easy,.... do you know this???

i wanted to do this for the product_info.php page.

usally i have 3 pics per product.. and the defualt pic is usally a front shot of the shirt. 2nd is a back shot, and 3rd would be the artwork itself.. so if i can have a rollover load those images into the area the main product pic is at that same size that would get rid of the need to pop the image up. or would save thime for people not needing a 800px large view of those other pics

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...