Print Page | Close Window

limiting ajax to thumbnail image

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=722
Printed Date: 05-October-2024 at 9:52pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: limiting ajax to thumbnail image
Posted By: watercrazed
Subject: limiting ajax to thumbnail image
Date Posted: 01-April-2007 at 4:21pm
I like the ajax preview on my product category pages but having it activated by the thumbnail, product name link and more details button seems like over kill, is there a way have it activited only when hovering over the thumbnail of the product? 

-------------
John

http://www.ultimatewatermassage.com - massagers, heat therapy, buckwheat pillows and more



Replies:
Posted By: netprofits
Date Posted: 01-April-2007 at 5:53pm

Modify the ASP page for the display you're using, either pcShowProductH.asp, pcShowProductP.asp, pcShowProductL.asp, pcShowProductM.asp and remove the javascript ajax code for the HREF tags you don't want the pop ups on.



-------------
NetProfits Internet Consulting

Certified ProductCart Developer

http://www.nicwebdesign.com" rel="nofollow - Our Site


Posted By: watercrazed
Date Posted: 01-April-2007 at 8:01pm
Thanks, it worked just fine. Much less distracting

-------------
John

http://www.ultimatewatermassage.com - massagers, heat therapy, buckwheat pillows and more


Posted By: cysayles
Date Posted: 24-April-2007 at 7:34pm
I'd like to control when Ajax shows the bubbles as well.

I just don't know what the different "H", "P", "L" and "M" files refer to, not do I know exactly what I should be removing.

Any chance you could explain it further?

thx


-------------
cy


Posted By: watercrazed
Date Posted: 25-April-2007 at 12:10am
pcShowProductH.asp= displaying the products in a horizonal layout , pcShowProductL.asp=displaying the products in a list layout, etc.. that is a option you select when setup up your category displays. the files are in productcart/pc/* , you should see some javascript right after the links, if you do not want the ajax bubble just comment out the javascript section.

-------------
John

http://www.ultimatewatermassage.com - massagers, heat therapy, buckwheat pillows and more


Posted By: cysayles
Date Posted: 25-April-2007 at 8:58am
Hi again,

Sorry, I'm still not sure what to do. I have some products listed horizontally with pictures and also have a few categories where they are in a list without pictures.

I would like to use Ajax popups only for the list products on the viewcategories page.

Would it be possible to illustrate exactly how to do it (which code? and how?)

Cy


-------------
cy


Posted By: watercrazed
Date Posted: 25-April-2007 at 12:47pm
Not sure this will help, I am not a developer, so be vvvvery careful before following my example. WARNING I Do not know what I am doing, but it worked for me.

I think what you are looking for is a code parts like this in pcshowproductH
try commenting out different parts and check your results.


onmouseover="javascript:document.getPrd.idproduct.value='< ;%=pIdProduct%>'; sav_callxml='1'; return runXML1('prd_<%=pIdProduct%>');" onmouseout="javascri pt: sav_callxml=''; hidetip();"<%end if%>><img src="catalog/no_image.gif" width="50" height="50" <%if scStoreUseToolTip<>"1" then%>alt="<%=pDescripti on%>"






-------------
John

http://www.ultimatewatermassage.com - massagers, heat therapy, buckwheat pillows and more



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net