Zen Cart Logo
Forums / General Questions / pop up image

pop up image

Locked

Views: 1,329

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
4 Jul 2010, 6:19 PM
#1
fusionsp avatar

fusionsp

Zen Follower

Join Date:
Jun 2008
Posts:
204
Plugin Contributions:
0

pop up image

When Im looking at an individual item it pops up a specific image, only 1 no matter what product I have selected.

I have a comodo seal in the right hand corner called seal.gif. this is the image that pops up no matter which product detail im looking at??

Im not even sure where to start looking to see how to fix this??

I guess it would be the line that controls product details and large image handler?

The normal image handler part works (roll-overs) its just the clicked version that is off.

Any Ideas?

Use my signature to see if you can figure out anything..

or here is an example http://www.fusionspiritualemporium.com//index.php?main_page=product_info&cPath=344_188_292&products_id=1939

NVM, i just figured it out, the Comodo image was filling the whole little screen. when I dragged it larger, it showed my product...but I do have a different question now then. its supposed to be "click for larger image" but the box is about 1x1? How do I control the pop up size to make sense and actually be a larger image?

6 Jul 2010, 12:14 AM
#2
red280z avatar

red280z

New Zenner

Join Date:
Jun 2010
Posts:
1
Plugin Contributions:
0

Re: pop up image

Hi all,

I am having the same problem, but with the corner site seal mod. What is happening is that the product image "pop up" or box is not resizing to the image. It sizes itself to the seal dimensions only, and you have to manually resize the pop up to view the image.

When I disable the corner seal mod, everything works normal.

The corner site seal mod just adds some java script and an image to the includes/templates/YOUR_TEMPLATE/common/html_header.php-

<SCRIPT language=javascript type=text/javascript> //<![CDATA[ var Ovr2=''; if(typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat') {cot_t1_DOCtp="_top:expression(document.documentElement.scrollTop+document.documentElement.clientHeight-this.clientHeight);_left:expression(document.documentElement.scrollLeft + document.documentElement.clientWidth - offsetWidth);}";} else {cot_t1_DOCtp="_top:expression(document.body.scrollTop+document.body.clientHeight-this.clientHeight);_left:expression(document.body.scrollLeft + document.body.clientWidth - offsetWidth);}";} if(typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat') {cot_t1_DOCtp2="_top:expression(document.documentElement.scrollTop-20+document.documentElement.clientHeight-this.clientHeight);}";} else {cot_t1_DOCtp2="_top:expression(document.body.scrollTop-20+document.body.clientHeight-this.clientHeight);}";} var cot_tl_bodyCSS='* html {background: fixed;background-repeat: repeat;background-position: right bottom;}'; var cot_tl_fixedCSS='#cot_tl_fixed{position:fixed;'; var cot_tl_fixedCSS=cot_tl_fixedCSS+'_position:absolute;'; var cot_tl_fixedCSS=cot_tl_fixedCSS+'bottom:0px;'; var cot_tl_fixedCSS=cot_tl_fixedCSS+'right:0px;'; var cot_tl_fixedCSS=cot_tl_fixedCSS+'clip:rect(0 100 85 0);'; var cot_tl_fixedCSS=cot_tl_fixedCSS+cot_t1_DOCtp; var cot_tl_popCSS='#cot_tl_pop {background-color: transparent;'; var cot_tl_popCSS=cot_tl_popCSS+'position:fixed;'; var cot_tl_popCSS=cot_tl_popCSS+'_position:absolute;'; var cot_tl_popCSS=cot_tl_popCSS+'height:194px;'; var cot_tl_popCSS=cot_tl_popCSS+'width: 244px;'; var cot_tl_popCSS=cot_tl_popCSS+'right: 120px;'; var cot_tl_popCSS=cot_tl_popCSS+'bottom: 20px;'; var cot_tl_popCSS=cot_tl_popCSS+'overflow: hidden;'; var cot_tl_popCSS=cot_tl_popCSS+'visibility: hidden;'; var cot_tl_popCSS=cot_tl_popCSS+'z-index: 100;'; var cot_tl_popCSS=cot_tl_popCSS+cot_t1_DOCtp2; document.write('<style type="text/css">'+cot_tl_bodyCSS+cot_tl_fixedCSS+cot_tl_popCSS+'</style>');

function COT(cot_tl_theLogo,cot_tl_LogoType,LogoPosition,theAffiliate)
{document.write('<div id="cot_tl_fixed">');
// Change the following link to point to your SSL Privacy page
document.write('<a href="index.php?main_page=privacy" target="_blank"><img src='+cot_tl_theLogo+' alt="Secure Shopping" border="0"></a>');
document.write('</div>');}

//if(window.location.protocol == "http:")
COT("images/seal.png", "SC2", "none");
//]]>
</SCRIPT>

www.E l e c t r o n i c C i g a r e t t e P a r l o r.com
I am using version 1.3.9b
corner site seal mod
zenflavor premium4a tempate
column diver pro mod
single listing tempate mod
moneybookers payment mod(not activated)

I have searched for everything I can think of with no luck and I can not find a corner site seal support thread.

your help would be greatly appriciated.

7 Jul 2010, 6:39 PM
#3
fusionsp avatar

fusionsp

Zen Follower

Join Date:
Jun 2008
Posts:
204
Plugin Contributions:
0

Re: pop up image

Yes, that is the mod Im using too. If you noticed, it does actually have the whole image there...its just reduced to the size of the corner seal your using.

So, is there a modification to the file that can automatically resize the pop up image it generates? Like make it a specific size??

15 Jul 2010, 9:59 PM
#4
greymanuk avatar

greymanuk

New Zenner

Join Date:
Jul 2010
Posts:
1
Plugin Contributions:
0

Re: pop up image

Seems a shame there are no support threads for some of these "addons" or atleast a way to message the creator.

I too have disabled this addon due to the fact that it causes the existing javascript on ZC to incorrectly size the LRG product image window. Basically its exactly the same as the original poster, the window opens and moves then resizes to the seal image. I guess the seal script is somehow causing the ZC script to lock onto the seal image for size information.

I have no knowledge of javascript so hopefully some really helpful super clever person will read this thread and go "hey I see your problem, change this!" .... I can dream cant I?

Maybe the author will see it.

:no:

24 Jul 2010, 7:10 PM
#5
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

Re: pop up image

There has to be a fix, must be simple to fix or make not show up in that section...