![]() |
limiting ajax to thumbnail image |
Post Reply ![]() |
Author | |
watercrazed ![]() Groupie ![]() ![]() Joined: 31-December-2005 Location: United States Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() 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?
|
|
![]() |
|
netprofits ![]() Certified ProductCart Developers ![]() Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
|
watercrazed ![]() Groupie ![]() ![]() Joined: 31-December-2005 Location: United States Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Thanks, it worked just fine. Much less distracting
|
|
![]() |
|
cysayles ![]() Newbie ![]() Joined: 13-February-2007 Location: Canada Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
|
watercrazed ![]() Groupie ![]() ![]() Joined: 31-December-2005 Location: United States Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
|
cysayles ![]() Newbie ![]() Joined: 13-February-2007 Location: Canada Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
|
watercrazed ![]() Groupie ![]() ![]() Joined: 31-December-2005 Location: United States Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
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%>" |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |