driftwood Posted July 2, 2003 Posted July 2, 2003 Please forgive me if this has been covered somewhere else, I've searched the forum and found nothing relating to it but it seems a edit which some people might want to do so I'm surprised if it's not come up here before. popup_image.php - this is the page which opens when the shopper clicks on "enlarge image" in the product window. Problem - I wish to include a few lines of text on this page telling the shopper that the image has been optimised and may not show the item at it's best. When I edit this page the window does not open enough to show the full text. Can anyone point me to a setting which will allow a bit more space around the image so that this text will show in full ? Thanks for reading. ----------------------------------------------------------------------------- OSC user for years and no coder, so I've earned my stripes. Feel free to private message me.
TaFfin Posted July 2, 2003 Posted July 2, 2003 The +30 and +60 do the trick in popup_image.php window.resizeTo(document.images[0].width +30, document.images[0].height+60-i) The window takes the size of the image + the added value. Regards, TaFfin. SIGnificant.....right?
driftwood Posted July 2, 2003 Author Posted July 2, 2003 Thanks for that, I must have been struck by a sudden blindness and I search the file for just that sort of command. ----------------------------------------------------------------------------- OSC user for years and no coder, so I've earned my stripes. Feel free to private message me.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.