mmeachm
asked on
Add a scrollbar to this php/java popup code
I need to add scrollbars to the script below
<script language="javascript"><!--
var i=0;
function resize() {
if (navigator.appName == 'Netscape') i=40;
if (document.images[0]) window.resizeTo(document.images[0].width +30, document.images[0].height+60+i);
self.focus();
}
//--></script>
ASKER
When I add this snippit: window.scrollbars.visible = true; the window either fails to open at all, or doesn't have scrollbars.
ASKER
It appears the box size matches the image size, which may mean IE and FF don't add the scrollbars. The problem is the image size is larger than screen view in some cases, so there is no way to view it all without scrollbars. I hope this makes a bit more sense.
This code fragment is from osCommerce popup.php.
This code fragment is from osCommerce popup.php.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window