Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

hi could any one tell me please how can i edit popup_image.php page.

my image is bigger than page. i want to put scrollbar on this page.

could anyon help me?

 

also i want to if it is possible, to give option to zoom the image.

 

zoom out and zoom in?

thank you

  • 6 months later...
Posted
hi could any one tell me please how can i edit popup_image.php page.

my image is bigger than page. i want to put scrollbar on this page.

could anyon help me?

 

also i want to if it is possible, to give option to zoom the image.

 

zoom out and zoom in?

thank you

 

open up your shop using an FTP program, browse through your files untill you find popup_image.php i belive this is in the 'includes' folder.

 

Copy the popup_image.php file onto your desktop so you can work on it. Open it in notepad or similar

 

On around line 27 you'll find the following:

<script language="javascript"><!--

function popupWindow(url) {

window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res

izable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,l

eft=150')

}

//--></script>

 

change scrollbars=no to scrollbars=yes

 

As for zoom in and out, take a look here: http://www.oscommerce.com/community/contri...ons,4392/page,9

 

Hope this helps,

 

Dan

www.ByteBox.co.uk

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...