Guest Posted August 19, 2005 Share Posted August 19, 2005 how do you add a scroll bar to the popup image window? There was an article on it, but that did not work: http://www.cubecart.com/site/forums/index....=9490&hl=pop+up this shows a popup with a scroll bar, but when i pasted in the code, there was not scroll bar for a large picute. any help with this? thank-you, Ned Quote Link to comment Share on other sites More sharing options...
Guest Posted August 19, 2005 Share Posted August 19, 2005 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted August 22, 2005 Share Posted August 22, 2005 when i changed the script to what you have suggested, i get "error on page" and no popup window comes up. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 9, 2005 Share Posted September 9, 2005 Mobie where are you my friend? we need your help!!! Quote Link to comment Share on other sites More sharing options...
Guest Posted September 9, 2005 Share Posted September 9, 2005 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted September 9, 2005 Share Posted September 9, 2005 (edited) 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 September 9, 2005 by CubeCarter Quote Link to comment Share on other sites More sharing options...
Guest Posted September 10, 2005 Share Posted September 10, 2005 (edited) 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 September 10, 2005 by Mobie Quote Link to comment Share on other sites More sharing options...
Guest Posted September 10, 2005 Share Posted September 10, 2005 you're the MAN Mobie Appreciated a lot buddy <_< Quote Link to comment Share on other sites More sharing options...
Guest Posted September 10, 2005 Share Posted September 10, 2005 np, yw Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.