Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Detailed Product Images - Adjusting the "Internal" option

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-30-2011, 08:04 AM
 
nickff nickff is offline
 

Senior Member
  
Join Date: Aug 2010
Posts: 132
 

Default Detailed Product Images - Adjusting the "Internal" option

/*** UPDATE ***/

I ended up hacking the cloud-zoom option, as it has the onclick functionality inherently. I then set the zoom function to "display:none" in the cloud-zoom css file. A bit of a hack, but it has the desired result. I'd still be interested in knowing if anyone has a way of getting the "internal" option to work on click though!

/*** /END UPDATE ***/



Hi All,

I'm using the "Internal" detailed product image option here, with thumbnails displayed under the main product image:

http://future.thefutureforward.com/~field/product-one.html

What I'm looking to do is have the image replacement occur "onclick" instead of "onmouseover". I also need to remove the inline width/height style settings on the "image-box" div, but when I do this currently it breaks the internal image swap function.

I've tried straight swapping out the existing "onmouseover" code in "common_files/module/Detailed_Product_Images/popup_image.tpl" and placing it inside the "onclick" of the <a> tag, but it doesn't work.


Any ideas on how to make that internal image swap occur onclick would be amazing!
__________________
nick hoag
looking forward to the future
http://thefutureforward.com
xcart versions 4.2.x, 4.3.x, 4.4.x
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:40 PM.

   

 
X-Cart forums © 2001-2020