Jump to content

how do you add a scroll bar


Guest

Recommended Posts

Change this piece of code:

<div style="text-align: center;"><a href="javascript:openPopUp('extra/prodImages.php?productId={PRODUCT_ID}', 'images', 638, 478, 0);" class="txtDefault">{LANG_MORE_IMAGES}</a></div>

Change it with this:

<div style="text-align: center;"><a href="java script:openPopUp('extra/prodImages.php?productId={PRODUCT_ID}', 'images', 638, 478, 0, directories=no,menubar=no,toolbar=no,scrollbars=yes,resizable=no);" class="txtDefault">{LANG_MORE_IMAGES}</a></div>

Change the values in red to accomodate your style

Link to comment
Share on other sites

  • 3 weeks later...

Mobie where are you my friend?  <_<  we need your help!!!

Ok....

Forget what I said... get the old code back and make an easy change:

<div style="text-align: center;"><a href="java script:openPopUp('extra/prodImages.php?productId={PRODUCT_ID}', 'images', 638, 478, 0);" class="txtDefault">{LANG_MORE_IMAGES}</a></div>

Try changing this 0 into a 1

Link to comment
Share on other sites

1 - enable scroll bar on the right. No matter how big the image is, the full size only shows 400x400pixels.

Mobie, do you know what caused it?

Thanks a lot buddy

Edited by CubeCarter
Link to comment
Share on other sites

What r u trying to do here... im lost... do u want the scrollbar or not? do u want to resize the popup window? do you want to have the image shown at full size instead of capped at 400.....?? is it capping at 400?

I'm trying to help here and am not fully classified as i have not worked with cc3 yet.. however for you guess i'll start digging in lol

let me know and i'll c if i can be of more help

EDIT:

I just took a quick look and from what i can find the image is capped at 400, here is where u can change it:

Open up popup.css in \skins\{YOUR SKIN DIR}\styleSheetsand look for

#divMainImg {

	float: left; 

	width: 400px; 

	height: 400px;

	text-align: center;

	overflow: hidden;

	margin-bottom: 5px;

}

And change the numbers 400 into something you like better......

Edited by Mobie
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...