ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - limiting ajax to thumbnail image
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

limiting ajax to thumbnail image

 Post Reply Post Reply
Author
Message
watercrazed View Drop Down
Groupie
Groupie
Avatar

Joined: 31-December-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote watercrazed Quote  Post ReplyReply Direct Link To This Post Topic: limiting ajax to thumbnail image
    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? 
Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post 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

Our Site
Back to Top
watercrazed View Drop Down
Groupie
Groupie
Avatar

Joined: 31-December-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote watercrazed Quote  Post ReplyReply Direct Link To This Post Posted: 01-April-2007 at 8:01pm
Thanks, it worked just fine. Much less distracting
Back to Top
cysayles View Drop Down
Newbie
Newbie


Joined: 13-February-2007
Location: Canada
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote cysayles Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
watercrazed View Drop Down
Groupie
Groupie
Avatar

Joined: 31-December-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote watercrazed Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
cysayles View Drop Down
Newbie
Newbie


Joined: 13-February-2007
Location: Canada
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote cysayles Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
watercrazed View Drop Down
Groupie
Groupie
Avatar

Joined: 31-December-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote watercrazed Quote  Post ReplyReply Direct Link To This Post 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%>"




Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.